From b079dc2dbeb5f117de8c18e41a25cf44531f6bb2 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 23 Oct 2019 04:13:37 +0200 Subject: [PATCH] Fix test_doctest_set_trace_quit on features --- 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 53475078e..fbf344807 100644 --- a/testing/test_pdb.py +++ b/testing/test_pdb.py @@ -506,7 +506,7 @@ class TestPDB: rest = child.read().decode("utf8") assert "! _pytest.outcomes.Exit: Quitting debugger !" in rest - assert "= no tests ran in" in rest + assert "= \x1b[33mno tests ran\x1b[0m\x1b[33m in" in rest assert "BdbQuit" not in rest assert "UNEXPECTED EXCEPTION" not in rest