c1e30050aa
* #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
14 lines
446 B
Diff
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())
|
|
|
|
|