Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information