1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-12-22 17:15:39 +07:00

Fix test selection in Python 2.6

This commit is contained in:
Philipp Hagemeister
2012-12-11 18:03:22 +01:00
parent 4c21c56bfe
commit 9a6f4429a0
2 changed files with 50 additions and 48 deletions

View File

@@ -61,6 +61,7 @@ def test_wfunc(*args, **kwargs):
else:
print('Skipped test')
return
test_wfunc.__name__ = f.__name__
return test_wfunc
return resfunc
_skip = lambda *args, **kwargs: _skip_unless(False, *args, **kwargs)