Skip to content

Commit 1644f2d

Browse files
author
David Cournapeau
committed
[style]: forgot to run ruff on the new code.
1 parent 778b386 commit 1644f2d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/unit/test_moto.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -486,17 +486,17 @@ def test_s3_delete_object_success(moto_s3_client: "S3Client") -> None:
486486

487487

488488
def test_s3_dataset_empty_table(moto_s3_client: "S3Client") -> None:
489-
""" Test that a dataset split into multiple parquet files whose first
489+
"""Test that a dataset split into multiple parquet files whose first
490490
partition is an empty table still loads properly.
491491
"""
492492
partition_col, partition_val = "col0", "1"
493493
dataset = f"{partition_col}={partition_val}"
494-
s3_key = f's3://bucket/{dataset}'
494+
s3_key = f"s3://bucket/{dataset}"
495495

496496
dtypes = {"id": "string[python]"}
497497
df1 = pd.DataFrame({"id": []}).astype(dtypes)
498-
df2 = pd.DataFrame({"id": ['1'] * 2}).astype(dtypes)
499-
df3 = pd.DataFrame({"id": ['1'] * 3}).astype(dtypes)
498+
df2 = pd.DataFrame({"id": ["1"] * 2}).astype(dtypes)
499+
df3 = pd.DataFrame({"id": ["1"] * 3}).astype(dtypes)
500500

501501
dataframes = [df1, df2, df3]
502502
r_df = pd.concat(dataframes, ignore_index=True)

0 commit comments

Comments
 (0)