diff --git a/src/snowflake/snowpark/modin/plugin/docstrings/series_utils.py b/src/snowflake/snowpark/modin/plugin/docstrings/series_utils.py index c511a3647cd..39034673119 100644 --- a/src/snowflake/snowpark/modin/plugin/docstrings/series_utils.py +++ b/src/snowflake/snowpark/modin/plugin/docstrings/series_utils.py @@ -981,7 +981,7 @@ def translate(): -------- >>> ser = pd.Series(["El niño", "Françoise"]) >>> mytable = str.maketrans({'ñ': 'n', 'ç': 'c'}) - >>> ser.str.translate(mytable) + >>> ser.str.translate(mytable) # doctest: +NORMALIZE_WHITESPACE 0 El nino 1 Francoise dtype: object diff --git a/tests/integ/modin/strings/test_strings.py b/tests/integ/modin/strings/test_strings.py index 464625af9cd..d8ffb9907f3 100644 --- a/tests/integ/modin/strings/test_strings.py +++ b/tests/integ/modin/strings/test_strings.py @@ -632,7 +632,7 @@ def test_get_with_dict_label(key, expected_result): # - "head shaking vertically" = 1F642 + 200D + 2195 + FE0F # - "mending heart" = 2764 + FE0F + 200D + 1FA79 # - "health worker" = 1F91D1 + 200D + 2605 + FE0F - ["😶‍🌫️", "❤️‍🔥", "🧑‍⚖️"], + ["🙂‍↔️", "❤️‍🔥", "🧑‍⚖️"], { 0x2194: 0x2195, 0x1F525: 0x1FA79,