diff tests/test_parse_files/test_unaryop.py @ 28:bc3437ecb12b

Add a test for unaryop and fix ast_dump for unaryop::Not.
author Bastien Orivel <eijebong@bananium.fr>
date Fri, 03 Jun 2016 23:59:41 +0200
parents
children
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/tests/test_parse_files/test_unaryop.py
@@ -0,0 +1,4 @@
+a = ~5
+a = -5
+a = not False
+a = +5