diff options
Diffstat (limited to 'tests/test_coverage.py')
| -rw-r--r-- | tests/test_coverage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_coverage.py b/tests/test_coverage.py index 6bbcc5dc5..4d8228914 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')] |
