PYTHON-1607 - Stop testing eval and SystemJS with MongoDB 4.1+
This commit is contained in:
parent
587e448b69
commit
356eed66f5
@ -721,6 +721,7 @@ class TestDatabase(IntegrationTest):
|
||||
projection={"_id": False}))
|
||||
|
||||
@client_context.require_no_auth
|
||||
@client_context.require_version_max(4, 1, 0)
|
||||
def test_eval(self):
|
||||
db = self.client.pymongo_test
|
||||
db.test.drop()
|
||||
@ -824,6 +825,7 @@ class TestDatabase(IntegrationTest):
|
||||
self.assertFalse(db.test.find_one())
|
||||
|
||||
@client_context.require_no_auth
|
||||
@client_context.require_version_max(4, 1, 0)
|
||||
def test_system_js(self):
|
||||
db = self.client.pymongo_test
|
||||
db.system.js.delete_many({})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user