This commit is contained in:
Robert Smallshire
2015-02-26 20:23:01 +01:00
parent 17a6475e5b
commit 46ddafb37c
+1 -1
View File
@@ -15,7 +15,7 @@ class TestBatched(unittest.TestCase):
self.assertTrue(all(len(batch) == batch_size for batch in batches[:-1]))
@given([int],
integers_in_range(1, 1000))
integers_in_range(1, 1000))
def test_final_batch_sizes(self, items, batch_size):
assume(len(items) > 0)
assume(batch_size > 0)