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 d3bd3c6 commit 72dddc7Copy full SHA for 72dddc7
git/test/test_repo.py
@@ -933,7 +933,6 @@ def test_git_work_tree_env(self, rw_dir):
933
# move .git directory to a subdirectory
934
# set GIT_DIR and GIT_WORK_TREE appropriately
935
# check that repo.working_tree_dir == rw_dir
936
- git = Git(rw_dir)
937
self.rorepo.clone(join_path_native(rw_dir, 'master_repo'))
938
939
repo_dir = join_path_native(rw_dir, 'master_repo')
@@ -953,4 +952,3 @@ def test_git_work_tree_env(self, rw_dir):
953
952
self.assertEqual(r.working_dir, repo_dir)
954
finally:
955
os.environ = oldenv
956
-
0 commit comments