Mercurial > python-compiler.rs
annotate tests/test_parse_files/test_unaryop.py @ 44:5f1d285471af
Finish ImportFrom conversion and add a test for it.
author | Bastien Orivel <eijebong@bananium.fr> |
---|---|
date | Tue, 07 Jun 2016 12:19:10 +0200 |
parents | bc3437ecb12b |
children |
rev | line source |
---|---|
28
bc3437ecb12b
Add a test for unaryop and fix ast_dump for unaryop::Not.
Bastien Orivel <eijebong@bananium.fr>
parents:
diff
changeset
|
1 a = ~5 |
bc3437ecb12b
Add a test for unaryop and fix ast_dump for unaryop::Not.
Bastien Orivel <eijebong@bananium.fr>
parents:
diff
changeset
|
2 a = -5 |
bc3437ecb12b
Add a test for unaryop and fix ast_dump for unaryop::Not.
Bastien Orivel <eijebong@bananium.fr>
parents:
diff
changeset
|
3 a = not False |
bc3437ecb12b
Add a test for unaryop and fix ast_dump for unaryop::Not.
Bastien Orivel <eijebong@bananium.fr>
parents:
diff
changeset
|
4 a = +5 |