@skipUnlessDBFeature("has_MemSize_function")
    def test_memsize(self):
        ptown = City.objects.annotate(size=functions.MemSize('point')).get(name='Pueblo')
        self.assertTrue(20 <= ptown.size <= 40)  # Exact value may depend on PostGIS version
dataset/ETHPy150Open django/django/tests/gis_tests/geoapp/test_functions.py/GISFunctionsTests.test_memsize/original