Skip to content

Commit 1f0c35f

Browse files
committed
Fix failing xapian test
1 parent 19737cc commit 1f0c35f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ def testInvalidIndexerLanguage_xapian_missing(self):
449449

450450
# need to delete both to make python2 not error finding _xapian
451451
del(sys.modules['xapian'])
452-
if xapian._xapian in sys.modules:
452+
if 'xapian._xapian' in sys.modules:
453453
del(sys.modules['xapian._xapian'])
454454

455455
self.assertEqual(config['INDEXER_LANGUAGE'], 'NO_LANG')

0 commit comments

Comments
 (0)