8000 gh-104549: Set __module__ on TypeAliasType by JelleZijlstra · Pull Request #104550 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-104549: Set __module__ on TypeAliasType #104550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 18, 2023
Prev Previous commit
Next Next commit
Not that one
  • Loading branch information
JelleZijlstra committed May 17, 2023
commit f98dfcccb93cc45ee13eee86123b917918eab19c
1 change: 0 additions & 1 deletion Lib/test/test_type_aliases.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ def test_union(self):
self.assertEqual(get_args(union3), (list[range], Alias1))

def test_module(self):
self.assertEqual(TypeAliasType.__module__, "typing")
type Alias = int
self.assertEqual(Alias.__module__, __name__)
self.assertEqual(mod_generics_cache.Alias.__module__,
Expand Down
0