diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-04-15 07:55:39 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-04-15 07:56:07 +0200 |
commit | 53adc8310da32484e7b5be2070c2120acb17fddd (patch) | |
tree | bc5590526cfb754a32c5c717a07fefe2929287d4 /src/test | |
parent | e6a4d48a9bff0bdbcca3a13de59b5e6e683a6aac (diff) | |
parent | fa7abe0a00464e6aa88d55c63dba40878bbe5b79 (diff) |
Merge #7878: [test] bctest.py: Revert faa41ee
fa7abe0 [test] bctest.py: Revert faa41ee (MarcoFalke)
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/bctest.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/bctest.py b/src/test/bctest.py index fc59152ba1..8105b87ffa 100644 --- a/src/test/bctest.py +++ b/src/test/bctest.py @@ -2,7 +2,6 @@ # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. from __future__ import division,print_function,unicode_literals -from io import open import subprocess import os import json @@ -17,7 +16,7 @@ def bctest(testDir, testObj, exeext): inputData = None if "input" in testObj: filename = testDir + "/" + testObj['input'] - inputData = open(filename, 'rb').read() + inputData = open(filename).read() stdinCfg = subprocess.PIPE outputFn = None |