summaryrefslogtreecommitdiff
path: root/testing/test_nose.py
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2020-01-21 12:26:29 +0100
committerDaniel Hahler <git@thequod.de>2020-01-23 10:45:31 +0100
commit1350c601dcf013ae773233206ac1912093dddad9 (patch)
tree8903408aa0e6276f3cbf5d4f4f54e117df61717c /testing/test_nose.py
parentef112fd7dd8ee220865f7569c0ecc4fa5eb24464 (diff)
downloadpytest-1350c601dcf013ae773233206ac1912093dddad9.tar.gz
Node.location: handle str with _node_location_to_relpath
Diffstat (limited to 'testing/test_nose.py')
-rw-r--r--testing/test_nose.py5
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 _*",
"",