Opened 4 years ago

Closed 4 years ago

#16275 closed Bug (fixed)

missing from __future__ import with_statement in tests

Reported by: ojii Owned by: anonymous
Component: Testing framework Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

As you can see on http://ci.django-cms.org/job/Django/database=sqlite3,python=python2.5/56/console the file tests/regressiontests/i18n/patterns/tests.py is missing the from future import with_statement to support 2.5

Attachments (1)

16275.diff (362 bytes) - added by ojii 4 years ago.
patch to fix the issue

Download all attachments as: .zip

Change History (8)

comment:1 Changed 4 years ago by anonymous

  • Needs documentation unset
  • Needs tests unset
  • Owner changed from nobody to anonymous
  • Patch needs improvement unset
  • Status changed from new to assigned

comment:2 Changed 4 years ago by apollo13

Sorry, anonymous was me…

Changed 4 years ago by ojii

patch to fix the issue

comment:3 Changed 4 years ago by ojii

  • Has patch set

comment:4 Changed 4 years ago by ojii

  • Version changed from 1.3 to SVN

comment:5 Changed 4 years ago by aaugustin

  • Triage Stage changed from Unreviewed to Accepted

comment:6 Changed 4 years ago by aaugustin

  • Triage Stage changed from Accepted to Ready for checkin

comment:7 Changed 4 years ago by russellm

  • Resolution set to fixed
  • Status changed from assigned to closed

In [16406]:

Fixed #16275 -- Added future import to support with statement. Thanks to Jonas Obrist for the report

Note: See TracTickets for help on using tickets.
Back to Top