Opened 11 years ago
Closed 11 years ago
#20714 closed Cleanup/optimization (wontfix)
Add a more informative error message when runtests fails to import from test suite directory
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | Utilities | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
When trying to run the test suite after updating my repo, I was getting strange ImportErrors. It turned out there were orphaned empty directories in the tests directory. A small change that prints a hint when that happens would help avoid confusion for new and less regular contributors.
A pull request for this is available here:
https://github.com/django/django/pull/1342
Note:
See TracTickets
for help on using tickets.
Comments from the pull request: