summaryrefslogtreecommitdiff
path: root/tests/functional/e/empty_comment.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/e/empty_comment.py')
-rw-r--r--tests/functional/e/empty_comment.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/functional/e/empty_comment.py b/tests/functional/e/empty_comment.py
new file mode 100644
index 000000000..6adaa4fc1
--- /dev/null
+++ b/tests/functional/e/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"#
+#######