Skip to content

Commit 54860f6

Browse files
committed
Test suite fixes
1 parent 0d1e331 commit 54860f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_browser.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -3123,10 +3123,10 @@ def prep_no_SAB(self):
31233123

31243124
# Run a browser test both with and without wasm
31253125
def btest_wasm(self, *args, **kwargs):
3126-
print 'asm.js: ' + str(*args)
3126+
print('asm.js: ' + str(*args))
31273127
self.btest(*args, **kwargs)
31283128
if True:
3129-
print 'Wasm: ' + str(*args)
3129+
print('Wasm: ' + str(*args))
31303130
# TODO: some kind of cli flag to trigger this?
31313131
self.btest(*args, force_wasm=True, **kwargs)
31323132

@@ -3723,7 +3723,7 @@ def test_emscripten_animate_canvas_element_size(self):
37233723
# ['-DTEST_EXPLICIT_CONTEXT_SWAP=1', '-s', 'PROXY_TO_PTHREAD=1', '-s', 'USE_PTHREADS=1', '-s', 'OFFSCREENCANVAS_SUPPORT=1', '-DTEST_MANUALLY_SET_ELEMENT_CSS_SIZE=1', '-DTEST_TRANSFER_CANVAS_TO_PTHREAD=1']
37243724
]:
37253725
cmd = ['-lGL', '-O3', '-g2', '--shell-file', path_from_root('tests', 'canvas_animate_resize_shell.html'), '--separate-asm', '-s', 'GL_DEBUG=1', '--threadprofiler'] + args
3726-
print ' '.join(cmd)
3726+
print(' '.join(cmd))
37273727
self.btest('canvas_animate_resize.cpp', expected='1', args=cmd)
37283728

37293729
# Test that event backproxying works.

0 commit comments

Comments
 (0)