summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-07-19 07:56:15 -0400
committerTim Graham <timograham@gmail.com>2016-07-19 09:08:46 -0400
commit081fdaf110386db940d834ba51d93e23aa293fcd (patch)
tree33fdd6cc384a841130b30939059ee9ddf91e90af
parentbc53af13cbf09b0cbac945426c2d51d0ca52fff3 (diff)
Fixed a GeoIP test failure with the latest data.
-rw-r--r--tests/gis_tests/test_geoip.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gis_tests/test_geoip.py b/tests/gis_tests/test_geoip.py
index 02494f88b6..8b573b7b05 100644
--- a/tests/gis_tests/test_geoip.py
+++ b/tests/gis_tests/test_geoip.py
@@ -136,8 +136,8 @@ class GeoIPTest(unittest.TestCase):
lat_lon = g.lat_lon(query)
lat_lon = (lat_lon[1], lat_lon[0])
for tup in (geom.tuple, g.coords(query), g.lon_lat(query), lat_lon):
- self.assertAlmostEqual(lon, tup[0], 4)
- self.assertAlmostEqual(lat, tup[1], 4)
+ self.assertAlmostEqual(lon, tup[0], 0)
+ self.assertAlmostEqual(lat, tup[1], 0)
def test05_unicode_response(self):
"Testing that GeoIP strings are properly encoded, see #16553."