diff options
author | 2019-11-21 23:00:55 -0800 | |
---|---|---|
committer | 2019-11-21 23:00:55 -0800 | |
commit | c4e0bd8268986a0a17abfda3735705431c746d54 (patch) | |
tree | 31bcba7d99658ca16779d9bd2f4d8ca2d46a6362 /dev-python/pytest-timeout/files | |
parent | media-libs/mesa: Drop old versions (diff) | |
download | gentoo-c4e0bd8268986a0a17abfda3735705431c746d54.tar.gz gentoo-c4e0bd8268986a0a17abfda3735705431c746d54.tar.bz2 gentoo-c4e0bd8268986a0a17abfda3735705431c746d54.zip |
dev-python/pytest-timeout: Version bump to 0.5.0, add py38
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/pytest-timeout/files')
-rw-r--r-- | dev-python/pytest-timeout/files/pytest-timeout-1.3.3-tests.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/pytest-timeout/files/pytest-timeout-1.3.3-tests.patch b/dev-python/pytest-timeout/files/pytest-timeout-1.3.3-tests.patch new file mode 100644 index 000000000000..d3fa9ca0fd34 --- /dev/null +++ b/dev-python/pytest-timeout/files/pytest-timeout-1.3.3-tests.patch @@ -0,0 +1,25 @@ +diff -ur pytest-timeout-1.3.3.orig/test_pytest_timeout.py pytest-timeout-1.3.3/test_pytest_timeout.py +--- pytest-timeout-1.3.3.orig/test_pytest_timeout.py 2018-11-16 03:41:33.000000000 -0800 ++++ pytest-timeout-1.3.3/test_pytest_timeout.py 2019-11-21 22:34:08.429287370 -0800 +@@ -1,4 +1,5 @@ + import os ++import platform + import os.path + import signal + import time +@@ -93,6 +94,6 @@ + # assert 'Timeout' in result.stdout.str() + result.stderr.str() + + +-@pytest.mark.parametrize('meth', [have_sigalrm('signal'), 'thread']) ++@pytest.mark.parametrize('meth', [pytest.param('signal', marks=have_sigalrm), 'thread']) + @pytest.mark.parametrize('scope', ['function', 'class', 'module', 'session']) + def test_fix_setup(meth, scope, testdir): +@@ -133,6 +134,6 @@ + assert 'Timeout' not in result.stdout.str() + result.stderr.str() + + +-@pytest.mark.parametrize('meth', [have_sigalrm('signal'), 'thread']) ++@pytest.mark.parametrize('meth', [pytest.param('signal', marks=have_sigalrm), 'thread']) + @pytest.mark.parametrize('scope', ['function', 'class', 'module', 'session']) + def test_fix_finalizer(meth, scope, testdir): |