4242 TestData ,
4343 make_test_link_collector ,
4444 skip_needs_new_pathname2url_trailing_slash_behavior_win ,
45- skip_needs_new_urlun_behavior_win ,
4645 skip_needs_old_pathname2url_trailing_slash_behavior_win ,
47- skip_needs_old_urlun_behavior_win ,
4846)
4947
5048ACCEPT = ", " .join (
@@ -309,7 +307,7 @@ def test_clean_url_path(path: str, expected: str, is_local_path: bool) -> None:
309307 # Test a VCS path with a Windows drive letter and revision.
310308 pytest .param (
311309 "/T:/with space/[email protected] " , 312- "/// T:/with%20space/[email protected] " , 310+ "/T:/with%20space/[email protected] " , 313311 marks = pytest .mark .skipif ("sys.platform != 'win32'" ),
314312 ),
315313 # Test a VCS path with a Windows drive letter and revision,
@@ -393,26 +391,12 @@ def test_clean_url_path_with_local_path(path: str, expected: str) -> None:
393391 pytest .param (
394392 "file:///T:/path/with spaces/" ,
395393 "file:///T:/path/with%20spaces" ,
396- marks = [
397- skip_needs_old_urlun_behavior_win ,
398- skip_needs_old_pathname2url_trailing_slash_behavior_win ,
399- ],
400- ),
401- pytest .param (
402- "file:///T:/path/with spaces/" ,
403- "file://///T:/path/with%20spaces" ,
404- marks = [
405- skip_needs_new_urlun_behavior_win ,
406- skip_needs_old_pathname2url_trailing_slash_behavior_win ,
407- ],
394+ marks = skip_needs_old_pathname2url_trailing_slash_behavior_win ,
408395 ),
409396 pytest .param (
410397 "file:///T:/path/with spaces/" ,
411- "file://///T:/path/with%20spaces/" ,
412- marks = [
413- skip_needs_new_urlun_behavior_win ,
414- skip_needs_new_pathname2url_trailing_slash_behavior_win ,
415- ],
398+ "file:///T:/path/with%20spaces/" ,
399+ marks = skip_needs_new_pathname2url_trailing_slash_behavior_win ,
416400 ),
417401 # URL with Windows drive letter, running on non-windows
418402 # platform. The `:` after the drive should be quoted.
@@ -425,12 +409,7 @@ def test_clean_url_path_with_local_path(path: str, expected: str) -> None:
425409 pytest .param (
426410 "git+file:///T:/with space/[email protected] #egg=my-package-1.0" , 427411 "git+file:///T:/with%20space/[email protected] #egg=my-package-1.0" , 428- marks = skip_needs_old_urlun_behavior_win ,
429- ),
430- pytest .param (
431- "git+file:///T:/with space/[email protected] #egg=my-package-1.0" , 432- "git+file://///T:/with%20space/[email protected] #egg=my-package-1.0" , 433- marks = skip_needs_new_urlun_behavior_win ,
412+ marks = pytest .mark .skipif ("sys.platform != 'win32'" ),
434413 ),
435414 # Test a VCS URL with a Windows drive letter and revision,
436415 # running on non-windows platform.
0 commit comments