mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Use sequence repetition instead of bytes constructor with integer argument.
This commit is contained in:
parent
ab8740058a
commit
5f1a5187f7
12 changed files with 20 additions and 20 deletions
|
@ -59,7 +59,7 @@ class BufferSizeTest:
|
|||
self.drive_one(b"1234567890\00\01\02\03\04\05\06")
|
||||
|
||||
def test_nullpat(self):
|
||||
self.drive_one(bytes(1000))
|
||||
self.drive_one(b'\0' * 1000)
|
||||
|
||||
|
||||
class CBufferSizeTest(BufferSizeTest, unittest.TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue