on xenial help sign in
Fixed the check for string in the lock screen test.
commitcba979f8c62e2c6e2653bc8a57a337f02aaca72a authorLeo Arias <leo.arias@canonical.com> dateFri 20 Mar 2015, 08:50 (12 years ago) parentf1e1c45
1 file changed+1−1
tests/autopilot/unity8/shell/tests/test_lock_screen.py+1−1
tests/autopilot/unity8/shell/tests/test_lock_screen.py+1−1
@@ -135,7 +135,7 @@ class TestLockscreen(UnityTestCase):
135135 :raises: TypeError if passphrase is not a string.
136136
137137 """
138− if not isinstance(passphrase, basestring):
138+ if not isinstance(passphrase, str):
139139 raise TypeError(
140140 "'passphrase' parameter must be a string, not %r."
141141 % type(passphrase)