diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-11-06 12:49:48 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-11-09 09:21:36 +0100 |
commit | 59854e1caa96d31a5e100a7a3edbe32cf8fc5209 (patch) | |
tree | d704f04f7313bc7a8b3bc90ec1c7b745c7b1706a /testsuite/E26.py | |
parent | faa9a4bb62b9466e5b0b98288097f1d47bf773f4 (diff) | |
download | pep8-59854e1caa96d31a5e100a7a3edbe32cf8fc5209.tar.gz |
Properly warn for E262 with non breaking whitespaces
Closes #1034
Diffstat (limited to 'testsuite/E26.py')
-rw-r--r-- | testsuite/E26.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/E26.py b/testsuite/E26.py index c3537ff..937ef72 100644 --- a/testsuite/E26.py +++ b/testsuite/E26.py @@ -57,3 +57,10 @@ def oof(): # ################################################################ # # ####################### another separator ###################### # # ################################################################ # +#: E262:3:9 +# -*- coding: utf8 -*- +# (One space one NBSP) Ok for block comment +a = 42 # (One space one NBSP) +#: E262:2:9 +# (Two spaces) Ok for block comment +a = 42 # (Two spaces) |