Extract venv management from test_installation · gitpython-developers/GitPython@7751436 · GitHub
Skip to content

Commit 7751436

Browse files
committed
Extract venv management from test_installation
- Create and use a test.lib.helper.VirtualEnvironment class. - Import and use venv module instead of running "python -m venv". These changes make no significant difference in speed or clarity for the existing test in test_installation. The reason for this change is instead to support the use of new per-test virtual environments in at least one other test.
1 parent 66ff4c1 commit 7751436

2 files changed

Lines changed: 61 additions & 22 deletions

File tree

test/lib/helper.py

Lines changed: 41 additions & 0 deletions

test/test_installation.py

Lines changed: 20 additions & 22 deletions

0 commit comments

Comments
 (0)