From 25b53934ab24e918e05f9c0fe8294b9092117366 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Wed, 23 Feb 2011 00:46:28 +0000 Subject: Fix imports from collections.abc --- Lib/test/test_xmlrpc_net.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/test/test_xmlrpc_net.py') diff --git a/Lib/test/test_xmlrpc_net.py b/Lib/test/test_xmlrpc_net.py index 5df79f0fb6..b9853ed80b 100644 --- a/Lib/test/test_xmlrpc_net.py +++ b/Lib/test/test_xmlrpc_net.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -import collections +import collections.abc import errno import socket import sys @@ -48,7 +48,7 @@ class CurrentTimeTest(unittest.TestCase): # Perform a minimal sanity check on the result, just to be sure # the request means what we think it means. - self.assertIsInstance(builders, collections.Sequence) + self.assertIsInstance(builders, collections.abc.Sequence) self.assertTrue([x for x in builders if "3.x" in x], builders) -- cgit v1.2.1