code: def test_jupytext_py_is_not_a_configuration_file(tmpdir):
      jupytext_py = tmpdir.join("jupytext.py")
      jupytext_py.write("# Not a config file!")
  
      assert find_jupytext_configuration_file(str(tmpdir)) is None
  
      dot_jupytext_py = tmpdir.join(".jupytext.py")
      dot_jupytext_py.write("# This is a config file!")
  
      assert find_jupytext_configuration_file(str(tmpdir)) == str(
          dot_jupytext_py
      )
  
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 2 for calling a global function with example usage: test_jupytext_py_is_not_a_configuration_file(tmpdir) without return types