Skip to content

Commit f2649ca

Browse files
committed
Fix type in @also_with_modularize test decorator. NFC
This was added incorrectly in #24555
1 parent d15678b commit f2649ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ def also_with_modularize(f):
683683
@wraps(f)
684684
def metafunc(self, modularize, *args, **kwargs):
685685
if modularize:
686-
if '-sWASM_ESM_INTEGRATION':
686+
if '-sWASM_ESM_INTEGRATION' in self.cflags:
687687
self.skipTest('also_with_modularize is not compatible with WASM_ESM_INTEGRATION')
688688
self.cflags += ['--extern-post-js', test_file('modularize_post_js.js'), '-sMODULARIZE']
689689
f(self, *args, **kwargs)

0 commit comments

Comments
 (0)