mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed all E261 warnings
This commit is contained in:
@@ -423,7 +423,7 @@ class LocationCommentsTests(ExtractorTests):
|
||||
|
||||
# #21208 -- Leaky paths in comments on Windows e.g. #: path\to\file.html.py:123
|
||||
bad_suffix = '.py'
|
||||
bad_string = 'templates%stest.html%s' % (os.sep, bad_suffix) #
|
||||
bad_string = 'templates%stest.html%s' % (os.sep, bad_suffix)
|
||||
self.assertFalse(bad_string in po_contents, '"%s" shouldn\'t be in final .po file.' % bad_string)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user