From 74a1a76e811a0b6953468dc59b0f258fbd4d7691 Mon Sep 17 00:00:00 2001 From: Hyukjin Kwon Date: Fri, 17 May 2024 13:03:40 +0900 Subject: [PATCH] [MINOR][PYTHON][TESTS] Call `test_apply_schema_to_dict_and_rows` in `test_apply_schema_to_row` ### What changes were proposed in this pull request? This PR fixes the test `test_apply_schema_to_row` to call `test_apply_schema_to_row` instead of `test_apply_schema_to_dict_and_rows`. It was a mistake. ### Why are the changes needed? To avoid a mistake when it's enabled in the future. ### Does this PR introduce _any_ user-facing change? No, test-only ### How was this patch tested? CI in this PR. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #46631 from HyukjinKwon/minor-test-rename. Authored-by: Hyukjin Kwon Signed-off-by: Hyukjin Kwon --- python/pyspark/sql/tests/connect/test_parity_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyspark/sql/tests/connect/test_parity_types.py b/python/pyspark/sql/tests/connect/test_parity_types.py index aef42b96a249d..9e81af47ceb03 100644 --- a/python/pyspark/sql/tests/connect/test_parity_types.py +++ b/python/pyspark/sql/tests/connect/test_parity_types.py @@ -32,7 +32,7 @@ def test_apply_schema_to_dict_and_rows(self): @unittest.skip("Spark Connect does not support RDD but the tests depend on them.") def test_apply_schema_to_row(self): - super().test_apply_schema_to_dict_and_rows() + super().test_apply_schema_to_row() @unittest.skip("Spark Connect does not support RDD but the tests depend on them.") def test_create_dataframe_schema_mismatch(self):