fix difference in test for certain version of pymongo
This commit is contained in:
parent
8ef7213426
commit
94a7e813b1
@ -118,5 +118,5 @@ class TestFunkyEnumField(MongoDBTestCase):
|
||||
|
||||
m = ModelWithFunkyColor(color=FunkyColor.YELLOW)
|
||||
|
||||
with pytest.raises(InvalidDocument, match="cannot encode object"):
|
||||
with pytest.raises(InvalidDocument, match="[cC]annot encode object"):
|
||||
m.save()
|
||||
|
Loading…
x
Reference in New Issue
Block a user