Skip to content

Commit

Permalink
Adapt tests for PY3
Browse files Browse the repository at this point in the history
Result return by subprocess is in bytes in PY3.
Works also in PY2.
  • Loading branch information
wazari972 committed Oct 4, 2015
1 parent fd85485 commit d9e4b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_asyncproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ def __del__(self):
output = subprocess.check_output([sys.executable, "-Ec", code],
stderr=subprocess.STDOUT)

assert 'Exception TypeError' not in output
assert 'Exception TypeError' not in output.decode("ascii")

0 comments on commit d9e4b21

Please sign in to comment.