Skip to content

Commit 8338ebf

Browse files
committed
CLN: GH29547 format with f-strings
1 parent dd98f61 commit 8338ebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/series/indexing/test_numeric.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def test_setitem_float_labels():
8585
def test_slice_float_get_set(datetime_series):
8686
msg = lambda key: (
8787
"cannot do slice indexing on DatetimeIndex with these indexers "
88-
f"\{key}\ of type float"
88+
f"{key} of type float"
8989
)
9090
with pytest.raises(TypeError, match=msg(key=r"4\.0")):
9191
datetime_series[4.0:10.0]

0 commit comments

Comments
 (0)