hunk.code_window: from poetry.utils.env import EnvCommandError
   from poetry.utils.env import MockEnv as BaseMockEnv
   fixtures_dir = Path(__file__).parent.parent / "fixtures"
   DIST_PATH = Path(__file__).parent.parent / "fixtures" / "git" / "github.com" / "demo"
   class MockEnv(BaseMockEnv):
       def run(self, bin, *args):
           raise EnvCommandError(CalledProcessError(1, "python", output=""))
  
hunk.labels: keep keep keep keep replace replace replace replace keep keep keep keep keep
hunk.file_path: tests/packages/test_directory_dependency.py
hunk.type: replace