Opened 12 years ago
Closed 12 years ago
#20065 closed Bug (fixed)
Warning when running the test suite
Reported by: | Aymeric Augustin | Owned by: | Jacob |
---|---|---|---|
Component: | contrib.comments | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Since the deprecation of contrib.comments, running the test suite with -Wd emits a warning on Python 2.6:
tests % PYTHONPATH=.. python2.6 -Wd runtests.py --settings=test_sqlite /Users/myk/Documents/dev/django/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)
Change History (3)
comment:1 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 12 years ago
I think that's because we capture warnings in Python > 2.6 since [44046e8a].
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Ah, it's a Python version thing, that's the bit I was missing on IRC the other day.