summaryrefslogtreecommitdiff
path: root/testing/test_nose.py
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-03-23 11:36:18 +0100
committerDaniel Hahler <git@thequod.de>2019-03-23 11:36:18 +0100
commit08f3b02dfcfe8f0b41a5c8deb66c897e99196c50 (patch)
tree14eec90af1e86621e18837cba9b0a59fb94b1c87 /testing/test_nose.py
parent15d608867dfa0fea5de4d9385dd2da8191ec0b8c (diff)
downloadpytest-08f3b02dfcfe8f0b41a5c8deb66c897e99196c50.tar.gz
tests: fnmatch_lines: use list
For strings fnmatch_lines converts it into a Source objects, splitted on newlines. This is not necessary here, and it is more consistent to use lists here in the first place.
Diffstat (limited to 'testing/test_nose.py')
-rw-r--r--testing/test_nose.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_nose.py b/testing/test_nose.py
index 6f3d292dd..2fe49177a 100644
--- a/testing/test_nose.py
+++ b/testing/test_nose.py
@@ -380,4 +380,4 @@ def test_skip_test_with_unicode(testdir):
"""
)
result = testdir.runpytest()
- result.stdout.fnmatch_lines("* 1 skipped *")
+ result.stdout.fnmatch_lines(["* 1 skipped *"])