commit | 06a6b3f52b43f0f49da840faea8e4f4585d187af | [log] [tgz] |
---|---|---|
author | Tony Sun <tony.sun@cloudant.com> | Thu Sep 10 23:43:57 2015 -0700 |
committer | Tony Sun <tony.sun@cloudant.com> | Thu Sep 10 23:43:57 2015 -0700 |
tree | e0ed6b08365b9bcae5179f1a119c876f535c39c7 | |
parent | 79ca3c114591543908abe702520d6ae65556e68f [diff] |
Check for text in num_string_test COUCHDB-2787
diff --git a/test/06-basic-text-test.py b/test/06-basic-text-test.py index 493befc..28c495a 100644 --- a/test/06-basic-text-test.py +++ b/test/06-basic-text-test.py
@@ -564,7 +564,8 @@ def setUpClass(klass): super(NumStringTests, klass).setUpClass() klass.db.recreate() - klass.db.create_text_index() + if mango.has_text_service(): + klass.db.create_text_index() # not available for python 2.7.x def isFinite(num):