diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-08-31 10:54:40 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-08-31 10:54:40 +0200 |
commit | a1adc46fc886aeb41be152583dc4bbfdae7706d4 (patch) | |
tree | c3b6776eb8012947ad72f6fa8f822242528a731c /tests | |
parent | 03e7d423be2e4dfd5abc64633fc06cbbd58acfc4 (diff) | |
download | searxng-a1adc46fc886aeb41be152583dc4bbfdae7706d4.tar.gz searxng-a1adc46fc886aeb41be152583dc4bbfdae7706d4.zip |
[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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/test_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py index 2c244966b..91ec2499d 100644 --- a/tests/unit/test_utils.py +++ b/tests/unit/test_utils.py @@ -114,9 +114,9 @@ class TestUtils(SearxTestCase): def test_ecma_unscape(self): self.assertEqual(utils.ecma_unescape('text%20with%20space'), 'text with space') 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'), - u'text using %u: 吉, 世界') + 'text using %u: 吉, 世界') class TestHTMLTextExtractor(SearxTestCase): |