Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9151c38 commit c2d72ffCopy full SHA for c2d72ff
test/test_git.py
@@ -623,8 +623,7 @@ def test_successful_refresh_in_default_scenario_invalidates_cached_version(self)
623
stack.enter_context(_rollback_refresh())
624
path1 = Path(stack.enter_context(_fake_git(11, 111, 1)))
625
path2 = Path(stack.enter_context(_fake_git(22, 222, 2)))
626
- sep = os.pathsep
627
- new_path_var = f"{path1.parent}{sep}{path2.parent}{sep}{os.environ['PATH']}"
+ new_path_var = f"{path1.parent}{os.pathsep}{path2.parent}"
628
stack.enter_context(mock.patch.dict(os.environ, {"PATH": new_path_var}))
629
stack.enter_context(_patch_out_env("GIT_PYTHON_GIT_EXECUTABLE"))
630
new_git = Git()
0 commit comments