diff options
Diffstat (limited to 'Lib/test/test_copy.py')
-rw-r--r-- | Lib/test/test_copy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_copy.py b/Lib/test/test_copy.py index ccecfbd..685fd6e 100644 --- a/Lib/test/test_copy.py +++ b/Lib/test/test_copy.py @@ -661,7 +661,7 @@ class TestCopy(unittest.TestCase): v = copy.deepcopy(u) self.assertNotEqual(v, u) self.assertEqual(len(v), 2) - (x, y), (z, t) = sorted(v.items(), key=lambda (k, v): k.i) + (x, y), (z, t) = sorted(v.items(), key=lambda pair: pair[0].i) self.assertFalse(x is a) self.assertEqual(x.i, a.i) self.assertTrue(y is b) |