1313
1414from pip ._internal .req .constructors import install_req_from_line
1515from pip ._internal .utils .misc import rmtree
16- from tests .lib import (
17- assert_all_changes ,
18- create_test_package_with_setup ,
19- need_svn ,
20- )
16+ from tests .lib import assert_all_changes , create_test_package_with_setup
2117from tests .lib .local_repos import local_checkout , local_repo
2218
2319
@@ -308,16 +304,16 @@ def test_uninstall_easy_installed_console_scripts(script):
308304
309305
310306@pytest .mark .network
311- @need_svn
312- def test_uninstall_editable_from_svn (script , tmpdir ):
307+ def test_uninstall_editable_from_git (script , tmpdir ):
313308 """
314- Test uninstalling an editable installation from svn .
309+ Test uninstalling an editable installation from git .
315310 """
316311 result = script .pip (
317312 'install' , '-e' ,
318313 '{checkout}#egg=initools' .format (
319314 checkout = local_checkout (
320- 'svn+http://svn.colorstudy.com/INITools' , tmpdir )
315+ 'git+https://github.com/ianb/initools' , tmpdir ,
316+ )
321317 ),
322318 )
323319 result .assert_installed ('INITools' )
@@ -373,21 +369,17 @@ def _test_uninstall_editable_with_source_outside_venv(
373369
374370
375371@pytest .mark .network
376- @need_svn
377372def test_uninstall_from_reqs_file (script , tmpdir ):
378- """
379- Test uninstall from a requirements file.
380-
381- """
382- local_svn_url = local_checkout (
383- 'svn+http://svn.colorstudy.com/INITools' , tmpdir ,
373+ """Test uninstall from a requirements file."""
374+ local_git_url = local_checkout (
375+ 'git+https://github.com/ianb/initools' , tmpdir ,
384376 )
385377 script .scratch_path .joinpath ("test-req.txt" ).write_text (
386378 textwrap .dedent ("""
387379 -e {url}#egg=initools
388380 # and something else to test out:
389381 PyLogo<0.4
390- """ ).format (url = local_svn_url )
382+ """ ).format (url = local_git_url )
391383 )
392384 result = script .pip ('install' , '-r' , 'test-req.txt' )
393385 script .scratch_path .joinpath ("test-req.txt" ).write_text (
@@ -400,7 +392,7 @@ def test_uninstall_from_reqs_file(script, tmpdir):
400392 -e {url}#egg=initools
401393 # and something else to test out:
402394 PyLogo<0.4
403- """ ).format (url = local_svn_url )
395+ """ ).format (url = local_git_url )
404396 )
405397 result2 = script .pip ('uninstall' , '-r' , 'test-req.txt' , '-y' )
406398 assert_all_changes (
0 commit comments