summaryrefslogtreecommitdiff
path: root/doc/data/messages/c/compare-to-empty-string/bad.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/data/messages/c/compare-to-empty-string/bad.py')
-rw-r--r--doc/data/messages/c/compare-to-empty-string/bad.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/doc/data/messages/c/compare-to-empty-string/bad.py b/doc/data/messages/c/compare-to-empty-string/bad.py
deleted file mode 100644
index 1ab940de7..000000000
--- a/doc/data/messages/c/compare-to-empty-string/bad.py
+++ /dev/null
@@ -1,8 +0,0 @@
-x = ""
-y = "hello"
-
-if x == "": # [compare-to-empty-string]
- print("x is an empty string")
-
-if y != "": # [compare-to-empty-string]
- print("y is not an empty string")