Opened 2 years ago

Closed 2 years ago

#20065 closed Bug (fixed)

Warning when running the test suite

Reported by: aaugustin Owned by: jacob
Component: contrib.comments Version: master
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 Changed 2 years ago by jacob

  • Owner changed from nobody to jacob
  • Status changed from new to assigned
  • Triage Stage changed from Unreviewed to Accepted

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

comment:2 Changed 2 years ago by aaugustin

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

comment:3 Changed 2 years ago by mjtamlyn

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.
Back to Top