Browse Source

Merge #7878: [test] bctest.py: Revert faa41ee

fa7abe0 [test] bctest.py: Revert faa41ee (MarcoFalke)
0.13
Wladimir J. van der Laan 9 years ago
parent
commit
53adc8310d
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 3
      src/test/bctest.py

3
src/test/bctest.py

@ -2,7 +2,6 @@
# Distributed under the MIT software license, see the accompanying # Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php. # file COPYING or http://www.opensource.org/licenses/mit-license.php.
from __future__ import division,print_function,unicode_literals from __future__ import division,print_function,unicode_literals
from io import open
import subprocess import subprocess
import os import os
import json import json
@ -17,7 +16,7 @@ def bctest(testDir, testObj, exeext):
inputData = None inputData = None
if "input" in testObj: if "input" in testObj:
filename = testDir + "/" + testObj['input'] filename = testDir + "/" + testObj['input']
inputData = open(filename, 'rb').read() inputData = open(filename).read()
stdinCfg = subprocess.PIPE stdinCfg = subprocess.PIPE
outputFn = None outputFn = None

Loading…
Cancel
Save