Commit 5c4e292c authored by Benjamin Peterson's avatar Benjamin Peterson

fix typo

parent 06f06a0b
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment