aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-parameterized/fix-tests.patch
diff options
context:
space:
mode:
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: