Files
gentoo/dev-python/pytest-cov/files/fix-for-deprecation-warnings.patch
Brian Dolbec a48a999f77 dev-python/pytest-cov: Version bump, adds a new pkg dep
New dep added: dev-python/sphinx-pydoc-enhanced-theme
The new dep is the reason for the keywords being dropped.

Package-Manager: portage-2.3.1_p8
2016-10-07 11:11:15 -07:00

17 lines
678 B
Diff

diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py
index 6cbf341..614e53c 100644
--- a/tests/test_pytest_cov.py
+++ b/tests/test_pytest_cov.py
@@ -337,7 +337,10 @@ def test_central_nonspecific(testdir):
])
# multi-module coverage report
- assert any(line.startswith('TOTAL ') for line in result.stdout.lines[-4:])
+ # Fix test failure due to pytest deprecation warnings being
+ # added to the expected output. Look in entire output lines instead.
+ # assert any(line.startswith('TOTAL ') for line in result.stdout.lines[-4:])
+ assert any(line.startswith('TOTAL ') for line in result.stdout.lines[-10:])
assert result.ret == 0