diff options
author | Daniel Hahler <git@thequod.de> | 2020-01-21 12:26:29 +0100 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2020-01-23 10:45:31 +0100 |
commit | 1350c601dcf013ae773233206ac1912093dddad9 (patch) | |
tree | 8903408aa0e6276f3cbf5d4f4f54e117df61717c /testing | |
parent | ef112fd7dd8ee220865f7569c0ecc4fa5eb24464 (diff) | |
download | pytest-1350c601dcf013ae773233206ac1912093dddad9.tar.gz |
Node.location: handle str with _node_location_to_relpath
Diffstat (limited to 'testing')
-rw-r--r-- | testing/test_nose.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/test_nose.py b/testing/test_nose.py index 15be7b73a..b6200c6c9 100644 --- a/testing/test_nose.py +++ b/testing/test_nose.py @@ -395,9 +395,12 @@ def test_raises(testdir): raise BaseException """ ) - result = testdir.runpytest() + result = testdir.runpytest("-vv") result.stdout.fnmatch_lines( [ + "test_raises.py::test_raises_runtimeerror PASSED*", + "test_raises.py::test_raises_baseexception_not_caught FAILED*", + "test_raises.py::test_raises_baseexception_caught PASSED*", "*= FAILURES =*", "*_ test_raises_baseexception_not_caught _*", "", |