Skip to content

Conversation

mindsocket
Copy link

When trying to run the test suite after updating my repo, I was getting strage ImportErrors. It turned out there were orphaned empty directories in the tests directory. This change outputs a hint when that happens.

@mjtamlyn
Copy link
Member

I'm fairly confident that this isn't the only reason an exception could be raised on that line. It's probably a hangover from the one-off major refactor of how the test suite is structured which shouldn't impact too many people.

@timgraham
Copy link
Member

I agree with Marc. You can use a git post-checkout hook to automatically delete empty directories. Added the tip here: https://code.djangoproject.com/wiki/CommitterTips

@timgraham timgraham closed this Jul 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants