Opened 12 years ago

Closed 11 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 Jacob, 12 years ago

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 by Aymeric Augustin, 12 years ago

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

comment:3 by Marc Tamlyn, 11 years ago

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