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

Make sure TestCase.setUp is executed in tests #2384

Closed
wants to merge 1 commit into from

Conversation

saitcakmak
Copy link
Contributor

Summary: The logger & warning filters in TestCase.setUp are only effective if it gets executed. Many test definitions were overwriting setUp without a super().setUp() call, ignoring these filters.

Reviewed By: esantorella

Differential Revision: D56375193

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Apr 19, 2024
Summary: The logger & warning filters in `TestCase.setUp` are only effective if it gets executed. Many test definitions were overwriting `setUp` without a `super().setUp()` call, ignoring these filters.

Reviewed By: esantorella

Differential Revision: D56375193
@saitcakmak
Copy link
Contributor Author

merged

@saitcakmak saitcakmak closed this Apr 22, 2024
@saitcakmak saitcakmak deleted the export-D56375193 branch April 22, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants