Skip to content

Commit d588799

Browse files
committed
Fix style in mx_graalpython.py
1 parent 690551d commit d588799

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,8 @@ def run_python_unittests(python_binary, args=None, paths=None, aot_compatible=Tr
598598
return mx.run([python_binary] + args, nonZeroIsFatal=True, env=env)
599599

600600

601-
def run_hpy_unittests(python_binary, args=[]):
601+
def run_hpy_unittests(python_binary, args=None):
602+
args = [] if args is None else args
602603
with tempfile.TemporaryDirectory(prefix='hpy-test-site-') as d:
603604
env = os.environ.copy()
604605
prefix = str(d)

0 commit comments

Comments
 (0)