summary refs log tree commit diff
path: root/tests/test_distributor.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-04-23 11:59:03 +0100
committerGitHub <noreply@github.com>2018-04-23 11:59:03 +0100
commit286e20f2bcbce9c74c80448eb5443aea3d27b336 (patch)
treeccc6a7b2edbc3a9b5d4563b5e4281d0d817c0122 /tests/test_distributor.py
parentMerge pull request #3106 from NotAFile/py3-six-itervalues-1 (diff)
parentMake tests py3 compatible (diff)
downloadsynapse-286e20f2bcbce9c74c80448eb5443aea3d27b336.tar.xz
Merge pull request #3109 from NotAFile/py3-tests-fix
Make tests py3 compatible
Diffstat (limited to 'tests/test_distributor.py')
-rw-r--r--tests/test_distributor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_distributor.py b/tests/test_distributor.py

index acebcf4a86..010aeaee7e 100644 --- a/tests/test_distributor.py +++ b/tests/test_distributor.py
@@ -62,7 +62,7 @@ class DistributorTestCase(unittest.TestCase): def test_signal_catch(self): self.dist.declare("alarm") - observers = [Mock() for i in 1, 2] + observers = [Mock() for i in (1, 2)] for o in observers: self.dist.observe("alarm", o)