Skip to content

Fail test_installation on warnings, and remove deprecated license classifier #2054

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Next Next commit
Comment what TestInstallation._set_up_venv does
So that the meaning of the `venv.sources` accesses in
`test_installation` is more readily clear.
  • Loading branch information
EliahKagan committed Jun 15, 2025
commit 953d1616e7385ec6aac1e7a6212c689874c9409c
4 changes: 4 additions & 0 deletions test/test_installation.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,14 @@ def test_installation(self, rw_dir):

@staticmethod
def _set_up_venv(rw_dir):
# Initialize the virtual environment.
venv = VirtualEnvironment(rw_dir, with_pip=True)

# Make its src directory a symlink to our own top-level source tree.
os.symlink(
os.path.dirname(os.path.dirname(__file__)),
venv.sources,
target_is_directory=True,
)

return venv
Loading