Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Lib/test/test_type_params.py
Co-authored-by: Carl Meyer <carl@oddbird.net>
  • Loading branch information
JelleZijlstra and carljm authored Sep 11, 2023
commit ea69d360993bf9b6cd7250cdd7aa67a93cfc2f16
2 changes: 1 addition & 1 deletion Lib/test/test_type_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def meth[U](x: (T for _ in (1,)), y: T):
"Cannot use comprehension in annotation scope within class scope"):
run_code(code)

def test_lambda_in_generic_alias(self):
def test_nested_scope_in_generic_alias(self):
code = """
class C[T]:
T = "class"
Expand Down