From 2a7752d58964344a7d3fee19c9dba90fadd8cf01 Mon Sep 17 00:00:00 2001 From: "Juergen E. Fischer" Date: Sun, 2 Mar 2014 03:22:58 +0100 Subject: [PATCH] fix ab105599b --- tests/src/python/utilities.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/src/python/utilities.py b/tests/src/python/utilities.py index 6070d63b5fe4..212d17136ecb 100644 --- a/tests/src/python/utilities.py +++ b/tests/src/python/utilities.py @@ -204,14 +204,14 @@ def compareWkt(a, b, tol=0.000001): r1 = re.compile( "\s*,\s*" ) # compare the structure - a0 = r1.sub( ",", r0.sub( "#", r ) ) + a0 = r1.sub( ",", r0.sub( "#", a ) ) b0 = r1.sub( ",", r0.sub( "#", b ) ) if a0 != b0: return False # compare the numbers with given tolerance - a0 = r.findall( a ) - b0 = r.findall( b ) + a0 = r0.findall( a ) + b0 = r0.findall( b ) if len(a0) != len(b0): return False