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 @@ 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)