aboutsummaryrefslogtreecommitdiff
path: root/test/gentests.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2012-12-11 18:03:22 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2012-12-11 18:03:22 +0100
commit9a6f4429a08a4bb7e6a92cf74d0b7451a5e9e03f (patch)
tree1d92471ea4520ff95d2df6c739d2b9b8d2ab0192 /test/gentests.py
parent4c21c56bfe661f469ae4bea63c4dc78083e3179d (diff)
downloadyoutube-dl-9a6f4429a08a4bb7e6a92cf74d0b7451a5e9e03f.tar.xz
Fix test selection in Python 2.6
Diffstat (limited to 'test/gentests.py')
-rwxr-xr-xtest/gentests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/gentests.py b/test/gentests.py
index 0ea5d9f21..4cc9875ea 100755
--- a/test/gentests.py
+++ b/test/gentests.py
@@ -61,6 +61,7 @@ except AttributeError: # Python 2.6
else:
print('Skipped test')
return
+ test_wfunc.__name__ = f.__name__
return test_wfunc
return resfunc
_skip = lambda *args, **kwargs: _skip_unless(False, *args, **kwargs)