summaryrefslogtreecommitdiff
path: root/tests/settings
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/settings
parentbbb96525c08f0c6ee9fc93e0dd0ccb3abfd1dca8 (diff)
Remove unicode literals syntax from python2
Diffstat (limited to 'tests/settings')
-rw-r--r--tests/settings/test_manager.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/settings/test_manager.py b/tests/settings/test_manager.py
index aa2e1e8d..6548ee82 100644
--- a/tests/settings/test_manager.py
+++ b/tests/settings/test_manager.py
@@ -272,17 +272,17 @@ class TestSettingsManagerGetAccountByAddress(utilities.TestCaseClassCleanup):
cls.manager.read_config(f.name)
def test_exists_addr(self):
- acc = self.manager.account_matching_address(u'that_guy@example.com')
+ acc = self.manager.account_matching_address('that_guy@example.com')
self.assertEqual(acc.realname, 'That Guy')
def test_doesnt_exist_return_default(self):
- acc = self.manager.account_matching_address(u'doesntexist@example.com',
+ acc = self.manager.account_matching_address('doesntexist@example.com',
return_default=True)
self.assertEqual(acc.realname, 'That Guy')
def test_doesnt_exist_raise(self):
with self.assertRaises(NoMatchingAccount):
- self.manager.account_matching_address(u'doesntexist@example.com')
+ self.manager.account_matching_address('doesntexist@example.com')
def test_doesnt_exist_no_default(self):
with tempfile.NamedTemporaryFile() as f: