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

Method test_builtin_function

Lib/test/test_crossinterp.py:975–985  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

973 if cls in shareable)
974
975 def test_builtin_function(self):
976 functions = [
977 len,
978 sys.is_finalizing,
979 sys.exit,
980 _testinternalcapi.get_crossinterp_data,
981 ]
982 for func in functions:
983 assert type(func) is types.BuiltinFunctionType, func
984
985 self.assert_not_shareable(functions)
986
987 def test_builtin_exception(self):
988 msg = 'error!'

Callers

nothing calls this directly

Calls 1

assert_not_shareableMethod · 0.80

Tested by

no test coverage detected