mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 21:17:54 +00:00
testutil: minor reformatting
This commit is contained in:
parent
945003ea0f
commit
b6b3b6b1bd
@ -59,7 +59,8 @@ class PollMixin:
|
||||
|
||||
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)
|
||||
d = defer.maybeDeferred(callable, *args, **kwargs)
|
||||
def done(res):
|
||||
|
Loading…
Reference in New Issue
Block a user