summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_xdrlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_xdrlib.py')
-rw-r--r--Lib/test/test_xdrlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_xdrlib.py b/Lib/test/test_xdrlib.py
index 97f0cc9..d0fb1e5 100644
--- a/Lib/test/test_xdrlib.py
+++ b/Lib/test/test_xdrlib.py
@@ -44,7 +44,7 @@ class XDRTest(unittest.TestCase):
self.assertAlmostEqual(up.unpack_float(), 1.9)
self.assertAlmostEqual(up.unpack_double(), 1.9)
self.assertEqual(up.unpack_string(), s)
- self.assertEqual(up.unpack_list(up.unpack_uint), range(5))
+ self.assertEqual(up.unpack_list(up.unpack_uint), list(range(5)))
self.assertEqual(up.unpack_array(up.unpack_string), a)
up.done()
self.assertRaises(EOFError, up.unpack_uint)