diff options
Diffstat (limited to 'Lib/test/test_memoryview.py')
-rw-r--r-- | Lib/test/test_memoryview.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_memoryview.py b/Lib/test/test_memoryview.py index 0f6fc55..93a3fcb 100644 --- a/Lib/test/test_memoryview.py +++ b/Lib/test/test_memoryview.py @@ -146,7 +146,7 @@ class CommonMemoryTests: self.assertEquals(m.itemsize, 1) self.assertEquals(m.ndim, 1) self.assertEquals(m.shape, (6,)) - self.assertEquals(m.size, 6) + self.assertEquals(len(m), 6) self.assertEquals(m.strides, (1,)) self.assertEquals(m.suboffsets, None) return m |