summaryrefslogtreecommitdiff
path: root/shared/upytesthelper
diff options
context:
space:
mode:
Diffstat (limited to 'shared/upytesthelper')
-rw-r--r--shared/upytesthelper/upytesthelper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/upytesthelper/upytesthelper.c b/shared/upytesthelper/upytesthelper.c
index 326172be6..ce6073242 100644
--- a/shared/upytesthelper/upytesthelper.c
+++ b/shared/upytesthelper/upytesthelper.c
@@ -94,6 +94,9 @@ void upytest_execute_test(const char *src) {
gc_init(heap_start, heap_end);
mp_init();
mp_obj_list_init(mp_sys_path, 0);
+ #if MICROPY_MODULE_FROZEN
+ mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR__dot_frozen));
+ #endif
mp_obj_list_init(mp_sys_argv, 0);
nlr_buf_t nlr;