Skip to content

Commit ab56348

Browse files
authored
CLN: F-string in pandas/tests/indexes/datetimes/test_to_period.py (#29547) (#32189)
1 parent dbc446a commit ab56348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/indexes/datetimes/test_to_period.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_dti_to_period(self):
4343
@pytest.mark.parametrize("month", MONTHS)
4444
def test_to_period_quarterly(self, month):
4545
# make sure we can make the round trip
46-
freq = "Q-{month}".format(month=month)
46+
freq = f"Q-{month}"
4747
rng = period_range("1989Q3", "1991Q3", freq=freq)
4848
stamps = rng.to_timestamp()
4949
result = stamps.to_period(freq)

0 commit comments

Comments
 (0)