We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ebf76b commit a2ba6cbCopy full SHA for a2ba6cb
doc/conf.py
@@ -105,7 +105,7 @@
105
client = MongoClient()
106
client.drop_database("doctest_test")
107
db = client.doctest_test
108
-server_major_version = int(client.server_info()['version'].split()[0])
+server_major_version = int(client.server_info()['version'].split()[-1][0])
109
"""
110
111
# -- Options for HTML output ---------------------------------------------------
0 commit comments