def test_take(self):
    c = Collection([1, 2, 3, 4, 5, 6])
    self.assertEqual([1, 2, 3], c.take(3).all())
    self.assertEqual([4, 5, 6], c.take((- 3)).all())
def test_take(self):
    c = Collection([1, 2, 3, 4, 5, 6])
    self.assertEqual([1, 2, 3], c.take(3).all())
    self.assertEqual([4, 5, 6], c.take((- 3)).all())