fix test on py33, thanks msabramo1

This commit is contained in:
holger krekel 2014-04-02 20:49:57 +02:00
parent 68e58e1493
commit e6859406f1
1 changed files with 1 additions and 1 deletions

View File

@ -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()