File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -374,7 +374,7 @@ def test_Registry_get_all_methods_in_should_give_all_the_methods_define_in_that_
374374 self .assertEqual (3 , len (registry .get_all_methods_in ("foo.py" )))
375375 self .assertEqual (2 , len (registry .get_all_methods_in ("bar.py" )))
376376
377- @unittest .skipIf (sys .platform == "darwin" , "Fails on macOS due to case sensitivity " )
377+ @unittest .skipIf (not sys .platform . startswith ( "win" ) , "Test is designed to cover Windows like paths " )
378378 def test_Registry_get_all_methods_in_should_handle_paths_case_sensitive (self ):
379379 lower_c_drive = 'c:/random/path/foo.py'
380380 upper_c_drive = 'C:/random/path/foo.py'
@@ -390,7 +390,7 @@ def test_Registry_get_all_methods_in_should_handle_paths_case_sensitive(self):
390390 self .assertEqual (2 , len (registry .get_all_methods_in (lower_c_drive )))
391391 self .assertEqual (2 , len (registry .get_all_methods_in (upper_c_drive )))
392392
393- @unittest .skipIf (sys .platform .startswith ("win" ), "Fails on macOS due to case sensitivity" )
393+ @unittest .skipIf (sys .platform .startswith ("win" ), "Fails on Windows due to case sensitivity" )
394394 def test_Registry_get_all_methods_in_should_handle_paths_case_sensitive_on_mac (self ):
395395 path1 = '/random/path/foo.py'
396396 path2 = '/random/PATH/foo.py'
You can’t perform that action at this time.
0 commit comments