Skip to content

Commit f9250d2

Browse files
committed
Fix typing for uninstallation test
1 parent 39bcfce commit f9250d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/functional/test_uninstall.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,8 @@ def test_uninstallpathset_no_paths(caplog):
464464
caplog.set_level(logging.INFO)
465465

466466
test_dist = get_default_environment().get_distribution("pip")
467+
assert test_dist is not None, "pip not installed"
468+
467469
uninstall_set = UninstallPathSet(test_dist)
468470
uninstall_set.remove() # with no files added to set
469471

0 commit comments

Comments
 (0)