Opened 12 years ago
Closed 12 years ago
#21187 closed Bug (fixed)
PendingDeprecationWarning when running the test suite
| Reported by: | Aymeric Augustin | Owned by: | Anssi Kääriäinen |
|---|---|---|---|
| Component: | Database layer (models, ORM) | 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
Here's the output when running the test suite under -Werror:
======================================================================
ERROR: test_cursor_contextmanager (backends.tests.BackendTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/myk/Documents/dev/django/tests/backends/tests.py", line 621, in test_cursor_contextmanager
from django.db.backends.util import CursorWrapper
File "/Users/myk/Documents/dev/django/django/db/backends/util.py", line 5, in <module>
"Use django.db.backends.utils instead.", PendingDeprecationWarning)
PendingDeprecationWarning: The django.db.backends.util module has been renamed. Use django.db.backends.utils instead.
----------------------------------------------------------------------
Change History (2)
comment:1 by , 12 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Will fix.