@@ -135,7 +135,7 @@ class TestLockscreen(UnityTestCase):
135 :raises: TypeError if passphrase is not a string.
135 :raises: TypeError if passphrase is not a string.
138− if not isinstance(passphrase, basestring):
138+ if not isinstance(passphrase, str):
139 raise TypeError(
139 raise TypeError(
140 "'passphrase' parameter must be a string, not %r."
140 "'passphrase' parameter must be a string, not %r."
141 % type(passphrase)
141 % type(passphrase)