Skip to content

Commit f27c6fa

Browse files
committed
Relax test case for equavalent locations
1 parent 92ae071 commit f27c6fa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/location_util_tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ def test_get_full_location(self):
126126

127127
location_es = get_full_location("Seattle, Washington", "es")
128128
self.assertAlmostEqual(float(location_es['lat']),
129-
float(location_en['lat']), places=6)
129+
float(location_en['lat']), places=3)
130130
self.assertAlmostEqual(float(location_es['lon']),
131-
float(location_en['lon']), places=6)
131+
float(location_en['lon']), places=3)
132132
self.assertEqual(location_es['address']['country'],
133133
"Estados Unidos de América")
134134
self.assertEqual(location_en['address']['country_code'], "us")

0 commit comments

Comments
 (0)