Skip to content

Commit

Permalink
Actually test the file: prefix. (#3401)
Browse files Browse the repository at this point in the history
Remove the mistaken conditional check from an apparent vestigial
thought-process during initial implementation.
  • Loading branch information
khk-globus committed Apr 25, 2024
1 parent 06f25fc commit 7d5ce86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsl/tests/unit/test_file.py
Expand Up @@ -78,7 +78,7 @@ def test_file_repr(scheme):
netloc = "some.netloc"
filename = "some_file_name"
path = f"/some/path/{filename}"
if scheme and scheme != "file":
if scheme:
url = f"{scheme}://{netloc}{path}"
else:
scheme = "file"
Expand Down

0 comments on commit 7d5ce86

Please sign in to comment.