Skip to content

Commit 68ee580

Browse files
committed
Prefer 'used' to 'deferred'
1 parent beac186 commit 68ee580

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_listcomps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def test_references___class___nested(self):
177177
"""
178178
self._check_in_scopes(code, raises=NameError)
179179

180-
def test_references___class___nested_deferred(self):
180+
def test_references___class___nested_used(self):
181181
class _C:
182182
res = [lambda: __class__ for _ in [1]]
183183
self.assertIs(_C.res[0](), _C)

0 commit comments

Comments
 (0)