We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beac186 commit 68ee580Copy full SHA for 68ee580
1 file changed
Lib/test/test_listcomps.py
@@ -177,7 +177,7 @@ def test_references___class___nested(self):
177
"""
178
self._check_in_scopes(code, raises=NameError)
179
180
- def test_references___class___nested_deferred(self):
+ def test_references___class___nested_used(self):
181
class _C:
182
res = [lambda: __class__ for _ in [1]]
183
self.assertIs(_C.res[0](), _C)
0 commit comments