From 30c7b4e4cc5411af1015aa292e20e4c453607428 Mon Sep 17 00:00:00 2001 From: Konstantin Lopuhin Date: Thu, 14 Jan 2016 13:44:14 +0300 Subject: [PATCH] py3 compat in test_timeoutTriggering cleanup --- tests/test_webclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_webclient.py b/tests/test_webclient.py index 0a31d8b5d..fa0083d44 100644 --- a/tests/test_webclient.py +++ b/tests/test_webclient.py @@ -300,7 +300,7 @@ class WebClientTestCase(unittest.TestCase): def cleanup(passthrough): # Clean up the server which is hanging around not doing # anything. - connected = self.wrapper.protocols.keys() + connected = list(six.iterkeys(self.wrapper.protocols)) # There might be nothing here if the server managed to already see # that the connection was lost. if connected: