Skip to content

Commit b6eada1

Browse files
fix test format error
1 parent 6fe5e8f commit b6eada1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/strings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ def str_replace(arr, pat, repl, n=-1, case=None, flags=0, regex=None):
581581
# if regex is default None, and a single special character is given
582582
# in pat, still take it as a literal, and raise the Future warning
583583
if regex is None and len(pat) == 1 and re.findall(r"\W", pat):
584-
warnings.warn(f"{pat} is interpreted as a literal in default, "
584+
warnings.warn(f"{pat} is interpreted as a literal in default,"
585585
f"not regex. The default will change in the future",
586586
FutureWarning)
587587
f = lambda x: x.replace(pat, repl, n)

0 commit comments

Comments
 (0)