Skip to content

Commit 7d5ce86

Browse files
authored
Actually test the file: prefix. (#3401)
Remove the mistaken conditional check from an apparent vestigial thought-process during initial implementation.
1 parent 06f25fc commit 7d5ce86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parsl/tests/unit/test_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def test_file_repr(scheme):
7878
netloc = "some.netloc"
7979
filename = "some_file_name"
8080
path = f"/some/path/{filename}"
81-
if scheme and scheme != "file":
81+
if scheme:
8282
url = f"{scheme}://{netloc}{path}"
8383
else:
8484
scheme = "file"

0 commit comments

Comments
 (0)