Removed inline imports in test guards (use __import__ for programmatic imports). Simplified guards to remove unexecuted branches.
Removed inline imports in test guards (use __import__ for programmatic imports). Simplified guards to remove unexecuted branches.

jaraco/keyring