Skip to content

Commit

Permalink
Merge pull request #151 from wimglenn/deprecated-escape
Browse files Browse the repository at this point in the history
fix deprecation warning about invalid escape sequence
  • Loading branch information
cjw296 committed Dec 15, 2020
2 parents b57d77e + efb826e commit ba447e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testfixtures/comparison.py
Expand Up @@ -305,7 +305,8 @@ def compare_set(x, y, context):
))
return '\n'.join(lines)+'\n'

trailing_whitespace_re = compile('\s+$', MULTILINE)

trailing_whitespace_re = compile(r'\s+$', MULTILINE)


def strip_blank_lines(text):
Expand Down

0 comments on commit ba447e6

Please sign in to comment.