diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-03-28 19:32:39 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-03-28 19:48:26 +0100 |
commit | 84c5be23e827cd487c484f647308f1d521e86382 (patch) | |
tree | 0820a3e7f5068aa6f5250c7edccba1c5ecb9190b /dev-python/pytest-cov/files | |
parent | dev-python/pytest-cov: Stabilize 2.8.1 ALLARCHES (diff) | |
download | gentoo-84c5be23e827cd487c484f647308f1d521e86382.tar.gz gentoo-84c5be23e827cd487c484f647308f1d521e86382.tar.bz2 gentoo-84c5be23e827cd487c484f647308f1d521e86382.zip |
dev-python/pytest-cov: Remove redundant versions
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytest-cov/files')
-rw-r--r-- | dev-python/pytest-cov/files/fix-for-deprecation-warnings.patch | 16 | ||||
-rw-r--r-- | dev-python/pytest-cov/files/pytest-cov-2.6.1-disable-broken-tests.patch | 22 |
2 files changed, 0 insertions, 38 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 deleted file mode 100644 index a555ca53fc91..000000000000 --- a/dev-python/pytest-cov/files/fix-for-deprecation-warnings.patch +++ /dev/null @@ -1,16 +0,0 @@ -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 - diff --git a/dev-python/pytest-cov/files/pytest-cov-2.6.1-disable-broken-tests.patch b/dev-python/pytest-cov/files/pytest-cov-2.6.1-disable-broken-tests.patch deleted file mode 100644 index 1d8e36b451b2..000000000000 --- a/dev-python/pytest-cov/files/pytest-cov-2.6.1-disable-broken-tests.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py -index 2896ac9..5f753e8 100644 ---- a/tests/test_pytest_cov.py -+++ b/tests/test_pytest_cov.py -@@ -699,7 +699,7 @@ parallel = true - assert result.ret == 0 - - --def test_central_subprocess_change_cwd_with_pythonpath(testdir, monkeypatch): -+def xtest_central_subprocess_change_cwd_with_pythonpath(testdir, monkeypatch): - stuff = testdir.mkdir('stuff') - parent_script = stuff.join('parent_script.py') - parent_script.write(SCRIPT_PARENT_CHANGE_CWD_IMPORT_CHILD) -@@ -829,7 +829,7 @@ def test_invalid_coverage_source(testdir): - - - @pytest.mark.skipif("'dev' in pytest.__version__") --def test_dist_missing_data(testdir): -+def xtest_dist_missing_data(testdir): - venv_path = os.path.join(str(testdir.tmpdir), 'venv') - virtualenv.create_environment(venv_path) - if sys.platform == 'win32': |