Skip to content

Commit e4472cf

Browse files
committed
fix test
1 parent 536510d commit e4472cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_filesystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def test_fs_isfile(protocol, zip_jsonl_path, jsonl_gz_path):
9494

9595
@pytest.mark.integration
9696
def test_hf_filesystem(hf_token, hf_api, hf_private_dataset_repo_txt_data, text_file):
97-
repo_info = hf_api_dataset_info(hf_api, hf_private_dataset_repo_txt_data, token=hf_token)
97+
repo_info = hf_api_dataset_info(hf_api, hf_private_dataset_repo_txt_data, use_auth_token=hf_token)
9898
hffs = HfFileSystem(repo_info=repo_info, token=hf_token)
9999
assert sorted(hffs.glob("*")) == [".gitattributes", "data"]
100100
assert hffs.isdir("data")

0 commit comments

Comments
 (0)