code: def test_two_dirs(pytester: Pytester, file_structure) -> None:
      pytester.makefile(
          ".ini", pytest="[pytest]\npythonpath=sub sub2\n"
      )
      result = pytester.runpytest("test_foo.py", "test_bar.py")
      assert result.ret == 0
      result.assert_outcomes(passed=2)
  
file_path: pytest/testing/test_python_path.py
imports: import sys
  from textwrap import dedent
  from typing import Generator
  from typing import List
  from typing import Optional
  import pytest
  from _pytest.pytester import Pytester
label_desc: Use image node_id 3 for calling a global function with example usage: test_two_dirs(pytester, file_structure) without return types