Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ names
Function
names
Lib/test/test_importlib/resources/test_resource.py:33–34 ·
view source on GitHub ↗
(traversable)
Source
from the content-addressed store, hash-verified
31
32
33
def
names(traversable):
34
return
{item.name
for
item in traversable.iterdir()}
35
36
37
class
ResourceLoaderTests(util.DiskSetup, unittest.TestCase):
Callers
8
test_resource_contents
Method · 0.70
test_submodule_contents
Method · 0.70
test_submodule_contents_by_name
Method · 0.70
test_unrelated_contents
Method · 0.70
test_submodule_contents
Method · 0.70
test_submodule_contents_by_name
Method · 0.70
test_submodule_sub_contents
Method · 0.70
test_submodule_sub_contents_by_name
Method · 0.70
Calls
1
iterdir
Method · 0.45
Tested by
no test coverage detected