Content-Length: 268053 | pFad | http://github.com/gitpython-developers/GitPython/commit/953d1616e7385ec6aac1e7a6212c689874c9409c

40 Comment what `TestInstallation._set_up_venv` does · gitpython-developers/GitPython@953d161 · GitHub
Skip to content

Commit 953d161

Browse files
committed
Comment what TestInstallation._set_up_venv does
So that the meaning of the `venv.sources` accesses in `test_installation` is more readily clear.
1 parent 46c439b commit 953d161

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test_installation.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,14 @@ def test_installation(self, rw_dir):
6464

6565
@staticmethod
6666
def _set_up_venv(rw_dir):
67+
# Initialize the virtual environment.
6768
venv = VirtualEnvironment(rw_dir, with_pip=True)
69+
70+
# Make its src directory a symlink to our own top-level source tree.
6871
os.symlink(
6972
os.path.dirname(os.path.dirname(__file__)),
7073
venv.sources,
7174
target_is_directory=True,
7275
)
76+
7377
return venv

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/gitpython-developers/GitPython/commit/953d1616e7385ec6aac1e7a6212c689874c9409c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy