(self)
| 491 | |
| 492 | @unittest.expectedFailure # TODO: RUSTPYTHON |
| 493 | def test_bytes(self): |
| 494 | top = symtable.symtable(TEST_CODE.encode('utf8'), "?", "exec") |
| 495 | self.assertIsNotNone(find_block(top, "Mine")) |
| 496 | |
| 497 | code = b'# -*- coding: iso8859-15 -*-\nclass \xb4: pass\n' |
| 498 | |
| 499 | top = symtable.symtable(code, "?", "exec") |
| 500 | self.assertIsNotNone(find_block(top, "\u017d")) |
| 501 | |
| 502 | def test_symtable_repr(self): |
| 503 | self.assertEqual(str(self.top), "<SymbolTable for module ?>") |
nothing calls this directly
no test coverage detected