You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/betamax/files/betamax-0.8.1-tests.patch

21 lines
867 B

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()