@@ -1124,6 +1124,9 @@ def run_python_unittests(python_binary, args=None, paths=None, aot_compatible=Fa
11241124 env ['PYTHONHASHSEED' ] = '0'
11251125 delete_bad_env_keys (env )
11261126
1127+ if mx .primary_suite () != SUITE :
1128+ env .setdefault ("GRAALPYTEST_ALLOW_NO_JAVA_ASSERTIONS" , "true" )
1129+
11271130 # list of excluded tests
11281131 if aot_compatible :
11291132 exclude += AOT_INCOMPATIBLE_TESTS
@@ -1938,7 +1941,7 @@ def update_import_cmd(args):
19381941 overlaytip = str (vc .tip (overlaydir )).strip ()
19391942
19401943 # update ci import in all our repos, commit the full update
1941- prev_verbosity = mx ._opts .very_verbose
1944+ prev_verbosity = mx .get_opts () .very_verbose
19421945 for repo in repos :
19431946 jsonnetfile = os .path .join (repo , "ci.jsonnet" )
19441947 with open (jsonnetfile , "w" ) as f :
@@ -1951,10 +1954,10 @@ def update_import_cmd(args):
19511954 if not args .no_push :
19521955 for repo in repos_updated :
19531956 try :
1954- mx ._opts .very_verbose = True
1957+ mx .get_opts () .very_verbose = True
19551958 vc .git_command (repo , ["push" , "-u" , "origin" , "HEAD:%s" % current_branch ], abortOnError = True )
19561959 finally :
1957- mx ._opts .very_verbose = prev_verbosity
1960+ mx .get_opts () .very_verbose = prev_verbosity
19581961
19591962 if repos_updated :
19601963 mx .log ("\n " .join (["These repos were updated:" ] + repos_updated ))
0 commit comments