Navigation Menu

Skip to content

Commit

Permalink
Remove unused skipping utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
markpasc committed Sep 21, 2009
1 parent f05e6cd commit a04b7be
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions tests/utils.py
Expand Up @@ -11,23 +11,6 @@ def update_wrapper(wrapper, original):
setattr(wrapper, field, getattr(original, field))


def skip(fn):
def test_nothing(self):
raise nose.SkipTest('skip this test')
update_wrapper(test_nothing, fn)
return test_nothing


def are_automated():
return bool(os.getenv('AUTOMATED_TESTING'))


def skip_if_automated(fn):
if are_automated():
return skip(fn)
return fn


def todo(fn):
def test_reverse(*args, **kwargs):
try:
Expand Down

0 comments on commit a04b7be

Please sign in to comment.