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

Fix tests with SyntaxError #1007

Closed
wants to merge 1 commit into from
Closed

Fix tests with SyntaxError #1007

wants to merge 1 commit into from

Conversation

yan12125
Copy link

Fixes #991

Since Python 3.5, unittest reads additional fields if the thrown exception is an instance of SyntaxError.

Relevant Python changes: http://bugs.python.org/issue17911, http://bugs.python.org/issue22936

@yan12125
Copy link
Author

Hmm, seems #1004 should be fixed first.

@yan12125 yan12125 closed this Nov 11, 2017
@yan12125 yan12125 deleted the fix-for-syntaxerror branch December 27, 2020 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant