From 7aa7716f3af0ab0f0142747c50f364d31163fa16 Mon Sep 17 00:00:00 2001 From: Itamar Turner-Trauring Date: Mon, 28 Sep 2020 15:44:29 -0400 Subject: [PATCH] Wrap with list(), just in case. --- src/allmydata/test/test_storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/test/test_storage.py b/src/allmydata/test/test_storage.py index b9e3d00c6..30abf9cdc 100644 --- a/src/allmydata/test/test_storage.py +++ b/src/allmydata/test/test_storage.py @@ -547,7 +547,7 @@ class Server(unittest.TestCase): already,writers = self.allocate(ss, b"disconnect", [0,1,2], 75, canary) self.failUnlessEqual(already, set()) self.failUnlessEqual(set(writers.keys()), set([0,1,2])) - for (f,args,kwargs) in canary.disconnectors.values(): + for (f,args,kwargs) in list(canary.disconnectors.values()): f(*args, **kwargs) del already del writers