From 7448b8f199a6dd55fed9c2f11d91bf59d9102a8a Mon Sep 17 00:00:00 2001 From: Lorenzo Gaifas Date: Mon, 5 Sep 2022 11:20:21 +0200 Subject: [PATCH] happy flake --- pandas/tests/series/test_constructors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/tests/series/test_constructors.py b/pandas/tests/series/test_constructors.py index 090335f20a91d..2959479f426fc 100644 --- a/pandas/tests/series/test_constructors.py +++ b/pandas/tests/series/test_constructors.py @@ -1650,8 +1650,8 @@ def test_constructor_generic_timestamp_no_frequency(self, dtype, request): @pytest.mark.parametrize( "dtype,msg", [ - ("m8[ps]", "Only \[ns\] granularity is supported"), - ("M8[ps]", "Only \[ns\] granularity is supported"), + (r"m8[ps]", r"Only \[ns\] granularity is supported"), + (r"M8[ps]", r"Only \[ns\] granularity is supported"), ], ) def test_constructor_generic_timestamp_bad_frequency(self, dtype, msg):