Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Skipped the test introduced at r17403 on Python 2.5, because it requi…

…res warnings.catch_warnings.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c82f1dcf95d4ecdc7e020a4715fbb1b097a6a796 1 parent a678e9e
Aymeric Augustin authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  tests/modeltests/timezones/tests.py
1  tests/modeltests/timezones/tests.py
@@ -262,6 +262,7 @@ def test_naive_datetime(self):
262 262
         self.assertEqual(event.dt, dt.replace(tzinfo=EAT))
263 263
 
264 264
     @requires_tz_support
  265
+    @skipIf(sys.version_info < (2, 6), "this test requires Python >= 2.6")
265 266
     def test_datetime_from_date(self):
266 267
         dt = datetime.date(2011, 9, 1)
267 268
         with warnings.catch_warnings(record=True) as recorded:

0 notes on commit c82f1dc

Please sign in to comment.
Something went wrong with that request. Please try again.