(self)
| 285 | |
| 286 | @unittest.expectedFailure # TODO: RUSTPYTHON |
| 287 | def test_local(self): |
| 288 | self.assertTrue(self.spam.lookup("x").is_local()) |
| 289 | self.assertFalse(self.spam.lookup("bar").is_local()) |
| 290 | # Module-scope globals are both global and local |
| 291 | self.assertTrue(self.top.lookup("some_non_assigned_global_var").is_local()) |
| 292 | self.assertTrue(self.top.lookup("some_assigned_global_var").is_local()) |
| 293 | |
| 294 | @unittest.expectedFailure # TODO: RUSTPYTHON |
| 295 | def test_free(self): |
nothing calls this directly
no test coverage detected