diff options
Diffstat (limited to 'Lib/test/test_memoryio.py')
-rw-r--r-- | Lib/test/test_memoryio.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_memoryio.py b/Lib/test/test_memoryio.py index 9e1b7c7..4de4f65 100644 --- a/Lib/test/test_memoryio.py +++ b/Lib/test/test_memoryio.py @@ -379,8 +379,8 @@ class MemoryTestMixin: self.assertEqual(obj.__class__, obj2.__class__) self.assertEqual(obj.foo, obj2.foo) self.assertEqual(obj.tell(), obj2.tell()) - obj.close() - self.assertRaises(ValueError, pickle.dumps, obj, proto) + obj2.close() + self.assertRaises(ValueError, pickle.dumps, obj2, proto) del __main__.PickleTestMemIO |