aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-parameterized/tests-Update-unittest-local-variable-name-for-Python-3.8.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-13 09:26:22 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-13 15:40:22 +0000
commit5ca3bed1a4283337c4d20a70b6f7c1026cba99c0 (patch)
treeef399d5789265d38d9fae9565a8d2b1190ea8648 /testing/py3-parameterized/tests-Update-unittest-local-variable-name-for-Python-3.8.patch
parent2f69493d47a744f496684307ce6107557ea71bcb (diff)
downloadaports-5ca3bed1a4283337c4d20a70b6f7c1026cba99c0.tar.bz2
aports-5ca3bed1a4283337c4d20a70b6f7c1026cba99c0.tar.xz
testing/py3-parameterized: upgrade to 0.7.3
Diffstat (limited to 'testing/py3-parameterized/tests-Update-unittest-local-variable-name-for-Python-3.8.patch')
-rw-r--r--testing/py3-parameterized/tests-Update-unittest-local-variable-name-for-Python-3.8.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/testing/py3-parameterized/tests-Update-unittest-local-variable-name-for-Python-3.8.patch b/testing/py3-parameterized/tests-Update-unittest-local-variable-name-for-Python-3.8.patch
deleted file mode 100644
index c41c072071..0000000000
--- a/testing/py3-parameterized/tests-Update-unittest-local-variable-name-for-Python-3.8.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 1842e2038ae123e16601e083a553fe931f34fbd0 Mon Sep 17 00:00:00 2001
-From: Petr Viktorin <encukou@gmail.com>
-Date: Fri, 21 Jun 2019 15:36:25 +0200
-Subject: [PATCH] tests: Update unittest local variable name for Python 3.8
-
----
- parameterized/test.py | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/parameterized/test.py b/parameterized/test.py
-index 5e506f5..6b8e4d2 100644
---- a/parameterized/test.py
-+++ b/parameterized/test.py
-@@ -252,7 +252,8 @@ def _assert_docstring(self, expected_docstring, rstrip=False):
- f_locals = stack[3][0].f_locals
- test_method = (
- f_locals.get("testMethod") or # Py27
-- f_locals.get("function") # Py33
-+ f_locals.get("function") or # Py33
-+ f_locals.get("method") # Py38
- )
- if test_method is None:
- raise AssertionError("uh oh, unittest changed a local variable name")