Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-22274][PYTHON][SQL][FOLLOWUP] Use
assertRaisesRegexp
instead…
… of `assertRaisesRegex`. ## What changes were proposed in this pull request? This is a follow-up pr of #19872 which uses `assertRaisesRegex` but it doesn't exist in Python 2, so some tests fail when running tests in Python 2 environment. Unfortunately, we missed it because currently Python 2 environment of the pr builder doesn't have proper versions of pandas or pyarrow, so the tests were skipped. This pr modifies to use `assertRaisesRegexp` instead of `assertRaisesRegex`. ## How was this patch tested? Tested manually in my local environment. Author: Takuya UESHIN <ueshin@databricks.com> Closes #20467 from ueshin/issues/SPARK-22274/fup1.
- Loading branch information