drop redundant test

This commit is contained in:
Stefan Wojcik 2016-12-05 00:17:03 -05:00
parent 43668a93a2
commit ea9027755f

View File

@ -364,8 +364,6 @@ class QuerySetTest(unittest.TestCase):
# test invalid batch size
qs = A.objects.batch_size(-1)
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):
"""Test that passing write_concern works"""