Author: aaugustin
Date: 2012-01-31 11:47:40 -0800 (Tue, 31 Jan 2012)
New Revision: 17413
Modified:
django/trunk/tests/modeltests/timezones/tests.py
Log:
Skipped the test introduced at r17403 on Python 2.5, because it requires
warnings.catch_warnings.
Modified: django/trunk/tests/modeltests/timezones/tests.py
===================================================================
--- django/trunk/tests/modeltests/timezones/tests.py 2012-01-31 19:23:09 UTC
(rev 17412)
+++ django/trunk/tests/modeltests/timezones/tests.py 2012-01-31 19:47:40 UTC
(rev 17413)
@@ -262,6 +262,7 @@
self.assertEqual(event.dt, dt.replace(tzinfo=EAT))
@requires_tz_support
+ @skipIf(sys.version_info < (2, 6), "this test requires Python >= 2.6")
def test_datetime_from_date(self):
dt = datetime.date(2011, 9, 1)
with warnings.catch_warnings(record=True) as recorded:
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.