Skip to content

Commit baa027e

Browse files
authored
Update Lib/test/test_memoryview.py
1 parent 8d91a8f commit baa027e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_memoryview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ def test_boolean_format(self):
666666
self.assertEqual(m2b.tolist(), [True, True, True])
667667
self.assertEqual(m2a, m2b)
668668

669-
allbytes = bytes(x for x in range(256))
669+
allbytes = bytes(range(256))
670670
allbytes = memoryview(allbytes).cast('?')
671671
self.assertEqual(allbytes.tolist(), [False] + [True] * 255)
672672

0 commit comments

Comments
 (0)