summaryrefslogtreecommitdiffstats
path: root/deluge/tests/basetest.py
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/tests/basetest.py')
-rw-r--r--deluge/tests/basetest.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/deluge/tests/basetest.py b/deluge/tests/basetest.py
index 7070e6d0a..19796dca2 100644
--- a/deluge/tests/basetest.py
+++ b/deluge/tests/basetest.py
@@ -25,9 +25,11 @@ class BaseTestCase(unittest.TestCase):
def setUp(self): # NOQA: N803
if len(component._ComponentRegistry.components) != 0:
- warnings.warn('The component._ComponentRegistry.components is not empty on test setup.\n'
- 'This is probably caused by another test that did not clean up after finishing!: %s' %
- component._ComponentRegistry.components)
+ warnings.warn(
+ 'The component._ComponentRegistry.components is not empty on test setup.\n'
+ 'This is probably caused by another test that did not clean up after finishing!: %s' %
+ component._ComponentRegistry.components,
+ )
d = maybeDeferred(self.set_up)
def on_setup_error(error):