mirror of https://github.com/django/django.git
Skipped the test introduced at r17403 on Python 2.5, because it requires warnings.catch_warnings.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
a678e9ea65
commit
c82f1dcf95
|
@ -262,6 +262,7 @@ class NewDatabaseTests(BaseDateTimeTests):
|
|||
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:
|
||||
|
|
Loading…
Reference in New Issue