fix test on py33, thanks msabramo1
This commit is contained in:
parent
68e58e1493
commit
e6859406f1
|
@ -1017,7 +1017,7 @@ def test_close_and_capture_again(testdir):
|
||||||
def test_close():
|
def test_close():
|
||||||
os.close(1)
|
os.close(1)
|
||||||
def test_capture_again():
|
def test_capture_again():
|
||||||
os.write(1, "hello\\n")
|
os.write(1, b"hello\\n")
|
||||||
assert 0
|
assert 0
|
||||||
""")
|
""")
|
||||||
result = testdir.runpytest()
|
result = testdir.runpytest()
|
||||||
|
|
Loading…
Reference in New Issue