Mercurial > python-compiler.rs
comparison tests/test_parse_files/test_dictcomp.py @ 36:e61b332f92ee
Add a test for DictComp.
| author | Bastien Orivel <eijebong@bananium.fr> |
|---|---|
| date | Sat, 04 Jun 2016 15:05:17 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 35:530c671e17bf | 36:e61b332f92ee |
|---|---|
| 1 d = {key: value for (key, value) in imaginary_dict.items() if key % 12} |
