Skip to content

Commit fc1813b

Browse files
committed
Undo csot.apply additions
1 parent bfec2ae commit fc1813b

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

test/asynchronous/test_session.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,6 @@ async def test_cursor(self):
458458
f"{name} sent wrong lsid with {event.command_name}",
459459
)
460460

461-
@_csot.apply
462461
async def test_gridfs(self):
463462
client = self.client
464463
fs = AsyncGridFS(client.pymongo_test)
@@ -501,7 +500,6 @@ async def find_list(session=None):
501500
(fs.delete, [1], {}),
502501
)
503502

504-
@_csot.apply
505503
async def test_gridfs_bucket(self):
506504
client = self.client
507505
bucket = AsyncGridFSBucket(client.pymongo_test)
@@ -548,7 +546,6 @@ async def find(session=None):
548546
(bucket.delete, [2], {}),
549547
)
550548

551-
@_csot.apply
552549
async def test_gridfsbucket_cursor(self):
553550
client = self.client
554551
bucket = AsyncGridFSBucket(client.pymongo_test)

test/asynchronous/test_transactions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ async def create_and_insert(session):
240240
self.assertEqual(ctx.exception.code, 48) # NamespaceExists
241241

242242
@async_client_context.require_transactions
243-
@_csot.apply
244243
async def test_gridfs_does_not_support_transactions(self):
245244
client = async_client_context.client
246245
db = client.pymongo_test

test/test_session.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,6 @@ def test_cursor(self):
458458
f"{name} sent wrong lsid with {event.command_name}",
459459
)
460460

461-
@_csot.apply
462461
def test_gridfs(self):
463462
client = self.client
464463
fs = GridFS(client.pymongo_test)
@@ -501,7 +500,6 @@ def find_list(session=None):
501500
(fs.delete, [1], {}),
502501
)
503502

504-
@_csot.apply
505503
def test_gridfs_bucket(self):
506504
client = self.client
507505
bucket = GridFSBucket(client.pymongo_test)
@@ -548,7 +546,6 @@ def find(session=None):
548546
(bucket.delete, [2], {}),
549547
)
550548

551-
@_csot.apply
552549
def test_gridfsbucket_cursor(self):
553550
client = self.client
554551
bucket = GridFSBucket(client.pymongo_test)

test/test_transactions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ def create_and_insert(session):
232232
self.assertEqual(ctx.exception.code, 48) # NamespaceExists
233233

234234
@client_context.require_transactions
235-
@_csot.apply
236235
def test_gridfs_does_not_support_transactions(self):
237236
client = client_context.client
238237
db = client.pymongo_test

0 commit comments

Comments
 (0)