From e8a3d1adf2c2688e01e0eaff2110df0d8fc5acd6 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Thu, 7 Nov 2019 11:48:51 +0100 Subject: [PATCH] Fix test_trace_with_parametrize_handles_shared_fixtureinfo for colors --- testing/test_pdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_pdb.py b/testing/test_pdb.py index 718a463ed..25d2292e9 100644 --- a/testing/test_pdb.py +++ b/testing/test_pdb.py @@ -1086,7 +1086,7 @@ class TestTraceOption: child.sendline("c") child.expect_exact("> PDB continue (IO-capturing resumed) >") rest = child.read().decode("utf8") - assert "6 passed in" in rest + assert "= \x1b[32m\x1b[1m6 passed\x1b[0m\x1b[32m in" in rest assert "reading from stdin while output" not in rest # Only printed once - not on stderr. assert "Exit: Quitting debugger" not in child.before.decode("utf8")