code: def test_paired_path_dotdot_564(os_path_sep):
      main_path = os_path_sep.join(
          [
              "examples",
              "tutorials",
              "colabs",
              "rigid_object_tutorial.ipynb",
          ]
      )
      formats = "../nb_python//py:percent,../colabs//ipynb"
      with mock.patch("os.path.sep", os_path_sep):
          assert base_path(
              main_path, None, long_form_multiple_formats(formats)
          ) == os_path_sep.join(
              [
                  "examples",
                  "tutorials",
                  "colabs",
                  "rigid_object_tutorial",
              ]
          )
          paired_paths(main_path, "ipynb", formats)
  
imports: import os
  import unittest.mock
  import pytest
  import jupytext
  from jupytext.cli import jupytext
  from jupytext.compare import compare
  from jupytext.contentsmanager import TextFileContentsManager
  from jupytext.formats import long_form_multiple_formats, long_form_one_format, short_form_multiple_formats
  from jupytext.paired_paths import InconsistentPath, base_path, full_path, paired_paths
label_desc: Use image node_id 13 for calling a global function with example usage: test_paired_path_dotdot_564(os_path_sep) without return types