

@no_mysql
def test_centroid(self):
    'Testing the `centroid` GeoQuerySet method.'
    qs = State.objects.exclude(poly__isnull=True).centroid()
    if oracle:
        tol = 0.1
    elif spatialite:
        tol = 1e-06
    else:
        tol = 1e-09
    for s in qs:
        self.assertEqual(True, s.poly.centroid.equals_exact(s.centroid, s))

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/gis/tests/geoapp/tests.py GeoQuerySetTest.test_centroid/VarMisuse@86/117 `tol`->`s`