summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/true-value.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basics/true-value.py')
-rw-r--r--tests/basics/true-value.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/basics/true-value.py b/tests/basics/true-value.py
index 6ba410ddc2..1dd547f326 100644
--- a/tests/basics/true-value.py
+++ b/tests/basics/true-value.py
@@ -3,9 +3,18 @@
if not False:
print("False")
+if not None:
+ print("None")
+
if not 0:
print("0")
+if not 0.0:
+ print("float 0")
+
+if not 0+0j:
+ print("complex 0")
+
if not "":
print("Empty string")
if "foo":