Skip to content

Commit 93280d9

Browse files
committed
removed pendulum.Timezone; doesnt exist in 2.0
1 parent 7b21b94 commit 93280d9

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/sources/filesystem/test_readers.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ def _create_csv_file(data: list[dict[str, Any]], tmp_path: pathlib.Path) -> File
6464
relative_path=file_name,
6565
file_url=full_file_path.as_uri(),
6666
mime_type="text/csv",
67-
modification_date=pendulum.DateTime(
68-
2025, 1, 1, 0, 0, 0, 0, tzinfo=pendulum.Timezone("UTC")
69-
),
67+
modification_date=pendulum.DateTime(2025, 1, 1, 0, 0, 0, 0),
7068
size_in_bytes=111,
7169
)
7270
return FileItemDict(mapping=file_item, fsspec=_fsspec_client(tmp_path))
@@ -85,9 +83,7 @@ def _create_jsonl_file(data: list[dict[str, Any]], tmp_path: pathlib.Path) -> Fi
8583
relative_path=file_name,
8684
file_url=full_file_path.as_uri(),
8785
mime_type="text/jsonl",
88-
modification_date=pendulum.DateTime(
89-
2025, 1, 1, 0, 0, 0, 0, tzinfo=pendulum.Timezone("UTC")
90-
),
86+
modification_date=pendulum.DateTime(2025, 1, 1, 0, 0, 0, 0),
9187
size_in_bytes=111,
9288
)
9389

0 commit comments

Comments
 (0)