MCPcopy Create free account
hub / github.com/catboost/catboost / _get_state

Function _get_state

library/python/pytest/rewrite.py:25–28  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

23
24
25def _get_state(config):
26 if hasattr(config, '_assertstate'):
27 return config._assertstate
28 return config._store[rewrite.assertstate_key]
29
30
31class AssertionRewritingHook(rewrite.AssertionRewritingHook):

Callers 2

_find_moduleMethod · 0.85
_rewrite_testFunction · 0.85

Calls 1

hasattrFunction · 0.85

Tested by

no test coverage detected