Skip to content
Snippets Groups Projects
Verified Commit ff8c0de2 authored by dos's avatar dos
Browse files

foobar

parent 631f0d61
Branches
No related tags found
No related merge requests found
Pipeline #9025 passed
......@@ -507,7 +507,7 @@ mp_obj_t mp_builtin___import___default(size_t n_args, const mp_obj_t *args) {
if (n_args >= 5) {
level = MP_OBJ_SMALL_INT_VALUE(args[4]);
if (level < 0) {
mp_raise_ValueError(NULL);
mp_raise_ValueError(MP_ERROR_TEXT("foo"));
}
}
}
......@@ -521,7 +521,7 @@ mp_obj_t mp_builtin___import___default(size_t n_args, const mp_obj_t *args) {
}
if (module_name_len == 0) {
mp_raise_ValueError(NULL);
mp_raise_ValueError(MP_ERROR_TEXT("bar"));
}
DEBUG_printf("Starting module search for '%s'\n", module_name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment