Skip to content

Commit 117e9e9

Browse files
committed
Fix tests to access S3 (#896)
Summary: Fixes failed tests as the open-sourced Dataset has changed. Pull Request resolved: #896 Reviewed By: NivekT Differential Revision: D41309257 Pulled By: ejguan fbshipit-source-id: 9c106a4dc5d4541c7fe402b24b68eeb8149fdd11
1 parent 68c24d3 commit 117e9e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_remote_io.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def _filepath_fn(url):
192192
@skipIfNoFSSpecS3
193193
def test_fsspec_io_iterdatapipe(self):
194194
input_list = [
195-
(["s3://ai2-public-datasets"], 39), # bucket without '/'
195+
(["s3://ai2-public-datasets"], 40), # bucket without '/'
196196
(["s3://ai2-public-datasets/charades/"], 18), # bucket with '/'
197197
(
198198
[
@@ -226,8 +226,8 @@ def test_disabled_s3_io_iterdatapipe(self):
226226
def test_s3_io_iterdatapipe(self):
227227
# S3FileLister: different inputs
228228
input_list = [
229-
[["s3://ai2-public-datasets"], 77], # bucket without '/'
230-
[["s3://ai2-public-datasets/"], 77], # bucket with '/'
229+
[["s3://ai2-public-datasets"], 78], # bucket without '/'
230+
[["s3://ai2-public-datasets/"], 78], # bucket with '/'
231231
[["s3://ai2-public-datasets/charades"], 18], # folder without '/'
232232
[["s3://ai2-public-datasets/charades/"], 18], # folder without '/'
233233
[["s3://ai2-public-datasets/charad"], 18], # prefix

0 commit comments

Comments
 (0)