summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorshimizukawa <shimizukawa@gmail.com>2013-01-04 21:46:17 +0900
committershimizukawa <shimizukawa@gmail.com>2013-01-04 21:46:17 +0900
commitb3a1f24d8e66168585281744dde246d285677ee4 (patch)
tree1efb0c796f8038d5043bd95ae66c901fb63a121c /tests
parentc7c818e3f1dfdf775bf1d5adaf5d043f06e3c4c2 (diff)
downloadsphinx-b3a1f24d8e66168585281744dde246d285677ee4.tar.gz
fix problems with py25,py3x for search index generation
Diffstat (limited to 'tests')
-rw-r--r--tests/test_search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_search.py b/tests/test_search.py
index f2c17406..e5ae71e9 100644
--- a/tests/test_search.py
+++ b/tests/test_search.py
@@ -36,7 +36,7 @@ def test_wordcollector():
doc['file'] = 'dummy'
parser.parse(FILE_CONTENTS, doc)
- ix = IndexBuilder(None, 'en', {})
+ ix = IndexBuilder(None, 'en', {}, None)
ix.feed('filename', 'title', doc)
assert 'boson' not in ix._mapping
assert 'fermion' in ix._mapping