Skip to content

Commit

Permalink
Fix deprecation warning regarding invalid escape sequences and compar…
Browse files Browse the repository at this point in the history
…ison of literals. (#80)
  • Loading branch information
tirkarthi authored May 27, 2021
1 parent c922704 commit 91e1fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/textfsm_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def testFSMValue(self):
# Escaped braces don't count.
self.assertRaises(textfsm.TextFSMTemplateError,
v.Parse,
'Value beer (boo\[)\]hoo)')
r'Value beer (boo\[)\]hoo)')

# String function.
v = textfsm.TextFSMValue(options_class=textfsm.TextFSMOptions)
Expand Down

0 comments on commit 91e1fed

Please sign in to comment.