

def test_filtering_skipped_with_out_of_range_value(self):
    qs = mock.Mock(spec=[])
    f = DateRangeFilter()
    with self.assertRaises(AssertionError):
        f.filter(qs, 999)

dataset/ETHPy150Open carltongibson/django-filter/tests/test_filters.py DateRangeFilterTests.test_filtering_skipped_with_out_of_range_value/original