-
-
Notifications
You must be signed in to change notification settings - Fork 31k
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
1 parent
195d885
commit a2e3eed
Showing
3 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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