diff options
| author | Georg Brandl <georg@python.org> | 2010-07-28 19:27:45 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-07-28 19:27:45 +0200 |
| commit | 8cb5a023129a5203691611aea6fa45e6f9c1e268 (patch) | |
| tree | 8da1597952f9ced0d2d2a46b96e27439379506e8 | |
| parent | bd2eb1e085882bbe97d449ac1879de40b50f458b (diff) | |
| download | sphinx-git-8cb5a023129a5203691611aea6fa45e6f9c1e268.tar.gz | |
Give a binary document name.
| -rw-r--r-- | tests/test_search.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_search.py b/tests/test_search.py index 0b5b158b8..c0750366c 100644 --- a/tests/test_search.py +++ b/tests/test_search.py @@ -13,6 +13,7 @@ from docutils import frontend, utils from docutils.parsers import rst from sphinx.search import IndexBuilder +from sphinx.util.pycompat import b settings = parser = None @@ -31,7 +32,7 @@ test that non-comments are indexed: fermion ''' def test_wordcollector(): - doc = utils.new_document('test data', settings) + doc = utils.new_document(b('test data'), settings) doc['file'] = 'dummy' parser.parse(FILE_CONTENTS, doc) |
