diff options
| author | Julien Phalip <jphalip@gmail.com> | 2012-03-15 18:55:08 +0000 |
|---|---|---|
| committer | Julien Phalip <jphalip@gmail.com> | 2012-03-15 18:55:08 +0000 |
| commit | ea9d96739f0814bdf2c5a5f250498e11a378db49 (patch) | |
| tree | 5fb4f597aae6b7b814b87e2bacaab443692ba379 /tests | |
| parent | e41fcdd4d9d687b6e6ed481b7a5378ae65f5e0f4 (diff) | |
Added a `with_statement` import to a test for Python 2.5 compatibility.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/regressiontests/comment_tests/tests/model_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/comment_tests/tests/model_tests.py b/tests/regressiontests/comment_tests/tests/model_tests.py index 69c1a8118f..11d96aea70 100644 --- a/tests/regressiontests/comment_tests/tests/model_tests.py +++ b/tests/regressiontests/comment_tests/tests/model_tests.py @@ -1,4 +1,4 @@ -from __future__ import absolute_import +from __future__ import absolute_import, with_statement from django.contrib.comments.models import Comment |
