hunk.code_window:         raise EnvCommandError(CalledProcessError(1, "python", output=""))
   def test_directory_dependency():
       dependency = DirectoryDependency("simple_project", fixtures_dir / "simple_project")
       assert dependency.pretty_name == "simple_project"
       assert dependency.develop
       assert dependency.path == fixtures_dir / "simple_project"
       assert dependency.base_pep_508_name == "simple_project @ {}".format(
           fixtures_dir / "simple_project"
       )
   def test_directory_dependency_must_exist():
       with pytest.raises(ValueError):
           DirectoryDependency("demo", DIST_PATH / "invalid")
hunk.labels: keep keep keep replace replace replace replace replace replace replace replace replace keep keep keep keep keep
hunk.after_edit: DIST_PATH = Path(__file__).parent.parent / "fixtures" / "git" / "github.com" / "demo"
  
hunk.file_path: tests/packages/test_directory_dependency.py
hunk.type: replace
file: [[package]]
  name = "A"
  version = "1.1"
  description = ""
  category = "main"
  optional = false
  python-versions = "*"
  
  [package.dependencies]
  B = "^2.0"
  
  [[package]]
  name = "B"
  version = "2.0"
  description = ""
  category = "main"
  optional = false
  python-versions = "*"
  
  [package.dependencies]
  C = "1.5"
  
  [[package]]
  name = "C"
  version = "1.5"
  marker = "python_version >= \"2.7\""
  description = ""
  category = "main"
  optional = false
  python-versions = "*"
  
  [metadata]
  python-versions = "*"
  content-hash = "123456789"
  
  [metadata.files]
  A = []
  B = []
  C = []
  