﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
21416	admin_scripts.tests.ManageValidate.test_app_with_import() fails with enabled warnings	Arfrever	nobody	"admin_scripts.tests.ManageValidate.test_app_with_import() fails, when warnings are enabled (using PYTHONWARNINGS=""d,i::ImportWarning"" environmental variable).
This failure occurs in Django 1.6 and does not occur in Django 1.5.5.

{{{
$ PYTHONPATH=""."" PYTHONWARNINGS=""d,i::ImportWarning"" python2.7 tests/runtests.py --settings=test_sqlite -v1 admin_scripts
Creating test database for alias 'default'...
Creating test database for alias 'other'...
........................................................................................................................................F..................
======================================================================
FAIL: test_app_with_import (admin_scripts.tests.ManageValidate)
manage.py validate does not raise errors when an app imports a base class that itself has an abstract base
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/tmp/Django-1.6/tests/admin_scripts/tests.py"", line 1094, in test_app_with_import
    self.assertNoOutput(err)
  File ""/tmp/Django-1.6/tests/admin_scripts/tests.py"", line 182, in assertNoOutput
    self.assertEqual(len(stream), 0, ""Stream should be empty: actually contains '%s'"" % stream)
AssertionError: 282 != 0 : Stream should be empty: actually contains '/tmp/Django-1.6/django/contrib/comments/__init__.py:9: PendingDeprecationWarning: django.contrib.comments is deprecated and will be removed before Django 1.8.
  warnings.warn(""django.contrib.comments is deprecated and will be removed before Django 1.8."", PendingDeprecationWarning)
'

----------------------------------------------------------------------
Ran 155 tests in 211.841s

FAILED (failures=1)
Destroying test database for alias 'default'...
Destroying test database for alias 'other'...
}}}"	Uncategorized	closed	Testing framework	1.6	Normal	needsinfo		Arfrever	Unreviewed	0	0	0	0	0	0
