Fix WaitTimeout string representations
Since eventlet.TimeoutError constructor is not called, TimeoutError __str__and __repr__ are not usable. This change ensures that the methods from the Exception base class are used. Change-Id: I27f44006b080f4f10983a026597fa47127950609 Closes-Bug: 1659655
This commit is contained in:
parent
4ae6790d82
commit
b6d9a3f0a3
@ -67,7 +67,12 @@ class WaitTimeout(Exception, eventlet.TimeoutError):
|
||||
TimeoutError is raised, test runner stops and exits while it still has test
|
||||
cases scheduled for execution.
|
||||
"""
|
||||
pass
|
||||
|
||||
def __str__(self):
|
||||
return Exception.__str__(self)
|
||||
|
||||
def __repr__(self):
|
||||
return Exception.__repr__(self)
|
||||
|
||||
|
||||
@removals.remove(
|
||||
|
Loading…
Reference in New Issue
Block a user