Resolved pep8 errors

This commit is contained in:
Justin Shepherd
2011-08-02 22:25:23 -05:00
parent 4d94655221
commit fc79de9550

View File

@@ -67,6 +67,7 @@ class skip_test(object):
_skipper.__doc__ = func.__doc__
return _skipper
class skip_if(object):
"""Decorator that skips a test if contition is true."""
def __init__(self, condition, msg):
@@ -84,7 +85,7 @@ class skip_if(object):
class skip_unless(object):
"""Decorator that skips a test if condition is false."""
"""Decorator that skips a test if condition is not true."""
def __init__(self, condition, msg):
self.condition = condition
self.message = msg