#15370: Most of the admin_scripts tests failing because of a warning -------------------------------------------+-------------------------------- Reporter: mila | Owner: nobody Status: new | Milestone: Component: django-admin.py | Version: SVN Resolution: | Keywords: Triage Stage: Unreviewed | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | -------------------------------------------+--------------------------------
Comment (by mila): Here is a way how to "reproduce" it under Linux: {{{ $ mkdir locale $ ls locale $ python -Walways Python 2.5.2 (r252:60911, Jan 24 2010, 17:44:40) [GCC 4.3.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import locale __main__:1: ImportWarning: Not importing directory 'locale': missing __init__.py >>> }}} The Windows specific is that locale module is imported in site.py which is probably before warning filters are enabled. -- Ticket URL: <http://code.djangoproject.com/ticket/15370#comment:3> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.