code: def test_jupytext_formats(tmpdir, content_toml, formats_short_form):
      jupytext_toml = tmpdir.join("jupytext.toml")
      jupytext_toml.write(content_toml)
  
      config = load_jupytext_configuration_file(str(jupytext_toml))
      assert config.formats == formats_short_form
  
file_path: jupytext/tests/functional/config/test_config.py
imports: import os
  import pytest
  from jupytext.config import find_jupytext_configuration_file, load_jupytext_configuration_file
label_desc: Use image node_id 4 for calling a global function with example usage: test_jupytext_formats(tmpdir, content_toml, formats_short_form) without return types