@@ -390,7 +390,6 @@ def test_tqdm_usage_during_snowflake_to_pandas_switch():
390390 "class_name, method_name, f_args" ,
391391 [
392392 ("DataFrame" , "to_json" , ()), # declared in base_overrides
393- ("Series" , "to_json" , ()), # declared in base_overrides
394393 ("DataFrame" , "dot" , ([6 ],)), # declared in dataframe_overrides
395394 ("Series" , "transform" , (lambda x : x * 2 ,)), # declared in series_overrides
396395 ],
@@ -424,13 +423,7 @@ def test_unimplemented_autoswitches(class_name, method_name, f_args, use_session
424423 assert snow_result .get_backend () == "Pandas"
425424 assert_array_equal (snow_result .to_numpy (), pandas_result .to_numpy ())
426425 else :
427- # Series.to_json will output an extraneous level for the __reduced__ column, but that's OK
428- # since we don't officially support the method.
429- # See modin bug: https://github.com/modin-project/modin/issues/7624
430- if class_name == "Series" and method_name == "to_json" :
431- assert snow_result == '{"__reduced__":{"0":1,"1":2,"2":3}}'
432- else :
433- assert snow_result == pandas_result
426+ assert snow_result == pandas_result
434427
435428
436429@sql_count_checker (query_count = 0 )
0 commit comments