@@ -137,12 +137,12 @@ def test_add(self, tmpdir: Path, monkeypatch: pytest.MonkeyPatch) -> None:
137137 pass
138138
139139 ups = UninstallPathSet (dist = Mock ())
140- assert ups .paths == set ()
140+ assert ups ._paths == set ()
141141 ups .add (file_extant )
142- assert ups .paths == {file_extant }
142+ assert ups ._paths == {file_extant }
143143
144144 ups .add (file_nonexistent )
145- assert ups .paths == {file_extant }
145+ assert ups ._paths == {file_extant }
146146
147147 def test_add_pth (self , tmpdir : str , monkeypatch : pytest .MonkeyPatch ) -> None :
148148 monkeypatch .setattr (pip ._internal .req .req_uninstall , "is_local" , mock_is_local )
@@ -184,7 +184,7 @@ def test_add_symlink(self, tmpdir: Path, monkeypatch: pytest.MonkeyPatch) -> Non
184184
185185 ups = UninstallPathSet (dist = Mock ())
186186 ups .add (foo_link )
187- assert ups .paths == {foo_link }
187+ assert ups ._paths == {foo_link }
188188
189189 def test_compact_shorter_path (self , monkeypatch : pytest .MonkeyPatch ) -> None :
190190 monkeypatch .setattr (pip ._internal .req .req_uninstall , "is_local" , mock_is_local )
@@ -196,7 +196,7 @@ def test_compact_shorter_path(self, monkeypatch: pytest.MonkeyPatch) -> None:
196196 ups = UninstallPathSet (dist = Mock ())
197197 ups .add (short_path )
198198 ups .add (os .path .join (short_path , "longer" ))
199- assert compact (ups .paths ) == {short_path }
199+ assert compact (ups ._paths ) == {short_path }
200200
201201 @pytest .mark .skipif ("sys.platform == 'win32'" )
202202 def test_detect_symlink_dirs (
@@ -218,7 +218,7 @@ def test_detect_symlink_dirs(
218218 ups = UninstallPathSet (dist = Mock ())
219219 ups .add (path1 )
220220 ups .add (path2 )
221- assert ups .paths == {path1 }
221+ assert ups ._paths == {path1 }
222222
223223
224224class TestStashedUninstallPathSet :
0 commit comments