Skip to content

test: silence legacy pytest return-value warnings#5

Closed
harvatechs wants to merge 1 commit intomainfrom
codex/polish-code-for-production-readiness
Closed

test: silence legacy pytest return-value warnings#5
harvatechs wants to merge 1 commit intomainfrom
codex/polish-code-for-production-readiness

Conversation

@harvatechs
Copy link
Owner

Motivation

  • Reduce noisy CI/test output by suppressing PytestReturnNotNoneWarning emitted by legacy script-style tests that intentionally return booleans instead of using assert.

Description

  • Add a repository-level pytest.ini containing a filterwarnings rule to ignore the specific PytestReturnNotNoneWarning (file: pytest.ini).

Testing

  • Ran the full test suite with pytest -q, which completed successfully with 30 passed, 2 skipped.

Codex Task

@harvatechs harvatechs closed this Feb 11, 2026
@harvatechs harvatechs deleted the codex/polish-code-for-production-readiness branch February 11, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant