drop redundant test
This commit is contained in:
parent
43668a93a2
commit
ea9027755f
@ -364,8 +364,6 @@ class QuerySetTest(unittest.TestCase):
|
|||||||
# test invalid batch size
|
# test invalid batch size
|
||||||
qs = A.objects.batch_size(-1)
|
qs = A.objects.batch_size(-1)
|
||||||
self.assertRaises(ValueError, lambda: list(qs))
|
self.assertRaises(ValueError, lambda: list(qs))
|
||||||
qs = A.objects.filter(s='1').batch_size('not a number')
|
|
||||||
self.assertRaises(TypeError, lambda: [doc for doc in qs])
|
|
||||||
|
|
||||||
def test_update_write_concern(self):
|
def test_update_write_concern(self):
|
||||||
"""Test that passing write_concern works"""
|
"""Test that passing write_concern works"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user