def test_i(self): # Arrange c = b"a" # Act ret = IptcImagePlugin.i(c) # Assert self.assertEqual(ret, 97)
def test_i(): # Arrange c = b"a" # Act ret = IptcImagePlugin.i(c) # Assert assert ret == 97