Skip to content

Commit 315b899

Browse files
committed
[GR-17647] Abstract guest vm config properties.
PullRequest: graalpython/616
2 parents ea4205c + eb11299 commit 315b899

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mx.graalpython/mx_graalpython_benchmark.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ def _check_vm_args(name, args):
7575
"got {} instead".format(args))
7676

7777

78+
def is_sandboxed_configuration(conf):
79+
return conf == CONFIGURATION_SANDBOXED or conf == CONFIGURATION_SANDBOXED_MULTI
80+
81+
7882
@contextmanager
7983
def environ(env):
8084
def _handle_var((k, v)):

0 commit comments

Comments
 (0)