summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Smith <zach.smith@makespace.com>2015-11-07 19:39:42 -0500
committerZach Smith <zach.smith@makespace.com>2015-11-07 19:39:42 -0500
commitff586cd08ad4e226ea5d65eda8683afb5a5c9373 (patch)
treeffb304ccc5c61106a3d6676227dbecd150decfff
parentfcbe5888b4b4e7c463e7126da1fd1636ae98ceb2 (diff)
downloadpycco-ff586cd08ad4e226ea5d65eda8683afb5a5c9373.tar.gz
Unwrap comprehension in test
-rw-r--r--tests/test_pycco.py3
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():