summaryrefslogtreecommitdiff
path: root/tests/widgets
diff options
context:
space:
mode:
authorLucas Hoffmann <lucc@posteo.de>2019-11-04 08:00:10 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2019-11-06 10:54:00 +0000
commit414ca6c4b57752d139598e95e06009c55ff4543c (patch)
treea77d60aaf05f2c75224df95f7481f7328e414e7a /tests/widgets
parentbbb96525c08f0c6ee9fc93e0dd0ccb3abfd1dca8 (diff)
Remove unicode literals syntax from python2
Diffstat (limited to 'tests/widgets')
-rw-r--r--tests/widgets/test_globals.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/widgets/test_globals.py b/tests/widgets/test_globals.py
index 72e6f77e..02918402 100644
--- a/tests/widgets/test_globals.py
+++ b/tests/widgets/test_globals.py
@@ -40,7 +40,7 @@ class TestTagWidget(unittest.TestCase):
def test_hash_for_unicode_representation(self):
with mock.patch(
'alot.widgets.globals.settings.get_tagstring_representation',
- lambda _, __, ___: {'translated': u'✉', 'normal': None,
+ lambda _, __, ___: {'translated': '✉', 'normal': None,
'focussed': None}):
# We don't have to assert anything, we just want the hash to be
# computed without an exception. The implementation currently