From ff586cd08ad4e226ea5d65eda8683afb5a5c9373 Mon Sep 17 00:00:00 2001 From: Zach Smith Date: Sat, 7 Nov 2015 19:39:42 -0500 Subject: Unwrap comprehension in test --- tests/test_pycco.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(): -- cgit v1.2.1