diff --git a/minode/tests/test_app.py b/minode/tests/test_app.py index 4eccd60..7ef63c9 100644 --- a/minode/tests/test_app.py +++ b/minode/tests/test_app.py @@ -34,7 +34,8 @@ class TestAppProto(unittest.TestCase): def _connections(self): return [ - c for c in shared.connections if c.status == 'fully_established'] + c for c in shared.connections.copy() + if c.status == 'fully_established'] @classmethod def setUpClass(cls):