(code)
| 75 | ["x.a[1]", "x.a", "print(x.a)", "print(kw = x.a)", "(x.a, y.a)", "[x.a, y.a]"], |
| 76 | ) |
| 77 | def test_object_access_parser(code): |
| 78 | p = ObjectAccessParser() |
| 79 | p.visit(ast.parse(code)) |
| 80 | assert "x.a" in p.out |
nothing calls this directly
no test coverage detected