aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-parameterized/fix-tests.patch
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2020-04-13 20:22:09 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2020-04-13 20:22:09 +0000
commitcbbe941e0ad0f69227f538fef9d68e7b49e7fd9d (patch)
treec7fa284599970817b90d19d49e1d08a12d018505 /testing/py3-parameterized/fix-tests.patch
parent2e9a83f9236235a8343ca6c3d9b53d30c27b692d (diff)
downloadaports-cbbe941e0ad0f69227f538fef9d68e7b49e7fd9d.tar.bz2
aports-cbbe941e0ad0f69227f538fef9d68e7b49e7fd9d.tar.xz
testing/py3-parameterized: fix unittests
Diffstat (limited to 'testing/py3-parameterized/fix-tests.patch')
-rw-r--r--testing/py3-parameterized/fix-tests.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/py3-parameterized/fix-tests.patch b/testing/py3-parameterized/fix-tests.patch
new file mode 100644
index 0000000000..64d8923491
--- /dev/null
+++ b/testing/py3-parameterized/fix-tests.patch
@@ -0,0 +1,12 @@
+diff --git a/parameterized/test.py b/parameterized/test.py
+index 770cab8..c263ded 100644
+--- a/parameterized/test.py
++++ b/parameterized/test.py
+@@ -251,6 +251,7 @@ class TestParameterizedExpandDocstring(TestCase):
+ f_locals.get("testMethod") or # Py27
+ f_locals.get("function") or # Py33
+ f_locals.get("method") or # Py38
++ f_locals.get("testfunction") or # Py382
+ None
+ )
+ if test_method is None: