Commit dd1eff46 authored by Leo's avatar Leo
Browse files

testing/py3-parameterized: upgrade to 0.7.4

parent 541ababf
Pipeline #14507 failed with stages
in 34 seconds
......@@ -2,7 +2,7 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=py3-parameterized
_pkgname=parameterized
pkgver=0.7.3
pkgver=0.7.4
pkgrel=0
pkgdesc="Parameterized testing with any Python test framework"
url="https://github.com/wolever/parameterized"
......@@ -11,9 +11,7 @@ license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-nose py3-mock py3-pytest"
source="https://files.pythonhosted.org/packages/source/p/parameterized/parameterized-$pkgver.tar.gz
fix-tests.patch
"
source="https://files.pythonhosted.org/packages/source/p/parameterized/parameterized-$pkgver.tar.gz"
builddir="$srcdir/"$_pkgname-$pkgver
replaces="py-parameterized" # Backwards compatibility
......@@ -33,5 +31,4 @@ package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="ff4ce23356bbaa13bd92f41bb57b650cd1cf3074ac33116ccb88e37bfae8a1bf6ce7015246e0e7788b247fa8f8b3780cdc73e8760b252e8458e4e15719c14dda parameterized-0.7.3.tar.gz
baad2eb3b97e180a960ce7535a21960ee46a5a9df1fc11851c43cef976010c7a2906af5dbee9c39d0ba2fce5c2ee0356ac0e12d1746669f36078c8ba61321fcf fix-tests.patch"
sha512sums="71c51ad57900f5b1b6f4866c60ba4d23649df7740e7f7e735a2e0faf4810bc8dc552a1647da8c174f8a0b80db7de5727ce24dabc9fee6b4cfe12ee98c18945d7 parameterized-0.7.4.tar.gz"
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:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment