forked from github/pelican
Merge pull request #2130 from ingwinlu/more_py36_regex_warnings
Fix more Python 3.6 regex warnings
This commit is contained in:
commit
fa1d4d937c
5 changed files with 30 additions and 30 deletions
|
|
@ -105,7 +105,7 @@ class TestPage(LoggedTestCase):
|
|||
self.assertEqual(page._get_summary(), TEST_SUMMARY)
|
||||
self.assertLogCountEqual(
|
||||
count=1,
|
||||
msg="_get_summary\(\) has been deprecated since 3\.6\.4\. "
|
||||
msg=r"_get_summary\(\) has been deprecated since 3\.6\.4\. "
|
||||
"Use the summary decorator instead",
|
||||
level=logging.WARNING)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue