Skip to content

Commit

Permalink
make PandasUDFTests conditional on Pandas installed
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanCutler committed Dec 20, 2017
1 parent d92ae90 commit faa9f09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/pyspark/sql/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -3356,6 +3356,7 @@ def test_schema_conversion_roundtrip(self):
self.assertEquals(self.schema, schema_rt)


@unittest.skipIf(not _have_pandas or not _have_arrow, "Pandas or Arrow not installed")
class PandasUDFTests(ReusedSQLTestCase):
def test_pandas_udf_basic(self):
from pyspark.rdd import PythonEvalType
Expand Down

0 comments on commit faa9f09

Please sign in to comment.