Accepting request 854170 from home:bnavigator:branches:devel:languages:python:pytest

- Fix test failure gh#astropy/pytest-filter-subpackage#3
  fix-doctestplus-count.patch

OBS-URL: https://build.opensuse.org/request/show/854170
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-filter-subpackage?expand=0&rev=3
This commit is contained in:
2020-12-09 11:53:24 +00:00
committed by Git OBS Bridge
parent f847a398f0
commit c1cdfe06eb
3 changed files with 27 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
Index: pytest-filter-subpackage-0.1.1/tests/test_filter_subpackage.py
===================================================================
--- pytest-filter-subpackage-0.1.1.orig/tests/test_filter_subpackage.py
+++ pytest-filter-subpackage-0.1.1/tests/test_filter_subpackage.py
@@ -14,7 +14,7 @@ def test_with_rst(testdir, testpackage):
doctest_plus = enabled
""")
reprec = testdir.inline_run('--doctest-rst')
- reprec.assertoutcome(passed=8, failed=3)
+ reprec.assertoutcome(passed=7, failed=3)
def test_flag_single_subpackage(testdir, testpackage):