Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 953d161

Browse files
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)

AltStyle によって変換されたページ (->オリジナル) /