Skip to content

Commit 6360d04

Browse files
Merge pull request #1129 from johnhaddon/escapingFix
StringAlgoTest : Fix escaping for Py3
2 parents bb529b7 + f582c06 commit 6360d04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/IECore/StringAlgoTest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ def testMatchMultiple( self ) :
137137
( "apple ball", "apple ball", False ),
138138
# Does match, because the escaping leaves us with a single pattern
139139
# containing a space.
140-
( "a b", "a\ b", True ),
141-
( "apple ball", "apple\ ball", True ),
140+
( "a b", r"a\ b", True ),
141+
( "apple ball", r"apple\ ball", True ),
142142
] :
143143

144144
if r :

0 commit comments

Comments
 (0)