Skip to content

Commit

Permalink
Add __name__ to allow_failure tests
Browse files Browse the repository at this point in the history
Change-Id: Ia7ae3b98304c850f3ace0e20f4fcc2b05205617b
  • Loading branch information
jayvdb committed Dec 9, 2014
1 parent 1d0f94c commit d12eb1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def wrapper(*args, **kwargs):
except Exception:
pywikibot.exception(tb=True)
raise unittest.SkipTest()
wrapper.__name__ = func.__name__
return wrapper


Expand Down

0 comments on commit d12eb1d

Please sign in to comment.