def test_bytes_mul(self): self.assertEqual(b'\x00' * int(5), b'\x00' * 5) self.assertEqual(bytes(b'\x00') * int(5), bytes(b'\x00') * 5)