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

Function also_without_bigint

test/decorators.py:419–434  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

417
418
419def also_without_bigint(func):
420 assert callable(func)
421
422 @wraps(func)
423 def metafunc(self, no_bigint, *args, **kwargs):
424 if DEBUG:
425 print('parameterize:no_bigint=%s' % no_bigint)
426 if no_bigint:
427 if self.get_setting('WASM_BIGINT') is not None:
428 self.skipTest('redundant in bigint test config')
429 self.set_setting('WASM_BIGINT', 0)
430 return func(self, *args, **kwargs)
431
432 parameterize(metafunc, {'': (False,),
433 'no_bigint': (True,)})
434 return metafunc
435
436
437def also_with_wasm64(func):

Callers

nothing calls this directly

Calls 1

parameterizeFunction · 0.85

Tested by

no test coverage detected