diff --git a/zcollection/tests/test_fs_utils.py b/zcollection/tests/test_fs_utils.py index 409a82c..9fca517 100644 --- a/zcollection/tests/test_fs_utils.py +++ b/zcollection/tests/test_fs_utils.py @@ -120,6 +120,10 @@ def istrcmp(str1, str2): if platform.system() == 'Windows': str1 = str1.replace('\\', '/') str2 = str2.replace('\\', '/') + if str1.endswith(':'): + str1 += '/' + if str2.endswith(':'): + str2 += '/' return str1.lower() == str2.lower() assert istrcmp(fs_utils.normalize_path(fs, '/'), root)