Opened 11 years ago

Closed 10 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


Since the deprecation of contrib.comments, running the test suite with -Wd emits a warning on Python 2.6:

tests % PYTHONPATH=.. python2.6 -Wd --settings=test_sqlite
/Users/myk/Documents/dev/django/django/contrib/comments/ 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 Changed 11 years ago by Jacob

Owner: changed from nobody to Jacob
Status: newassigned
Triage Stage: UnreviewedAccepted

Ah, it's a Python version thing, that's the bit I was missing on IRC the other day.

comment:2 Changed 11 years ago by Aymeric Augustin

I think that's because we capture warnings in Python > 2.6 since [44046e8a].

comment:3 Changed 10 years ago by Marc Tamlyn

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.
Back to Top