1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Description: Fix tests
Author: Ondřej Nový <onovy@debian.org>
Forwarded: not-needed
--- a/test_pytest_timeout.py
+++ b/test_pytest_timeout.py
@@ -131,7 +131,7 @@
# assert 'Timeout' in result.stdout.str() + result.stderr.str()
-@pytest.mark.parametrize("meth", [pytest.param("signal", marks=have_sigalrm), "thread"])
+@pytest.mark.parametrize("meth", ["thread"])
@pytest.mark.parametrize("scope", ["function", "class", "module", "session"])
def test_fix_setup(meth, scope, testdir):
testdir.makepyfile(
@@ -176,7 +176,7 @@
assert "Timeout" not in result.stdout.str() + result.stderr.str()
-@pytest.mark.parametrize("meth", [pytest.param("signal", marks=have_sigalrm), "thread"])
+@pytest.mark.parametrize("meth", ["thread"])
@pytest.mark.parametrize("scope", ["function", "class", "module", "session"])
def test_fix_finalizer(meth, scope, testdir):
testdir.makepyfile(
|