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
@@ -128,7 +128,7 @@ def test_timeout_env(pytester, monkeypat
# 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, pytester):
pytester.makepyfile(
@@ -173,7 +173,7 @@ def test_fix_setup_func_only(pytester):
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, pytester):
pytester.makepyfile(
|