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 974ebfa commit 2ebf76bCopy full SHA for 2ebf76b
doc/conf.py
@@ -105,6 +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])
109
"""
110
111
# -- Options for HTML output ---------------------------------------------------
doc/examples/client_bulk.rst
@@ -2,6 +2,7 @@ Client Bulk Write Operations
2
=============================
3
4
.. testsetup::
5
+ :skipif: server_major_version < 8
6
7
from pymongo import MongoClient
8
0 commit comments