Skip to content

Commit

Permalink
[MINOR][TEST] Fix class name for Pandas UDF tests
Browse files Browse the repository at this point in the history
## What changes were proposed in this pull request?

In b2ce17b, I mistakenly renamed `VectorizedUDFTests` to `ScalarPandasUDF`. This PR fixes the mistake.

## How was this patch tested?

Existing tests.

Author: Li Jin <[email protected]>

Closes #20489 from icexelloss/fix-scalar-udf-tests.
  • Loading branch information
icexelloss authored and gatorsmile committed Feb 6, 2018
1 parent ac7454c commit caf3044
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/pyspark/sql/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -3766,7 +3766,7 @@ def foo(k, v):


@unittest.skipIf(not _have_pandas or not _have_arrow, "Pandas or Arrow not installed")
class ScalarPandasUDF(ReusedSQLTestCase):
class ScalarPandasUDFTests(ReusedSQLTestCase):

@classmethod
def setUpClass(cls):
Expand Down Expand Up @@ -4279,7 +4279,7 @@ def test_register_vectorized_udf_basic(self):


@unittest.skipIf(not _have_pandas or not _have_arrow, "Pandas or Arrow not installed")
class GroupbyApplyPandasUDFTests(ReusedSQLTestCase):
class GroupedMapPandasUDFTests(ReusedSQLTestCase):

@property
def data(self):
Expand Down Expand Up @@ -4448,7 +4448,7 @@ def test_unsupported_types(self):


@unittest.skipIf(not _have_pandas or not _have_arrow, "Pandas or Arrow not installed")
class GroupbyAggPandasUDFTests(ReusedSQLTestCase):
class GroupedAggPandasUDFTests(ReusedSQLTestCase):

@property
def data(self):
Expand Down

0 comments on commit caf3044

Please sign in to comment.