(self)
| 1441 | |
| 1442 | @unittest.expectedFailure # TODO: RUSTPYTHON; Wrong error message |
| 1443 | def test_replace_non_str_kwarg(self): |
| 1444 | node = ast.Name(id="x") |
| 1445 | errmsg = "got an unexpected keyword argument <object object" |
| 1446 | with self.assertRaisesRegex(TypeError, errmsg): |
| 1447 | node.__replace__(**{object(): "y"}) |
| 1448 | |
| 1449 | |
| 1450 | class ASTHelpers_Test(unittest.TestCase): |
nothing calls this directly
no test coverage detected