Merge pull request #6046 from blueyed/fix-features

Fix test_doctest_set_trace_quit on features
This commit is contained in:
Daniel Hahler 2019-10-23 04:32:10 +02:00 committed by GitHub
commit f0c2b070c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ class TestPDB:
rest = child.read().decode("utf8") rest = child.read().decode("utf8")
assert "! _pytest.outcomes.Exit: Quitting debugger !" in rest 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 "BdbQuit" not in rest
assert "UNEXPECTED EXCEPTION" not in rest assert "UNEXPECTED EXCEPTION" not in rest