forked from Ponysearch/Ponysearch
[pylint] Pylint 2.10 - fix redundant-u-string-prefix
Pylint 2.10 added new default checks [1]: redundant-u-string-prefix: Emitted when the u prefix is added to a string [1] https://pylint.pycqa.org/en/latest/whatsnew/2.10.html [2] https://github.com/PyCQA/pylint/issues/4102 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
03e7d423be
commit
a1adc46fc8
1 changed files with 2 additions and 2 deletions
|
@ -114,9 +114,9 @@ class TestUtils(SearxTestCase):
|
||||||
def test_ecma_unscape(self):
|
def test_ecma_unscape(self):
|
||||||
self.assertEqual(utils.ecma_unescape('text%20with%20space'), 'text with space')
|
self.assertEqual(utils.ecma_unescape('text%20with%20space'), 'text with space')
|
||||||
self.assertEqual(utils.ecma_unescape('text using %xx: %F3'),
|
self.assertEqual(utils.ecma_unescape('text using %xx: %F3'),
|
||||||
u'text using %xx: ó')
|
'text using %xx: ó')
|
||||||
self.assertEqual(utils.ecma_unescape('text using %u: %u5409, %u4E16%u754c'),
|
self.assertEqual(utils.ecma_unescape('text using %u: %u5409, %u4E16%u754c'),
|
||||||
u'text using %u: 吉, 世界')
|
'text using %u: 吉, 世界')
|
||||||
|
|
||||||
|
|
||||||
class TestHTMLTextExtractor(SearxTestCase):
|
class TestHTMLTextExtractor(SearxTestCase):
|
||||||
|
|
Loading…
Reference in a new issue