Skip to content

Commit 9e550cf

Browse files
author
Julio Martin-Hidalgo
committed
Test fixed?
1 parent 5111ac5 commit 9e550cf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

fsspec/tests/test_core.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,7 @@ def test_target_protocol_options(ftp_writable):
198198
host, port, username, password = ftp_writable
199199
data = b"hello"
200200
options = {"host": host, "port": port, "username": username, "password": password}
201-
with fsspec.open(
202-
"simplecache://afile", "wb", target_protocol="ftp", target_options=options
203-
) as f:
201+
with fsspec.open(f"ftp://{username}:{password}@{host}:{port}/afile", "wb") as f:
204202
f.write(data)
205203
with fsspec.open(
206204
"simplecache://afile",

0 commit comments

Comments
 (0)