summary refs log tree commit diff
path: root/tests/test_test_utils.py
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2016-02-19 15:55:02 +0000
committerMark Haines <mjark@negativecurvature.net>2016-02-19 15:55:02 +0000
commitb82d6f70a49faaf551e7709ddfd7a7607ade3e42 (patch)
treef13b8706f7cdc4faa6e44e207fd57d3cfe30f97f /tests/test_test_utils.py
parentAdd Measures to presence (diff)
parentFix flake8 warnings for tests (diff)
downloadsynapse-b82d6f70a49faaf551e7709ddfd7a7607ade3e42.tar.xz
Merge pull request #590 from matrix-org/markjh/formatting
Fix flake8 warnings for tests
Diffstat (limited to 'tests/test_test_utils.py')
-rw-r--r--tests/test_test_utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_test_utils.py b/tests/test_test_utils.py
index 3718f4fc3f..d28bb726bb 100644
--- a/tests/test_test_utils.py
+++ b/tests/test_test_utils.py
@@ -17,6 +17,7 @@ from tests import unittest
 
 from tests.utils import MockClock
 
+
 class MockClockTestCase(unittest.TestCase):
 
     def setUp(self):
@@ -60,7 +61,7 @@ class MockClockTestCase(unittest.TestCase):
 
         def _cb1():
             invoked[1] = 1
-        t1 = self.clock.call_later(20, _cb1)
+        self.clock.call_later(20, _cb1)
 
         self.clock.cancel_call_later(t0)