Skip to content

Commit

Permalink
Fix warnings regarding invalid escape sequences. (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
tirkarthi committed Dec 22, 2020
1 parent 13c6b6b commit c53512b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/core/helper_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@ def test_probably_regex(self):
self.assertTrue(probably_regex("http://*.example.com"))
self.assertTrue(probably_regex("*"))
self.assertFalse(probably_regex("http://example.com"))
self.assertTrue(probably_regex("http://[\w].example.com"))
self.assertTrue(probably_regex("http://\w+.example.com"))
self.assertTrue(probably_regex(r"http://[\w].example.com"))
self.assertTrue(probably_regex(r"http://\w+.example.com"))
self.assertTrue(probably_regex("https?://example.com"))

0 comments on commit c53512b

Please sign in to comment.