def test_simple(self): self.assertTrue(events.decodable(b'd', 'utf-8')) self.assertFalse(events.decodable(b'\xfe', 'utf-8')) # 254 is off limits
def test_simple(self): self.assertTrue(events.decodable(b"d", "utf-8")) self.assertFalse(events.decodable(b"\xfe", "utf-8")) # 254 is off limits