Skip to content

Commit 03ee207

Browse files
jancervenkaroberthdevries
authored andcommitted
CLN: F-string in pandas/tests/indexes/datetimes/test_to_period.py (pandas-dev#29547) (pandas-dev#32189)
1 parent 5e79fe7 commit 03ee207

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)