diff options
author | Eric Cousineau <eric.cousineau@tri.global> | 2019-01-30 10:54:40 -0500 |
---|---|---|
committer | Eric Cousineau <eric.cousineau@tri.global> | 2019-01-30 12:15:25 -0500 |
commit | eba7f0f7847762bae419e366354bb30e6230daeb (patch) | |
tree | fb91d13c94efa91142bad51c126f5600df523ca7 /testsuite | |
parent | 1f8d5ca1a1ede54e6d7b67693b36b209b940573c (diff) | |
download | pep8-eba7f0f7847762bae419e366354bb30e6230daeb.tar.gz |
E402: Add "if" statement to allowed keywords
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/E40.py | 5 |
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' |