From 4f02adbf5390187cf3a86037657a3caf53183630 Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Tue, 21 Mar 2017 18:04:41 +0500 Subject: [PATCH] [1.11.x] Fixed #27965 -- Fixed precision comparison in a geoforms test (refs #27939). Backport of 816c5753ac554b2af710aebc98ad60fd5823e03f from master --- tests/gis_tests/test_geoforms.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/gis_tests/test_geoforms.py b/tests/gis_tests/test_geoforms.py index b941e94e42..437a828e47 100644 --- a/tests/gis_tests/test_geoforms.py +++ b/tests/gis_tests/test_geoforms.py @@ -1,4 +1,3 @@ -import json import re from django.contrib.gis import forms @@ -115,8 +114,9 @@ class GeometryFieldTest(SimpleTestCase): # The first point can't use assertInHTML() due to non-deterministic # ordering of the rendered dictionary. pt1_serialized = re.search(r'