python-keyring/support-new-importlib.patch
Steve Kowalik c1e30050aa - Update to 23.2.1:
* #530: In libsecret tests, use a session collection to allow tests
    to pass on Debian.
  * #521: Add libsecret backend.
  * #519: macOS backend APIs updated to newer, non-legacy APIs.
- Add patch support-new-importlib.patch:
  * Support new importlib-metadata.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=92
2021-09-24 09:22:36 +00:00

14 lines
446 B
Diff

Index: keyring-23.2.1/tests/test_packaging.py
===================================================================
--- keyring-23.2.1.orig/tests/test_packaging.py
+++ keyring-23.2.1/tests/test_packaging.py
@@ -9,7 +9,7 @@ def test_entry_point():
that's a callable.
"""
matches = metadata.entry_points(group='console_scripts', name='keyring')
- (script,) = matches
+ script = matches[0]
assert callable(script.load())