windows paths

This commit is contained in:
Chang She
2023-05-04 11:41:05 -07:00
parent 3a2df0ce45
commit b6739f3f66
3 changed files with 19 additions and 6 deletions

View File

@@ -21,8 +21,9 @@ def test_normalize_uri():
"file:///absolute/path",
"s3://bucket/path",
"gs://bucket/path",
"c:\\windows\\path",
]
schemes = ["file", "file", "file", "s3", "gs"]
schemes = ["file", "file", "file", "s3", "gs", "file"]
for uri, expected_scheme in zip(uris, schemes):
parsed_scheme = get_uri_scheme(uri)