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

Fixed #35402 -- Fixed crash when DatabaseFeatures.django_test_skips references a class in another test module #18103

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Apr 26, 2024

  1. Fixed #35402 -- Fixed crash when DatabaseFeatures.django_test_skips r…

    …eferences a class in another test module
    
    Previously, if a submodule skipped test classes in an adjacent submodule (same
    parent module), only the running submodule was imported and an error was thrown
    because getattr would not find the submodule of the to-be-skipped class. Updated
    cached_import in django/utils/module_loading.py to include a check for the skipped
    submodule, and import it if it is not there.
    
    Thanks to Tim Graham for reporting this bug
    jonmcfee03 committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    a2e3eed View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Configuration menu
    Copy the full SHA
    d21dc2e View commit details
    Browse the repository at this point in the history