(self)
| 1054 | self.assert_none_check(node, attr, source) |
| 1055 | |
| 1056 | def test_repr(self) -> None: |
| 1057 | snapshots = AST_REPR_DATA_FILE.read_text().split("\n") |
| 1058 | for test, snapshot in zip(ast_repr_get_test_cases(), snapshots, strict=True): |
| 1059 | with self.subTest(test_input=test): |
| 1060 | self.assertEqual(repr(ast.parse(test)), snapshot) |
| 1061 | |
| 1062 | @unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: ValueError not raised |
| 1063 | def test_repr_large_input_crash(self): |
nothing calls this directly
no test coverage detected