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
In b2ce17b, I mistakenly renamed `VectorizedUDFTests` to `ScalarPandasUDF`. This PR fixes the mistake.

Existing tests.

Author: Li Jin <[email protected]>

Closes #20489 from icexelloss/fix-scalar-udf-tests.

(cherry picked from commit caf3044)
Signed-off-by: gatorsmile <[email protected]>
  • Loading branch information
icexelloss authored and gatorsmile committed Feb 6, 2018
1 parent 036a04b commit 77cccc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyspark/sql/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -3740,7 +3740,7 @@ def foo(k, v):


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

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


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

def assertFramesEqual(self, expected, result):
msg = ("DataFrames are not equal: " +
Expand Down

0 comments on commit 77cccc5

Please sign in to comment.