summaryrefslogtreecommitdiff
path: root/tests/addressbook/test_external.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/addressbook/test_external.py')
-rw-r--r--tests/addressbook/test_external.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/addressbook/test_external.py b/tests/addressbook/test_external.py
index e38ec9e5..7a9ae983 100644
--- a/tests/addressbook/test_external.py
+++ b/tests/addressbook/test_external.py
@@ -24,7 +24,7 @@ class TestExternalAddressbookGetContacts(unittest.TestCase):
with self._patch_call_cmd(('', '', 42)):
with self.assertRaises(external.AddressbookError) as contextmgr:
abook.get_contacts()
- expected = u'abook command "foobar" returned with return code 42'
+ expected = 'abook command "foobar" returned with return code 42'
self.assertEqual(contextmgr.exception.args[0], expected)
def test_stderr_of_failing_command_is_part_of_exception_message(self):