diff options
author | Łukasz Rogalski <rogalski.91@gmail.com> | 2016-03-23 23:24:51 +0100 |
---|---|---|
committer | Łukasz Rogalski <rogalski.91@gmail.com> | 2016-03-29 18:42:30 +0200 |
commit | b7bf8c80608baa9ebbc6ab5c7692a58243c6f775 (patch) | |
tree | e4b985a471511fb1b78f7337bd3d7392e03a45e2 /testsuite | |
parent | 2e151c544a4312ec9721c6abedd0f1e4067f9231 (diff) | |
download | pep8-b7bf8c80608baa9ebbc6ab5c7692a58243c6f775.tar.gz |
complain about missing space before opening parentheses of import statement
Solves issue #489
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/E27.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/E27.py b/testsuite/E27.py index f9d3e8e..888b3a8 100644 --- a/testsuite/E27.py +++ b/testsuite/E27.py @@ -28,3 +28,17 @@ a and b a and b #: E273 E274 this and False +#: Okay +from u import (a, b) +from v import c, d +#: E271 +from w import (e, f) +#: E275 +from w import(e, f) +#: E275 +from importable.module import(e, f) +#: E275 +try: + from importable.module import(e, f) +except ImportError: + pass |