Fix monkeypatch argument in test_packaging. Fixes
@@ -17,5 +17,5 @@ def test_missing_metadata(monkeypatch):
"""
_load_plugins should pass when keyring metadata is missing.
"""
- monkeypatch.setattr(metadata, 'entry_points', metadata.EntryPoints)
+ monkeypatch.setattr(metadata, 'entry_points', metadata.EntryPoints().select)
backend._load_plugins()
