From 621e14b540f16bfab732450eaf239cda9c523ac9 Mon Sep 17 00:00:00 2001 From: ramvikrams Date: Mon, 3 Apr 2023 20:33:12 +0530 Subject: [PATCH] updated message --- tests/test_series.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_series.py b/tests/test_series.py index de56dde64..be89c210f 100644 --- a/tests/test_series.py +++ b/tests/test_series.py @@ -1408,7 +1408,7 @@ def test_bitwise_operators() -> None: with pytest_warns_bounded( FutureWarning, - match="Logical ops (and, or, xor) between Pandas objects and", + match=r"Logical ops \(and, or, xor\) between Pandas objects and", lower="2.0.99", ): check(assert_type(s & [1, 2, 3, 4], "pd.Series[bool]"), pd.Series, np.bool_) @@ -1454,7 +1454,7 @@ def test_logical_operators() -> None: with pytest_warns_bounded( FutureWarning, - match="Logical ops (and, or, xor) between Pandas objects and", + match=r"Logical ops \(and, or, xor\) between Pandas objects and", lower="2.0.99", ): check(