Skip to content

Commit 2a7752d

Browse files
committedMar 2, 2014
fix ab10559
1 parent 3bd8b55 commit 2a7752d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎tests/src/python/utilities.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,14 +204,14 @@ def compareWkt(a, b, tol=0.000001):
204204
r1 = re.compile( "\s*,\s*" )
205205

206206
# compare the structure
207-
a0 = r1.sub( ",", r0.sub( "#", r ) )
207+
a0 = r1.sub( ",", r0.sub( "#", a ) )
208208
b0 = r1.sub( ",", r0.sub( "#", b ) )
209209
if a0 != b0:
210210
return False
211211

212212
# compare the numbers with given tolerance
213-
a0 = r.findall( a )
214-
b0 = r.findall( b )
213+
a0 = r0.findall( a )
214+
b0 = r0.findall( b )
215215
if len(a0) != len(b0):
216216
return False
217217

0 commit comments

Comments
 (0)
Please sign in to comment.