Skip to content

Commit

Permalink
fix ab10559
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Mar 2, 2014
1 parent 3bd8b55 commit 2a7752d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/src/python/utilities.py
Expand Up @@ -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

Expand Down

0 comments on commit 2a7752d

Please sign in to comment.