summaryrefslogtreecommitdiff
path: root/testsuite/python38.py
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/python38.py')
-rw-r--r--testsuite/python38.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/python38.py b/testsuite/python38.py
index f927673..1374192 100644
--- a/testsuite/python38.py
+++ b/testsuite/python38.py
@@ -28,3 +28,17 @@ if x:= 1:
#: E225:1:18
if False or (x :=1):
pass
+#: Okay
+import typing as t
+
+__all__: t.List[str] = []
+
+import logging
+
+logging.getLogger(__name__)
+#: E402
+import typing as t
+
+all_the_things: t.List[str] = []
+
+import logging