Friday, November 21, 2014

Re: Warning / Error when testing with W flag

It looks like it's fixed for python 3.4 on master (the fix will eventually be in django 1.8)

On Wednesday, November 19, 2014 10:15:00 AM UTC-5, Carl Meyer wrote:
Hi Daniel,

On 11/18/2014 02:01 AM, Daniel Grace wrote:
> Hi,
> I get another warning / error with a test command as follows:
>>python -W error manage.py test flow
> Traceback (most recent call last):
>   File "manage.py", line 8, in <module>
>     from django.core.management import execute_from_command_line
>   File "C:\landy\lib\site-packages\django\core\management\__init__.py",
> line 8,
> in <module>
>     from django.apps import apps
>   File "C:\landy\lib\site-packages\django\apps\__init__.py", line 1, in
> <module>
>
>     from .config import AppConfig   # NOQA
>   File "C:\landy\lib\site-packages\django\apps\config.py", line 5, in
> <module>
>     from django.utils.module_loading import module_has_submodule
>   File "C:\landy\lib\site-packages\django\utils\module_loading.py", line
> 4, in <
> module>
>     import imp
>   File "C:\Python34\lib\imp.py", line 32, in <module>
>     PendingDeprecationWarning)
> PendingDeprecationWarning: the imp module is deprecated in favour of
> importlib;
> see the module's documentation for alternative uses

This is an issue that needs to be fixed in Django; see
https://code.djangoproject.com/ticket/21628

Until it is fixed in Django, I'm afraid there's not much you can do
about it other than ignore these warnings for now.

Carl

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/47e2cafe-c135-4ab4-9c91-398e781d136a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment