diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-04-23 11:59:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-23 11:59:03 +0100 |
commit | 286e20f2bcbce9c74c80448eb5443aea3d27b336 (patch) | |
tree | ccc6a7b2edbc3a9b5d4563b5e4281d0d817c0122 /tests/test_distributor.py | |
parent | Merge pull request #3106 from NotAFile/py3-six-itervalues-1 (diff) | |
parent | Make tests py3 compatible (diff) | |
download | synapse-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.py | 2 |
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) |