Skip to content

Commit 9201f9e

Browse files
committed
Fix typo @@ and add comment in disabled test_main_thread_em_asm
1 parent ea92fdd commit 9201f9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,7 +1611,7 @@ def test_em_asm_2(self):
16111611
# Tests various different ways to invoke the MAIN_THREAD_EM_ASM(), MAIN_THREAD_EM_ASM_INT() and MAIN_THREAD_EM_ASM_DOUBLE() macros.
16121612
# This test is identical to test_em_asm_2, just search-replaces EM_ASM to MAIN_THREAD_EM_ASM on the test file. That way if new
16131613
# test cases are added to test_em_asm_2.cpp for EM_ASM, they will also get tested in MAIN_THREAD_EM_ASM form.
1614-
@@no_wasm_backend
1614+
@no_wasm_backend('Proxying EM_ASM calls is not yet implemented in Wasm backend')
16151615
def test_main_thread_em_asm(self):
16161616
src = open(path_from_root('tests', 'core', 'test_em_asm_2.cpp'), 'r').read()
16171617
test_file = 'src.cpp'
@@ -1624,7 +1624,7 @@ def test_main_thread_em_asm(self):
16241624
self.do_run_from_file(test_file, expected_result_file)
16251625
self.do_run_from_file(test_file, expected_result_file, force_c=True)
16261626

1627-
@no_wasm_backend
1627+
@no_wasm_backend('Proxying EM_ASM calls is not yet implemented in Wasm backend')
16281628
def test_main_thread_async_em_asm(self):
16291629
self.do_run_in_out_file_test('tests', 'core', 'test_main_thread_async_em_asm')
16301630
self.do_run_in_out_file_test('tests', 'core', 'test_main_thread_async_em_asm', force_c=True)

0 commit comments

Comments
 (0)