summaryrefslogtreecommitdiff
path: root/testing/test_nose.py
diff options
context:
space:
mode:
authorholger krekel <holger@merlinux.eu>2015-04-27 15:06:47 +0200
committerholger krekel <holger@merlinux.eu>2015-04-27 15:06:47 +0200
commit424e5d13947c79fff2e945332df0d876670e373b (patch)
tree1a0e3a3a5b0276c9ea923e25bcf7089e7401c86c /testing/test_nose.py
parent2d8f115d8ce2e34e3f88147ac4dad63a7bace20e (diff)
downloadpytest-424e5d13947c79fff2e945332df0d876670e373b.tar.gz
make test suite more tolerable against xdist causing warnings itself (which it does
currently) --HG-- branch : plugtestfix
Diffstat (limited to 'testing/test_nose.py')
-rw-r--r--testing/test_nose.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/testing/test_nose.py b/testing/test_nose.py
index fac7a5d93..af878da78 100644
--- a/testing/test_nose.py
+++ b/testing/test_nose.py
@@ -339,9 +339,7 @@ def test_SkipTest_during_collection(testdir):
assert False
""")
result = testdir.runpytest(p)
- outcome = result.parseoutcomes()
- outcome.pop('seconds')
- assert outcome == dict(skipped=1)
+ result.assertoutcome(skipped=1)
def test_SkipTest_in_test(testdir):