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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy