def test_range_object_boundaries(self):
        r = NumericRange(0, 10, '[]')
        instance = RangesModel(floats=r)
        instance.save()
        loaded = RangesModel.objects.get()
        self.assertEqual(r, loaded.floats)
        self.assertTrue(loaded.floats in 10)
dataset/ETHPy150Open django/django/tests/postgres_tests/test_ranges.py/TestSaveLoad.test_range_object_boundaries/swapped operands of `in`