summaryrefslogtreecommitdiff
path: root/dev-python/betamax/files/betamax-0.8.1-tests.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
commit7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch)
tree4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /dev-python/betamax/files/betamax-0.8.1-tests.patch
parentb284a3168fa91a038925d2ecf5e4791011ea5e7d (diff)
gentoo resync : 15.12.2019
Diffstat (limited to 'dev-python/betamax/files/betamax-0.8.1-tests.patch')
-rw-r--r--dev-python/betamax/files/betamax-0.8.1-tests.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-python/betamax/files/betamax-0.8.1-tests.patch b/dev-python/betamax/files/betamax-0.8.1-tests.patch
new file mode 100644
index 000000000000..19da7d108efd
--- /dev/null
+++ b/dev-python/betamax/files/betamax-0.8.1-tests.patch
@@ -0,0 +1,20 @@
+diff --git a/tests/unit/test_fixtures.py b/tests/unit/test_fixtures.py
+index 387d9ce..f0bdc3b 100644
+--- a/tests/unit/test_fixtures.py
++++ b/tests/unit/test_fixtures.py
+@@ -23,6 +23,7 @@ class TestPyTestFixture(unittest.TestCase):
+ def tearDown(self):
+ self.patched_betamax.stop()
+
++ @pytest.mark.skip(reason="broken with newer pytest version")
+ def test_adds_stop_as_a_finalizer(self):
+ # Mock a pytest request object
+ request = mock.MagicMock()
+@@ -33,6 +34,7 @@ class TestPyTestFixture(unittest.TestCase):
+ assert request.addfinalizer.called is True
+ request.addfinalizer.assert_called_once_with(self.mocked_betamax.stop)
+
++ @pytest.mark.skip(reason="broken with newer pytest version")
+ def test_auto_starts_the_recorder(self):
+ # Mock a pytest request object
+ request = mock.MagicMock()