FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Resolve warnings emitted by tests by mateusz834 · Pull Request #667 · splunk/splunk-sdk-python · GitHub

Repository navigation

Resolve warnings emitted by tests - #667

Merged
mateusz834 merged 1 commit into
developfrom
dev/MP/resolve-tests-warnings
Sep 10, 2025
Merged

mateusz834 merged 1 commit into
developfrom
dev/MP/resolve-tests-warnings

Conversation

Copy link
Copy Markdown
Member

For the vast majority of warnings, I have simply added a skip, since we cannot remove tests for deprecated APIs.
See: https://docs.python.org/3.6/library/warnings.html#temporarily-suppressing-warnings

Additionally, to eliminate warnings caused by invalid test classes, I renamed two classes to avoid using the “TestNAME” pattern, as such names are automatically recognized as test classes.

For the vast majority of warnings, I have simply added a skip, since we
cannot remove tests for deprecated APIs.
See: https://docs.python.org/3.6/library/warnings.html#temporarily-suppressing-warnings

Additionally, to eliminate warnings caused by invalid test classes, I renamed two classes
to avoid using the “TestNAME” pattern, as such names are automatically recognized as test classes.
mateusz834 force-pushed the dev/MP/resolve-tests-warnings branch from 6d59ac7 to 5dd2203 Compare September 8, 2025 10:02
mateusz834 changed the title Resolve warnings emitted by tests. Resolve warnings emitted by tests Sep 8, 2025
mateusz834 marked this pull request as ready for review September 8, 2025 13:01

cecyliaborek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

👌

Ickerday commented Sep 9, 2025

Copy link
Copy Markdown
Collaborator

BTW, could we also close #638 with this one?

mateusz834 merged commit c710f47 into develop Sep 10, 2025
mateusz834 deleted the dev/MP/resolve-tests-warnings branch September 10, 2025 07:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL