mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 02:01:31 +00:00
test_util: remove obsolete flushLoggedErrors check
We now depend on a much newer version of Twisted than the one that lacked TestCase.flushLoggedErrors.
This commit is contained in:
parent
cffa682ddc
commit
f665d0690e
@ -1732,11 +1732,6 @@ class SampleError(Exception):
|
||||
|
||||
class Log(unittest.TestCase):
|
||||
def test_err(self):
|
||||
if not hasattr(self, "flushLoggedErrors"):
|
||||
# without flushLoggedErrors, we can't get rid of the
|
||||
# twisted.log.err that tahoe_log records, so we can't keep this
|
||||
# test from [ERROR]ing
|
||||
raise unittest.SkipTest("needs flushLoggedErrors from Twisted-2.5.0")
|
||||
try:
|
||||
raise SampleError("simple sample")
|
||||
except:
|
||||
|
Loading…
x
Reference in New Issue
Block a user