mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
fix typo
This commit is contained in:
parent
06f06a0b2f
commit
5c4e292c14
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class BaseBytesTest(unittest.TestCase):
|
|||
def test_from_ssize(self):
|
||||
self.assertEqual(self.type2test(0), b'')
|
||||
self.assertEqual(self.type2test(1), b'\x00')
|
||||
self.assertEqual(self.test2test(5), b'\x00\x00\x00\x00\x00')
|
||||
self.assertEqual(self.type2test(5), b'\x00\x00\x00\x00\x00')
|
||||
self.assertRaises(ValueError, self.type2test, -1)
|
||||
|
||||
self.assertEqual(self.type2test('0', 'ascii'), b'0')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue