This is an automated email from the ASF dual-hosted git repository. gurwls223 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push: new 759123409f0e [SPARK-47137][PYTHON][CONNECT][FOLLOW-UP] Uses assertEqual instead of assertEquals for Python 3.12 build 759123409f0e is described below commit 759123409f0e7a19c032906a6f7871f216191a35 Author: Hyukjin Kwon <gurwls...@apache.org> AuthorDate: Mon Feb 26 09:48:02 2024 +0900 [SPARK-47137][PYTHON][CONNECT][FOLLOW-UP] Uses assertEqual instead of assertEquals for Python 3.12 build ### What changes were proposed in this pull request? This PR proposes to uses `assertEqual` instead of` assertEquals` for Python 3.12 build. ### Why are the changes needed? To fix up Python 3.12 build https://github.com/apache/spark/actions/runs/8021096275/job/21924086355. `assertEquals` was removed. ### Does this PR introduce _any_ user-facing change? No, test-only. ### How was this patch tested? Manually. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #45242 from HyukjinKwon/SPARK-47137-followup. Authored-by: Hyukjin Kwon <gurwls...@apache.org> Signed-off-by: Hyukjin Kwon <gurwls...@apache.org> --- python/pyspark/sql/tests/test_conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyspark/sql/tests/test_conf.py b/python/pyspark/sql/tests/test_conf.py index 68b147f09746..a2a1be3401ad 100644 --- a/python/pyspark/sql/tests/test_conf.py +++ b/python/pyspark/sql/tests/test_conf.py @@ -89,7 +89,7 @@ class ConfTestsMixin: spark.conf.set("foo", "bar") updated = spark.conf.getAll - self.assertEquals(len(updated), len(all_confs) + 1) + self.assertEqual(len(updated), len(all_confs) + 1) self.assertIn("foo", updated) finally: spark.conf.unset("foo") --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org