summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/E40.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/E40.py b/testsuite/E40.py
index 6d123b1..041ffb3 100644
--- a/testsuite/E40.py
+++ b/testsuite/E40.py
@@ -40,6 +40,11 @@ with warnings.catch_warnings():
import foo
import bar
+#: Okay
+if False:
+ import foo
+
+import bar
#: E402
VERSION = '1.2.3'