Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
a49252b
Add explicit interfaces for loaded entrypoints, resolvable first by g…
jaraco Jan 23, 2021
6596183
Update tests to use new preferred API.
jaraco Jan 23, 2021
b5081fa
Capture the legacy expectation.
jaraco Jan 23, 2021
99dd224
Deprecate dict construction from EntryPoint items.
jaraco Jan 23, 2021
2eeb629
Suppress warning in test_json_dump.
jaraco Jan 23, 2021
eedd810
Add 'groups' and 'names' to EntryPoints collections.
jaraco Jan 23, 2021
720362f
Update documentation on EntryPoints to reflect the new, preferred acc…
jaraco Jan 23, 2021
28adeb8
Update changelog.
jaraco Jan 23, 2021
342a94b
Add deprecated .get to GroupedEntryPoints and test to capture expecta…
jaraco Jan 23, 2021
9448e13
Make entry point collections (more) immutable.
jaraco Feb 15, 2021
71fd4a7
Hide the deprecation warning from flake8 users
jaraco Feb 16, 2021
8320ade
Instead of presenting separate contexts for EntryPoints, unify into a…
jaraco Feb 17, 2021
f80f79d
Merge branch 'main' into feature/entry-points-by-group-and-name
jaraco Feb 21, 2021
e3d1b93
Update changelog.
jaraco Feb 21, 2021
9d55a33
Separate compatibility shim from canonical EntryPoints container.
jaraco Feb 22, 2021
d6f7c20
Add docstrings to the compatibility shim. Give primacy to group looku…
jaraco Feb 23, 2021
2db4dad
Introduce SelectableGroups, created for the 3.x line to provide forwa…
jaraco Feb 23, 2021
2def046
Address coverage misses, ignored for LegacyGroupedEntryPoints.
jaraco Feb 23, 2021
dd8da47
Leverage EntryPoints interfaces in SelectableGroups
jaraco Feb 23, 2021
bdce7ef
Merge branch 'main' into feature/entry-points-by-group-and-name
jaraco Feb 24, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Suppress warning in test_json_dump.
  • Loading branch information
jaraco committed Jan 23, 2021
commit 2eeb629021d7218516f5ee43de51b8d93d32828a
4 changes: 3 additions & 1 deletion tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import pickle
import textwrap
import unittest
import warnings
import importlib
import importlib_metadata
import pyfakefs.fake_filesystem_unittest as ffs
Expand Down Expand Up @@ -247,7 +248,8 @@ def test_json_dump(self):
json should not expect to be able to dump an EntryPoint
"""
with self.assertRaises(Exception):
json.dumps(self.ep)
with warnings.catch_warnings(record=True):
json.dumps(self.ep)

def test_module(self):
assert self.ep.module == 'value'
Expand Down