diff --git a/tests/postgres_tests/test_ranges.py b/tests/postgres_tests/test_ranges.py
index dd676f9..8e2f596 100644
a
|
b
|
class TestSerialization(PostgreSQLTestCase):
|
309 | 309 | self.assertEqual(instance.dates, DateRange(self.lower_date, self.upper_date)) |
310 | 310 | self.assertEqual(instance.timestamps, DateTimeTZRange(self.lower_dt, self.upper_dt)) |
311 | 311 | |
| 312 | def test_serialize_range_with_null(self): |
| 313 | instance = RangesModel(ints=NumericRange(None, 10)) |
| 314 | data = serializers.serialize('json', [instance]) |
| 315 | new_instance = list(serializers.deserialize('json', data))[0].object |
| 316 | self.assertEqual(new_instance.ints, NumericRange(None, 10)) |
| 317 | |
312 | 318 | |
313 | 319 | class TestValidators(PostgreSQLTestCase): |
314 | 320 | |