Refine language in TypeError. Fixes
@@ -22,7 +22,7 @@ def set_keyring(keyring):
"""Set current keyring backend."""
global _keyring_backend
if not isinstance(keyring, backend.KeyringBackend):
- raise TypeError("The keyring must be a subclass of KeyringBackend")
+ raise TypeError("The keyring must be an instance of KeyringBackend")
_keyring_backend = keyring
