diff options
author | holger krekel <holger@merlinux.eu> | 2015-04-27 15:06:47 +0200 |
---|---|---|
committer | holger krekel <holger@merlinux.eu> | 2015-04-27 15:06:47 +0200 |
commit | 424e5d13947c79fff2e945332df0d876670e373b (patch) | |
tree | 1a0e3a3a5b0276c9ea923e25bcf7089e7401c86c /testing/test_nose.py | |
parent | 2d8f115d8ce2e34e3f88147ac4dad63a7bace20e (diff) | |
download | pytest-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.py | 4 |
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): |