code: def test_app_migrate_skip_if_marker(env):
      shutil.copytree(dotipython, env["IPYTHONDIR"])
      touch(pjoin(env["JUPYTER_CONFIG_DIR"], "migrated"), "done")
      app = JupyterApp()
      app.initialize([])
      assert os.listdir(env["JUPYTER_CONFIG_DIR"]) == ["migrated"]
      assert not os.path.exists(env["JUPYTER_DATA_DIR"])
  
imports: from __future__ import annotations
  import os
  import re
  import shutil
  from tempfile import mkdtemp
  from unittest.mock import patch
  import pytest
  from jupyter_core import migrate
  from jupyter_core.application import JupyterApp
  from jupyter_core.migrate import migrate, migrate_config, migrate_dir, migrate_file, migrate_one, migrate_static_custom
  from jupyter_core.utils import ensure_dir_exists
label_desc: Use image node_id 14 for calling a global function with example usage: test_app_migrate_skip_if_marker(env) without return types