code: def test_module_publicity_with_private_paths(private_path):
      """Test module publicity with private path.
  
      Module names starting with single or double-underscore are private.
      For example, _my_private_module.py and __my_private_module.py.
  
      Any module within a private package is considered private.
  
      The same rules for publicity apply to both packages and modules.
      """
      parser = Parser()
      code = CodeSnippet("")
      module = parser.parse(code, str(private_path))
      assert not module.is_public
  
imports: import io
  import sys
  import pytest
  import textwrap
  from pathlib import Path
  from pydocstyle.parser import Parser, ParseError
label_desc: Use image node_id 17 for calling a global function with example usage: test_module_publicity_with_private_paths(private_path) without return types