Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ test_resfs_read
Function
test_resfs_read
library/python/resource/ut/test_simple.py:31–33 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
29
30
31
def
test_resfs_read():
32
metadata_path =
"contrib/python/py/py{}/.dist-info/METADATA"
.format(
"2"
if
six.PY2
else
"3"
)
33
assert
"Metadata-Version"
in rs.resfs_read(metadata_path).decode(
"utf-8"
)
Callers
nothing calls this directly
Calls
2
format
Method · 0.45
decode
Method · 0.45
Tested by
no test coverage detected