xinrong-databricks commented on a change in pull request #32300:
URL: https://github.com/apache/spark/pull/32300#discussion_r618765838
##########
File path: python/pyspark/pandas/tests/test_series.py
##########
@@ -857,15 +848,7 @@ def _test_value_counts(self):
)
def test_value_counts(self):
- if LooseVersion(pyspark.__version__) < LooseVersion("2.4"):
- with self.sql_conf({SPARK_CONF_ARROW_ENABLED: False}):
- self._test_value_counts()
- self.assertRaises(
- RuntimeError,
- lambda: ps.MultiIndex.from_tuples([("x", "a"), ("x",
"b")]).value_counts(),
- )
- else:
- self._test_value_counts()
+ self._test_value_counts()
Review comment:
`_test_value_counts` is called just once. It is renamed to
`test_value_counts`.
--
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]