MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / decorated

Function decorated

test/decorators.py:37–43  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

35
36 @wraps(func)
37 def decorated(self, *args, **kwargs):
38 if condition(self):
39 explanation_str = name
40 if note:
41 explanation_str += ': %s' % note
42 self.skipTest(explanation_str)
43 return func(self, *args, **kwargs)
44
45 return decorated
46

Callers

nothing calls this directly

Calls 13

parameterizeFunction · 0.85
require_nodeMethod · 0.80
require_node_25Method · 0.80
require_node_26Method · 0.80
require_wasm64Method · 0.80
require_wasm_ehMethod · 0.80
require_v8Method · 0.80
require_wasm2jsMethod · 0.80
require_pthreadsMethod · 0.80
set_settingMethod · 0.80
fFunction · 0.70
funcFunction · 0.50

Tested by

no test coverage detected