Skip to content

Commit 11ae3c0

Browse files
committed
PYTHON-1588 fix test/test_custom_types.py failures
1 parent 8f2d868 commit 11ae3c0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/test_custom_types.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -858,6 +858,7 @@ class TestCollectionChangeStreamsWCustomTypes(
858858
@client_context.require_no_standalone
859859
def setUpClass(cls):
860860
super(TestCollectionChangeStreamsWCustomTypes, cls).setUpClass()
861+
cls.db.test.delete_many({})
861862

862863
def tearDown(self):
863864
self.input_target.drop()
@@ -879,6 +880,7 @@ class TestDatabaseChangeStreamsWCustomTypes(
879880
@client_context.require_no_standalone
880881
def setUpClass(cls):
881882
super(TestDatabaseChangeStreamsWCustomTypes, cls).setUpClass()
883+
cls.db.test.delete_many({})
882884

883885
def tearDown(self):
884886
self.input_target.drop()
@@ -900,6 +902,7 @@ class TestClusterChangeStreamsWCustomTypes(
900902
@client_context.require_no_standalone
901903
def setUpClass(cls):
902904
super(TestClusterChangeStreamsWCustomTypes, cls).setUpClass()
905+
cls.db.test.delete_many({})
903906

904907
def tearDown(self):
905908
self.input_target.drop()

0 commit comments

Comments
 (0)