diff options
Diffstat (limited to 'tests/test_pycco.py')
-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(): |