MCPcopy Index your code
hub / github.com/python/cpython / test_sortable

Method test_sortable

Lib/test/test_importlib/metadata/test_main.py:333–340  ·  view source on GitHub ↗

EntryPoint objects are sortable, but result is undefined.

(self)

Source from the content-addressed store, hash-verified

331 assert self.ep.attr is None
332
333 def test_sortable(self):
334 """
335 EntryPoint objects are sortable, but result is undefined.
336 """
337 sorted([
338 EntryPoint(name='b', value='val', group='group'),
339 EntryPoint(name='a', value='val', group='group'),
340 ])
341
342
343class FileSystem(

Callers

nothing calls this directly

Calls 1

EntryPointClass · 0.90

Tested by

no test coverage detected