8000 Yet another attempt to fix list.__add__ by Akuli · Pull Request #8293 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Yet another attempt to fix list.__add__ #8293

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 12 commits into from
Jul 15, 2022
Merged
Prev Previous commit
fix the test case once again
  • Loading branch information
Akuli committed Jul 14, 2022
commit 5a81698bdef7c7e7b43cecc6c6ed30f6d01f0460
2 changes: 1 addition & 1 deletion test_cases/stdlib/builtins/test_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ def asd(self) -> int:
combined = [Foo()] + [Bar()]
assert_type(combined, List[Union[Foo, Bar]])
for item in combined:
assert_type(item, int)
assert_type(item.asd(), int)
0