summaryrefslogtreecommitdiff
path: root/tests/functional/ext/empty_comment/empty_comment.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-11-23 09:16:15 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-11-23 09:50:24 +0100
commit8ef3440e51f4391b106ff84b60d07aed69f9dce3 (patch)
tree384fc69b5d6a59b858ffcf658db7465184913a01 /tests/functional/ext/empty_comment/empty_comment.py
parent72d3525b058d264bdef1a7f3276b12e4a64162e6 (diff)
downloadpylint-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.py13
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"#
+#######