mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unittest - Bad exception formatting
This commit is contained in:
parent
10c1b5f902
commit
bb3555f217
1 changed files with 3 additions and 2 deletions
|
@ -36,10 +36,11 @@ class HookError(Exception):
|
||||||
|
|
||||||
class TimeoutWaitingForStream(object):
|
class TimeoutWaitingForStream(object):
|
||||||
def __init__(self, name):
|
def __init__(self, name):
|
||||||
self.stream = name
|
self.name = name
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "*** Timeout reached while waiting for %s ***".format(self.name)
|
return "*** Timeout reached while waiting for {0} ***".format(
|
||||||
|
self.name)
|
||||||
|
|
||||||
|
|
||||||
class StreamsAreMerged(object):
|
class StreamsAreMerged(object):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue