(self)
| 166 | self._check_in_scopes(code, outputs={"res": [super]}) |
| 167 | |
| 168 | def test_references___class__(self): |
| 169 | code = """ |
| 170 | res = [__class__ for x in [1]] |
| 171 | """ |
| 172 | self._check_in_scopes(code, raises=NameError) |
| 173 | |
| 174 | def test_references___class___defined(self): |
| 175 | code = """ |
nothing calls this directly
no test coverage detected