Skip to content

fix: replace 2 bare except clauses with except Exception#14241

Closed
haosenwang1018 wants to merge 1 commit intopytest-dev:mainfrom
haosenwang1018:fix/bare-excepts
Closed

fix: replace 2 bare except clauses with except Exception#14241
haosenwang1018 wants to merge 1 commit intopytest-dev:mainfrom
haosenwang1018:fix/bare-excepts

Conversation

@haosenwang1018
Copy link

Replace bare except: clauses with except Exception: for PEP 8 compliance.

Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution to pytest. This is inside the automated tests, so I'm going to close because bare except are valid python and pytest need to be able to handle it and thus need to test for it.

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.

2 participants