Skip to content

Commit 09cae76

Browse files
c0llab0rat0rntninja
authored andcommitted
Remove Python 3.5 conditional from run_tests.py
1 parent 6524062 commit 09cae76

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

test/run-tests.py

+3-5
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,9 @@ def _contextlib_suppress(*exceptions):
7474
# Start daemon #
7575
################
7676

77-
extra_args = {}
78-
if sys.version_info >= (3, 6, 0):
79-
extra_args["encoding"] = locale.getpreferredencoding()
80-
else: #PY35: `subprocess.Popen` encoding parameter missing
81-
extra_args["universal_newlines"] = True
77+
extra_args = {
78+
"encoding": locale.getpreferredencoding()
79+
}
8280

8381
# Spawn IPFS daemon in data directory
8482
print("Starting IPFS daemon on {0}…".format(ADDR), file=sys.stderr)

0 commit comments

Comments
 (0)