Skip to content

Commit 111c7c6

Browse files
committed
[SPARK-53134][PS] Clean up unused ANSI imports in tests
### What changes were proposed in this pull request? Clean up unused ANSI imports in tests ### Why are the changes needed? Keeps the codebase clean ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Existing tests ### Was this patch authored or co-authored using generative AI tooling? No Closes #51859 from xinrong-meng/unused. Authored-by: Xinrong Meng <[email protected]> Signed-off-by: Xinrong Meng <[email protected]>
1 parent 6b4c313 commit 111c7c6

File tree

12 files changed

+0
-12
lines changed

12 files changed

+0
-12
lines changed

python/pyspark/pandas/tests/computation/test_binary_ops.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
from pyspark import pandas as ps
2424
from pyspark.testing.pandasutils import PandasOnSparkTestCase
2525
from pyspark.testing.sqlutils import SQLTestUtils
26-
from pyspark.testing.utils import is_ansi_mode_test, ansi_mode_not_supported_message
2726

2827

2928
# This file contains test cases for 'Binary operator functions'

python/pyspark/pandas/tests/computation/test_missing_data.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
from pyspark import pandas as ps
2424
from pyspark.testing.pandasutils import PandasOnSparkTestCase
2525
from pyspark.testing.sqlutils import SQLTestUtils
26-
from pyspark.testing.utils import is_ansi_mode_test, ansi_mode_not_supported_message
2726

2827

2928
# This file contains test cases for 'Missing data handling'

python/pyspark/pandas/tests/data_type_ops/test_num_arithmetic.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
from pyspark import pandas as ps
2323
from pyspark.testing.pandasutils import PandasOnSparkTestCase
24-
from pyspark.testing.utils import is_ansi_mode_test, ansi_mode_not_supported_message
2524
from pyspark.pandas.tests.data_type_ops.testing_utils import OpsTestBase
2625

2726

python/pyspark/pandas/tests/data_type_ops/test_num_mod.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
from pyspark import pandas as ps
2424
from pyspark.testing.pandasutils import PandasOnSparkTestCase
25-
from pyspark.testing.utils import is_ansi_mode_test, ansi_mode_not_supported_message
2625
from pyspark.pandas.tests.data_type_ops.testing_utils import OpsTestBase
2726

2827

python/pyspark/pandas/tests/data_type_ops/test_num_mul_div.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
from pyspark import pandas as ps
2424
from pyspark.testing.pandasutils import PandasOnSparkTestCase
25-
from pyspark.testing.utils import is_ansi_mode_test, ansi_mode_not_supported_message
2625
from pyspark.pandas.tests.data_type_ops.testing_utils import OpsTestBase
2726

2827

python/pyspark/pandas/tests/data_type_ops/test_num_reverse.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
from pyspark import pandas as ps
2424
from pyspark.testing.pandasutils import PandasOnSparkTestCase
25-
from pyspark.testing.utils import is_ansi_mode_test, ansi_mode_not_supported_message
2625
from pyspark.pandas.tests.data_type_ops.testing_utils import OpsTestBase
2726

2827

python/pyspark/pandas/tests/diff_frames_ops/test_corrwith.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
from pyspark.pandas.config import set_option, reset_option
2424
from pyspark.testing.pandasutils import PandasOnSparkTestCase
2525
from pyspark.testing.sqlutils import SQLTestUtils
26-
from pyspark.testing.utils import is_ansi_mode_test, ansi_mode_not_supported_message
2726

2827

2928
class DiffFramesCorrWithMixin:

python/pyspark/pandas/tests/frame/test_constructor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030

3131
from pyspark.testing.pandasutils import PandasOnSparkTestCase
3232
from pyspark.testing.sqlutils import SQLTestUtils
33-
from pyspark.testing.utils import is_ansi_mode_test, ansi_mode_not_supported_message
3433

3534

3635
# This file contains test cases for 'Constructor'

python/pyspark/pandas/tests/frame/test_reindexing.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
from pyspark.pandas.config import option_context
2626
from pyspark.testing.pandasutils import PandasOnSparkTestCase
2727
from pyspark.testing.sqlutils import SQLTestUtils
28-
from pyspark.testing.utils import is_ansi_mode_test, ansi_mode_not_supported_message
2928

3029

3130
# This file contains test cases for 'Reindexing / Selection / Label manipulation'

python/pyspark/pandas/tests/groupby/test_corr.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
from pyspark import pandas as ps
2222
from pyspark.testing.pandasutils import PandasOnSparkTestCase
2323
from pyspark.testing.sqlutils import SQLTestUtils
24-
from pyspark.testing.utils import is_ansi_mode_test, ansi_mode_not_supported_message
2524

2625

2726
class CorrMixin:

0 commit comments

Comments
 (0)