summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Smith <zach.smith@makespace.com>2015-11-07 19:39:47 -0500
committerZach Smith <zach.smith@makespace.com>2015-11-07 19:39:47 -0500
commit7505278c914b26cab27ba32b39aa5d8c452c7cea (patch)
tree839f3a11f030af478c3a1ca137c3d0fcaeacd42c
parentb00686c1baadbfc614cd9f0d2b7cba2effccf20f (diff)
parentff586cd08ad4e226ea5d65eda8683afb5a5c9373 (diff)
downloadpycco-sitemap.tar.gz
Merge branch 'master' into sitemapsitemap
-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():