xinrong-databricks commented on a change in pull request #32177:
URL: https://github.com/apache/spark/pull/32177#discussion_r616020120
##########
File path: python/pyspark/testing/utils.py
##########
@@ -39,6 +54,29 @@
# No NumPy, but that's okay, we'll skip those tests
pass
+tabulate_requirement_message = None
+try:
+ from tabulate import tabulate # noqa: F401
+except ImportError as e:
+ # If tabulate requirement is not satisfied, skip related tests.
+ tabulate_requirement_message = str(e)
+have_tabulate = tabulate_requirement_message is None
Review comment:
Okay I see. `..._requirement_message` is used.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]