def test_find(self): from hwp5.binmodel import ControlChar bytes = '\x41\x00' self.assertEquals((2, 2), ControlChar.find(bytes, 0))
def test_find(self): bytes = b'\x41\x00' self.assertEqual((2, 2), ControlChar.find(bytes, 0))