Fix test to pass

This commit is contained in:
Jeffrey Rackauckas 2018-06-30 21:36:27 -07:00
parent a46b94950c
commit 533f4cc10c
1 changed files with 2 additions and 2 deletions

View File

@ -702,7 +702,7 @@ class TestTraceOption():
p1 = testdir.makepyfile( p1 = testdir.makepyfile(
""" """
def test_1(): def test_1():
assert 1 assert True
""" """
) )
child = testdir.spawn_pytest("--trace " + str(p1)) child = testdir.spawn_pytest("--trace " + str(p1))
@ -710,6 +710,6 @@ class TestTraceOption():
child.expect("(Pdb)") child.expect("(Pdb)")
child.sendeof() child.sendeof()
rest = child.read().decode("utf8") rest = child.read().decode("utf8")
assert "1 failed" in rest assert "1 passed" in rest
assert "reading from stdin while output" not in rest assert "reading from stdin while output" not in rest
TestPDB.flush(child) TestPDB.flush(child)