HyukjinKwon commented on code in PR #44675:
URL: https://github.com/apache/spark/pull/44675#discussion_r1448120281


##########
python/pyspark/testing/__init__.py:
##########
@@ -16,6 +16,11 @@
 #
 from pyspark.testing.utils import assertDataFrameEqual, assertSchemaEqual
 
-from pyspark.testing.pandasutils import assertPandasOnSparkEqual
+__all__ = ["assertDataFrameEqual", "assertSchemaEqual"]
 
-__all__ = ["assertDataFrameEqual", "assertSchemaEqual", 
"assertPandasOnSparkEqual"]
+try:
+    from pyspark.testing.pandasutils import assertPandasOnSparkEqual

Review Comment:
   I think you should still keep the API, and throw an exception within this 
API.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to