Use "all +=" instead of duplicating the branches (#7865)

This commit is contained in:
Sebastian Rittau authored and GitHub committed 2022-06-07 13:32:19 +02:00
1 parent 15ad2657db
commit 214bf15dce
3 files changed
+127 -480

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
# pyright: reportWildcardImportFromLibrary=false
"""
This tests that star imports work when using "all += " syntax.
"""
import sys
from typing import * # noqa: F403
from zipfile import * # noqa: F403
if sys.version_info >= (3, 9):
x: Annotated[int, 42] # noqa: F405
if sys.version_info >= (3, 8):
p: Path # noqa: F405