(self)
| 520 | self.assertIsInstance(from_bin.value, bytes) |
| 521 | |
| 522 | def test_comparison(self): |
| 523 | tok = BytesToken.from_string('0123456789abcdef') |
| 524 | token_high_order = uint16_unpack(tok.value[0:2]) |
| 525 | self.assertLess(BytesToken(uint16_pack(token_high_order - 1)), tok) |
| 526 | self.assertGreater(BytesToken(uint16_pack(token_high_order + 1)), tok) |
| 527 | |
| 528 | def test_comparison_unicode(self): |
| 529 | value = b'\'_-()"\xc2\xac' |
nothing calls this directly
no test coverage detected