def test_ubyte(self):
    self._dll.tf_B.restype = c_ubyte
    self._dll.tf_B.argtypes = (c_ubyte,)
    self.assertEqual(self._dll.tf_B(255), 85)
    self.assertEqual(self.U(), 255)
def test_ubyte(self):
    self._dll.tf_B.restype = c_ubyte
    self._dll.tf_B.argtypes = (c_ubyte,)
    self.assertEqual(self._dll.tf_B(255), 85)
    self.assertEqual(self.U(), 255)