diff options
author | William Lee <wl1012@yahoo.com> | 2018-02-23 22:31:11 -0600 |
---|---|---|
committer | William Lee <wl1012@yahoo.com> | 2018-02-23 22:31:11 -0600 |
commit | f4cc45bb41b29f1aeab61dc3c3219d1e1baadc66 (patch) | |
tree | f16d0ad99b95ffd57d99c32d2441cbb05cccebed /testing/test_doctest.py | |
parent | 7f2dd74ae9ba23cc8c8a33e933b87df9bf708be0 (diff) | |
download | pytest-f4cc45bb41b29f1aeab61dc3c3219d1e1baadc66.tar.gz |
Turn on the continue on failure only when the flag is given
Diffstat (limited to 'testing/test_doctest.py')
-rw-r--r-- | testing/test_doctest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_doctest.py b/testing/test_doctest.py index 931279820..314398395 100644 --- a/testing/test_doctest.py +++ b/testing/test_doctest.py @@ -767,7 +767,7 @@ class TestDoctestSkips(object): 7 >>> i + 1 """) - result = testdir.runpytest("--doctest-modules") + result = testdir.runpytest("--doctest-modules", "--doctest-continue-on-failure") result.assert_outcomes(passed=0, failed=1) # The lines that contains the failure are 4, 5, and 8. The first one # is a stack trace and the other two are mismatches. |