Skip to content
Permalink
Browse files

fix ab10559

  • Loading branch information
jef-n committed Mar 2, 2014
1 parent 3bd8b55 commit 2a7752d58964344a7d3fee19c9dba90fadd8cf01
Showing with 3 additions and 3 deletions.
  1. +3 −3 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

0 comments on commit 2a7752d

Please sign in to comment.
You can’t perform that action at this time.