From cbbe941e0ad0f69227f538fef9d68e7b49e7fd9d Mon Sep 17 00:00:00 2001 From: Kevin Daudt Date: Mon, 13 Apr 2020 20:22:09 +0000 Subject: testing/py3-parameterized: fix unittests --- testing/py3-parameterized/fix-tests.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 testing/py3-parameterized/fix-tests.patch (limited to 'testing/py3-parameterized/fix-tests.patch') 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: -- cgit v1.2.3