Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-22274][PYTHON][SQL][FOLLOWUP] Use assertRaisesRegexp instead of assertRaisesRegex. #20467

Closed
wants to merge 1 commit into from

Conversation

ueshin
Copy link
Member

@ueshin ueshin commented Feb 1, 2018

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.

Copy link
Contributor

@jiangxb1987 jiangxb1987 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SparkQA
Copy link

SparkQA commented Feb 1, 2018

Test build #86913 has finished for PR 20467 at commit e9a1500.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Copy link
Member

@HyukjinKwon HyukjinKwon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@HyukjinKwon
Copy link
Member

Merged to master.

@HyukjinKwon
Copy link
Member

HyukjinKwon commented Feb 1, 2018

Sorry, actually I am hitting a network problem. Let me try it latter if it's not merged.

@gatorsmile
Copy link
Member

Fine. I just merged it

@HyukjinKwon
Copy link
Member

Thanks, @gatorsmile.

@asfgit asfgit closed this in 07cee33 Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants