Skip to content

Commit 4bfc894

Browse files
committed
Giving up on testing the docs
1 parent 99ad9a1 commit 4bfc894

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

docs/index.rst

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,7 @@ to be opinion-free and very extendable.
99
Example Usage
1010
-------------
1111

12-
13-
.. testsetup::
14-
15-
from datetime import datetime
16-
from elasticsearch import Elasticsearch
17-
es = Elasticsearch()
18-
es.delete_index("test_index", ignore_missing=True)
19-
20-
.. testcode::
12+
::
2113

2214
from datetime import datetime
2315
from elasticsearch import Elasticsearch
@@ -41,14 +33,6 @@ Example Usage
4133
for hit in res['hits']['hits']:
4234
print("%(timestamp)s %(author)s: %(text)s" % hit["_source"])
4335

44-
.. testoutput::
45-
:hide:
46-
47-
True
48-
{u'text': u'Elasticsearch: cool. bonsai cool.', u'author': u'kimchy', u'timestamp': u'2010-10-10T10:10:10'}
49-
Got 1 Hits:
50-
2010-10-10T10:10:10 kimchy: Elasticsearch: cool. bonsai cool.
51-
5236
Features
5337
--------
5438

0 commit comments

Comments
 (0)