summaryrefslogtreecommitdiff
path: root/tests/test_coverage.py
diff options
context:
space:
mode:
authorDasIch <dasdasich@gmail.com>2010-08-15 11:55:46 +0200
committerDasIch <dasdasich@gmail.com>2010-08-15 11:55:46 +0200
commit7926331c6fa1d80e08ae4d6c19bc1cfdce9e16c8 (patch)
treec31e72f4dc43e03502213c08a6d036492ea98856 /tests/test_coverage.py
parentc8f16b61cc6682fbbe47a5902b3c92e4b9336be0 (diff)
parentc0e116c026aebb10854d8e083e702f6290403116 (diff)
downloadsphinx-7926331c6fa1d80e08ae4d6c19bc1cfdce9e16c8.tar.gz
merge with lehmannro/sphinx-i18n
Diffstat (limited to 'tests/test_coverage.py')
-rw-r--r--tests/test_coverage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_coverage.py b/tests/test_coverage.py
index 1262ebf5..cb831635 100644
--- a/tests/test_coverage.py
+++ b/tests/test_coverage.py
@@ -33,7 +33,7 @@ def test_build(app):
assert 'api.h' in c_undoc
assert ' * Py_SphinxTest' in c_undoc
- undoc_py, undoc_c = pickle.loads((app.outdir / 'undoc.pickle').text())
+ 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 undoc_c.values()[0] == [('function', 'Py_SphinxTest')]