From 533f4cc10cf95933c532bac78e60bed38001ee52 Mon Sep 17 00:00:00 2001 From: Jeffrey Rackauckas Date: Sat, 30 Jun 2018 21:36:27 -0700 Subject: [PATCH] Fix test to pass --- testing/test_pdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/test_pdb.py b/testing/test_pdb.py index 7bb19d20f..c7f542c26 100644 --- a/testing/test_pdb.py +++ b/testing/test_pdb.py @@ -702,7 +702,7 @@ class TestTraceOption(): p1 = testdir.makepyfile( """ def test_1(): - assert 1 + assert True """ ) child = testdir.spawn_pytest("--trace " + str(p1)) @@ -710,6 +710,6 @@ class TestTraceOption(): child.expect("(Pdb)") child.sendeof() rest = child.read().decode("utf8") - assert "1 failed" in rest + assert "1 passed" in rest assert "reading from stdin while output" not in rest TestPDB.flush(child) \ No newline at end of file