testutil: minor reformatting

This commit is contained in:
Brian Warner 2008-04-17 19:56:45 -07:00
parent 945003ea0f
commit b6b3b6b1bd

View File

@ -59,7 +59,8 @@ class PollMixin:
class ShouldFailMixin: class ShouldFailMixin:
def shouldFail(self, expected_failure, which, substring, callable, *args, **kwargs): def shouldFail(self, expected_failure, which, substring,
callable, *args, **kwargs):
assert substring is None or isinstance(substring, str) assert substring is None or isinstance(substring, str)
d = defer.maybeDeferred(callable, *args, **kwargs) d = defer.maybeDeferred(callable, *args, **kwargs)
def done(res): def done(res):