Skip to content

Commit 8b61b94

Browse files
authored
Remove duplicate also_with_wasmfs test decorator. NFC (#24875)
1 parent 0ba2fc2 commit 8b61b94

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

test/test_browser.py

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from common import create_file, parameterized, ensure_dir, disabled, test_file, WEBIDL_BINDER
2525
from common import read_file, EMRUN, no_wasm64, no_2gb, no_4gb, copytree
2626
from common import requires_wasm2js, parameterize, find_browser_test_file, with_all_sjlj
27-
from common import also_with_minimal_runtime, also_with_wasm2js, also_with_asan
27+
from common import also_with_minimal_runtime, also_with_wasm2js, also_with_asan, also_with_wasmfs
2828
from tools import shared
2929
from tools import ports
3030
from tools.shared import EMCC, WINDOWS, FILE_PACKAGER, PIPE, DEBUG
@@ -77,26 +77,6 @@ def do_GET(s):
7777
httpd.handle_request()
7878

7979

80-
def also_with_wasmfs(f):
81-
assert callable(f)
82-
83-
@wraps(f)
84-
def metafunc(self, wasmfs, *args, **kwargs):
85-
if DEBUG:
86-
print('parameterize:wasmfs=%d' % wasmfs)
87-
if wasmfs:
88-
self.set_setting('WASMFS')
89-
self.cflags = self.cflags.copy() + ['-DWASMFS']
90-
f(self, *args, **kwargs)
91-
else:
92-
f(self, *args, **kwargs)
93-
94-
parameterize(metafunc, {'': (False,),
95-
'wasmfs': (True,)})
96-
97-
return metafunc
98-
99-
10080
def also_with_proxying(f):
10181
assert callable(f)
10282

0 commit comments

Comments
 (0)