mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 05:28:04 +00:00
iputil/testutil: fix pyflakes errors/warnings
This commit is contained in:
parent
2d0e240466
commit
073333c791
@ -1,9 +1,8 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
from allmydata.util import iputil, testutil
|
from allmydata.util import iputil
|
||||||
|
|
||||||
from twisted.trial import unittest
|
from twisted.trial import unittest
|
||||||
import re, sys
|
import re
|
||||||
|
|
||||||
DOTTED_QUAD_RE=re.compile("^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$")
|
DOTTED_QUAD_RE=re.compile("^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$")
|
||||||
|
|
||||||
|
@ -8,7 +8,6 @@ import re, socket, sys
|
|||||||
|
|
||||||
# from Twisted
|
# from Twisted
|
||||||
from twisted.internet import defer
|
from twisted.internet import defer
|
||||||
from twisted.python import log
|
|
||||||
from twisted.internet import reactor
|
from twisted.internet import reactor
|
||||||
from twisted.internet.protocol import DatagramProtocol
|
from twisted.internet.protocol import DatagramProtocol
|
||||||
from twisted.internet.utils import getProcessOutput
|
from twisted.internet.utils import getProcessOutput
|
||||||
|
@ -39,6 +39,7 @@ class TestMixin(SignalMixin):
|
|||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
if self.repeatable:
|
if self.repeatable:
|
||||||
|
import repeatable_random
|
||||||
repeatable_random.restore_non_repeatability()
|
repeatable_random.restore_non_repeatability()
|
||||||
self.clean_pending(required_to_quiesce=True)
|
self.clean_pending(required_to_quiesce=True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user