diff options
author | Zach Smith <zach.smith@makespace.com> | 2015-11-07 19:39:42 -0500 |
---|---|---|
committer | Zach Smith <zach.smith@makespace.com> | 2015-11-07 19:39:42 -0500 |
commit | ff586cd08ad4e226ea5d65eda8683afb5a5c9373 (patch) | |
tree | ffb304ccc5c61106a3d6676227dbecd150decfff /tests | |
parent | fcbe5888b4b4e7c463e7126da1fd1636ae98ceb2 (diff) | |
download | pycco-ff586cd08ad4e226ea5d65eda8683afb5a5c9373.tar.gz |
Unwrap comprehension in test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_pycco.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_pycco.py b/tests/test_pycco.py index 22503c2..5a38dd5 100644 --- a/tests/test_pycco.py +++ b/tests/test_pycco.py @@ -41,7 +41,8 @@ def test_destination(filepath, preserve_paths, outdir): def test_parse(choice, source): l = get_language(choice) parsed = p.parse(source, l) - assert [{"code_text", "docs_text"} == set(s.keys()) for s in parsed] + for s in parsed: + assert {"code_text", "docs_text"} == set(s.keys()) def test_skip_coding_directive(): |