Skip to content

Commit 0a6e7bc

Browse files
authored
PYTHON-3174 Don't reinit client_context.client (#899)
1 parent 474420b commit 0a6e7bc

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

test/test_raw_bson.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
from test import client_context, unittest
2222
from test.test_client import IntegrationTest
23-
from test.utils import rs_or_single_client
2423

2524
from bson import decode, encode
2625
from bson.binary import JAVA_LEGACY, Binary, UuidRepresentation
@@ -42,12 +41,6 @@ class TestRawBSONDocument(IntegrationTest):
4241
)
4342
document = RawBSONDocument(bson_string)
4443

45-
@classmethod
46-
def setUpClass(cls):
47-
super(TestRawBSONDocument, cls).setUpClass()
48-
client_context.client = rs_or_single_client()
49-
cls.client = client_context.client
50-
5144
def tearDown(self):
5245
if client_context.connected:
5346
self.client.pymongo_test.test_raw.drop()

0 commit comments

Comments
 (0)