diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basics/unary_op.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/basics/unary_op.py b/tests/basics/unary_op.py new file mode 100644 index 0000000000..9846285d55 --- /dev/null +++ b/tests/basics/unary_op.py @@ -0,0 +1,12 @@ +print(not None) +print(not False) +print(not True) +print(not 0) +print(not 1) +print(not -1) +print(not ()) +print(not (1,)) +print(not []) +print(not [1,]) +print(not {}) +print(not {1:1}) |