summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshimizukawa <shimizukawa@gmail.com>2014-10-07 23:12:16 +0900
committershimizukawa <shimizukawa@gmail.com>2014-10-07 23:12:16 +0900
commitd54f87973512573cdf8b11b6b7fe8dddaa156515 (patch)
tree6414fefe029b6f98467908f958aafcc707b41e7c
parent80b888301e462e54558f2fef81707812d35ce41c (diff)
downloadsphinx-d54f87973512573cdf8b11b6b7fe8dddaa156515.tar.gz
fix testing for ad7ce315a358
-rw-r--r--tests/test_ext_coverage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ext_coverage.py b/tests/test_ext_coverage.py
index ec1916d9..e59d42bc 100644
--- a/tests/test_ext_coverage.py
+++ b/tests/test_ext_coverage.py
@@ -38,7 +38,7 @@ def test_build(app, status, warning):
undoc_py, undoc_c = pickle.loads((app.outdir / 'undoc.pickle').bytes())
assert len(undoc_c) == 1
# the key is the full path to the header file, which isn't testable
- assert list(undoc_c.values())[0] == [('function', 'Py_SphinxTest')]
+ assert list(undoc_c.values())[0] == set([('function', 'Py_SphinxTest')])
assert 'test_autodoc' in undoc_py
assert 'funcs' in undoc_py['test_autodoc']