Skip to content

Conversation

bluetech
Copy link
Member

@bluetech bluetech commented Mar 6, 2020

Mostly avoid unnecessary usage of sys.exc_info(). Since Python3, exception objects themselves have all that's needed. They are also easier to type.

@bluetech
Copy link
Member Author

bluetech commented Mar 7, 2020

Thanks @blueyed, I addressed your comments.

Mostly avoid unnecessary usage of sys.exc_info(). Since Python3,
exception objects themselves have all that's needed. They are also
easier to type.
Copy link
Member

@Zac-HD Zac-HD left a comment

Choose a reason for hiding this comment

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

LGTM 👍

(I love python3 refactorings so much 😁)

@bluetech bluetech merged commit 4f8fff9 into pytest-dev:master Mar 10, 2020
@bluetech bluetech deleted the simplify-exc branch March 11, 2020 16:05
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.

3 participants