Skip to content

Commit 7a4cbd8

Browse files
committed
update skips
1 parent 2b64885 commit 7a4cbd8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/examples/client_bulk.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ Client Bulk Write Operations
22
=============================
33

44
.. testsetup::
5-
:skipif: server_major_version < 8
65

76
from pymongo import MongoClient
87

@@ -47,6 +46,7 @@ summary of the types of operations performed in the bulk write, along with their
4746

4847
.. doctest::
4948
:options: +NORMALIZE_WHITESPACE
49+
:skipif: server_major_version < 8
5050

5151
>>> from pymongo import InsertOne, DeleteOne, UpdateOne
5252
>>> models = [
@@ -80,6 +80,7 @@ instance will also include detailed results about each successful operation perf
8080

8181
.. doctest::
8282
:options: +NORMALIZE_WHITESPACE
83+
:skipif: server_major_version < 8
8384

8485
>>> from pymongo import InsertOne, DeleteMany, ReplaceOne, UpdateMany
8586
>>> models = [
@@ -126,6 +127,7 @@ For example, a duplicate key error on the third operation below aborts the remai
126127

127128
.. doctest::
128129
:options: +NORMALIZE_WHITESPACE
130+
:skipif: server_major_version < 8
129131

130132
>>> from pymongo import InsertOne, DeleteOne
131133
>>> from pymongo.errors import ClientBulkWriteException
@@ -162,6 +164,7 @@ For example, the fourth and fifth write operations below get executed successful
162164

163165
.. doctest::
164166
:options: +NORMALIZE_WHITESPACE
167+
:skipif: server_major_version < 8
165168

166169
>>> from pymongo import InsertOne, DeleteOne
167170
>>> from pymongo.errors import ClientBulkWriteException

0 commit comments

Comments
 (0)