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

Function also_with_fetch_streaming

test/decorators.py:454–466  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

452
453
454def also_with_fetch_streaming(f):
455 assert callable(f)
456
457 @wraps(f)
458 def metafunc(self, with_fetch, *args, **kwargs):
459 if with_fetch:
460 self.set_setting('FETCH_STREAMING', '2')
461 self.cflags += ['-DSKIP_SYNC_FETCH_TESTS']
462 f(self, *args, **kwargs)
463
464 parameterize(metafunc, {'': (False,),
465 'fetch_backend': (True,)})
466 return metafunc
467
468
469def also_with_wasm2js(func):

Callers

nothing calls this directly

Calls 1

parameterizeFunction · 0.85

Tested by

no test coverage detected