diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2016-10-05 17:39:03 -0700 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2016-10-07 11:11:15 -0700 |
commit | a48a999f771f52e39bce7c2b5c537df1cbc99189 (patch) | |
tree | d49340e55e64fea6fa4e32d126de4006b7247df1 /dev-python/pytest-cov/files | |
parent | dev-python/sphinx-py3doc-enhanced-theme: New package, new dep of dev-python/p... (diff) | |
download | gentoo-a48a999f771f52e39bce7c2b5c537df1cbc99189.tar.gz gentoo-a48a999f771f52e39bce7c2b5c537df1cbc99189.tar.bz2 gentoo-a48a999f771f52e39bce7c2b5c537df1cbc99189.zip |
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
Diffstat (limited to 'dev-python/pytest-cov/files')
-rw-r--r-- | dev-python/pytest-cov/files/fix-for-deprecation-warnings.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-python/pytest-cov/files/fix-for-deprecation-warnings.patch b/dev-python/pytest-cov/files/fix-for-deprecation-warnings.patch new file mode 100644 index 000000000000..a555ca53fc91 --- /dev/null +++ b/dev-python/pytest-cov/files/fix-for-deprecation-warnings.patch @@ -0,0 +1,16 @@ +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 + |