Skip to content

Commit 1d29b82

Browse files
author
Erdenezul Batmunkh
committed
Remove save method from test
1 parent 3caf2dc commit 1d29b82

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/document/instance.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3200,10 +3200,6 @@ class Doc(Document):
32003200
doc = Doc(emb=Embedded()).save()
32013201
doc.emb.save() # Make sure its still working
32023202
with warnings.catch_warnings():
3203-
warnings.simplefilter("error", DeprecationWarning)
3204-
with self.assertRaises(DeprecationWarning):
3205-
doc.emb.save()
3206-
32073203
with self.assertRaises(DeprecationWarning):
32083204
doc.emb.reload()
32093205

0 commit comments

Comments
 (0)