Skip to content
/ django Public

Conversation

@pranavh03
Copy link

Trac ticket number

ticket-33058

Branch description

Based on your changes for ticket #33058, here's what you need:

  1. Target branch

main
2. Commit message

Fixed #33058 -- Added logging support for check command output in test runner.
3. Trac ticket flag

URL: https://code.djangoproject.com/ticket/33058
Check the "Has patch" checkbox
4. Tests

File: tests/test_runner/test_discover_runner.py
Tests needed for:
run_checks() method captures and logs output correctly
_get_or_create_check_logger() method creates proper loggers
Custom loggers are used when provided
Default loggers are created when none exist
5. Documentation and release notes

File: docs/releases/6.1.txt
Location: Under "Tests" section (around line 279)
Content to add:

  • The :class:~django.test.DiscoverRunner now routes system check output
    through the logging system, allowing better control over test output
    formatting and capture.
@pranavh03 pranavh03 marked this pull request as ready for review October 25, 2025 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant