We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6857416 commit 6342edeCopy full SHA for 6342ede
pandas/compat/__init__.py
@@ -365,7 +365,9 @@ def callable(obj):
365
return any("__call__" in klass.__dict__ for klass in type(obj).__mro__)
366
367
368
-if sys.version_info[0:2] < (3, 4):
+if sys.version_info[0] < 3:
369
+ # In PY2 functools.wraps doesn't provide metadata pytest needs to generate
370
+ # decorated tests using parametrization. See pytest GH issue #2782
371
def wraps(wrapped, assigned=functools.WRAPPER_ASSIGNMENTS,
372
updated=functools.WRAPPER_UPDATES):
373
def wrapper(f):
0 commit comments