diff --git a/integration_tests/src/main/python/json_test.py b/integration_tests/src/main/python/json_test.py index c0d5e65cf68..4ed627a72fc 100644 --- a/integration_tests/src/main/python/json_test.py +++ b/integration_tests/src/main/python/json_test.py @@ -1457,7 +1457,7 @@ def test_spark_from_json_invalid_json(): @allow_non_gpu(*non_utc_allow) def test_from_json_input_wrapped_in_whitespaces(): - json_string_gen = StringGen(r'[ \r\n\t]{0,5}({"key":( |\r|\n|\t|)"[A-z]{0,5}"}|null|invalid|)[ \r\n\t]{0,5}') + json_string_gen = StringGen(r'[ \r\n\t]{0,5}({"key":( |\r|\n|\t|)"[A-Za-z]{0,5}"}|null|invalid|)[ \r\n\t]{0,5}') assert_gpu_and_cpu_are_equal_collect( lambda spark : unary_op_df(spark, json_string_gen) \ .select(f.from_json('a', 'struct')),