Skip to content

Commit

Permalink
Remove deprecated warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimegildesagredo committed Oct 25, 2018
1 parent bb82213 commit d74c1d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/testing/failure_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def callback():
with context('with message'):
with before.each:
self.message = "to be 'bar'"
self.pattern = "to be '\w+'"
self.pattern = r"to be '\w+'"

with it('passes if assertion raised and message ends with'):
with failure(self.message):
Expand Down

0 comments on commit d74c1d6

Please sign in to comment.