diff options
author | Quentin Pradet <quentin@clustree.com> | 2016-03-22 15:26:56 +0400 |
---|---|---|
committer | Quentin Pradet <quentin@clustree.com> | 2016-03-22 16:01:51 +0400 |
commit | 653a53226ac58e4e5482baf4a037054c7fb5998a (patch) | |
tree | c86fa8a89848e609adb4966bb1cb39a894bdf1f0 /testing/test_skipping.py | |
parent | 1fbd19b8cb20d100d608f7c593732fa945401329 (diff) | |
download | pytest-653a53226ac58e4e5482baf4a037054c7fb5998a.tar.gz |
Add strict parameter to xfail marker doc
Diffstat (limited to 'testing/test_skipping.py')
-rw-r--r-- | testing/test_skipping.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_skipping.py b/testing/test_skipping.py index b872c8b6e..194c8692b 100644 --- a/testing/test_skipping.py +++ b/testing/test_skipping.py @@ -825,7 +825,7 @@ def test_default_markers(testdir): result = testdir.runpytest("--markers") result.stdout.fnmatch_lines([ "*skipif(*condition)*skip*", - "*xfail(*condition, reason=None, run=True, raises=None)*expected failure*", + "*xfail(*condition, reason=None, run=True, raises=None, strict=False)*expected failure*", ]) def test_xfail_test_setup_exception(testdir): |