Skip to content

Commit 862eff6

Browse files
ShaharNavehroberthdevries
authored andcommitted
STY: Fixed wrong placement of whitespace (pandas-dev#31974)
1 parent a9035d2 commit 862eff6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/tests/arrays/test_integer.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -347,10 +347,10 @@ def test_error(self, data, all_arithmetic_operators):
347347
# TODO(extension)
348348
# rpow with a datetimelike coerces the integer array incorrectly
349349
msg = (
350-
r"(:?can only perform ops with numeric values)"
351-
r"|(:?cannot perform .* with this index type: DatetimeArray)"
352-
r"|(:?Addition/subtraction of integers and integer-arrays"
353-
r" with DatetimeArray is no longer supported. *)"
350+
"can only perform ops with numeric values|"
351+
"cannot perform .* with this index type: DatetimeArray|"
352+
"Addition/subtraction of integers and integer-arrays "
353+
"with DatetimeArray is no longer supported. *"
354354
)
355355
with pytest.raises(TypeError, match=msg):
356356
ops(pd.Series(pd.date_range("20180101", periods=len(s))))

0 commit comments

Comments
 (0)