diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-11-23 09:16:15 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-11-23 09:50:24 +0100 |
commit | 8ef3440e51f4391b106ff84b60d07aed69f9dce3 (patch) | |
tree | 384fc69b5d6a59b858ffcf658db7465184913a01 /tests/functional/ext/empty_comment/empty_comment.py | |
parent | 72d3525b058d264bdef1a7f3276b12e4a64162e6 (diff) | |
download | pylint-git-8ef3440e51f4391b106ff84b60d07aed69f9dce3.tar.gz |
Move the functional tests for extension in 'tests/functional/ext'
Diffstat (limited to 'tests/functional/ext/empty_comment/empty_comment.py')
-rw-r--r-- | tests/functional/ext/empty_comment/empty_comment.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/functional/ext/empty_comment/empty_comment.py b/tests/functional/ext/empty_comment/empty_comment.py new file mode 100644 index 000000000..6adaa4fc1 --- /dev/null +++ b/tests/functional/ext/empty_comment/empty_comment.py @@ -0,0 +1,13 @@ +"""empty-comment test-case""" +# +1:[empty-comment] +A = 5 # +# +1:[empty-comment] +# +A = '#' + '1' +# +1:[empty-comment] +print(A) # +print("A=", A) # should not be an error# +# +1:[empty-comment] +A = "#pe\0ace#love#" # +A = "peace#love" # \0 peace'#'''' love#peace'''-'#love'-"peace#love"# +####### |