1
0
mirror of https://github.com/django/django.git synced 2025-03-28 18:20:49 +00:00

[1.6.x] Added a missing skipUnlessDBFeature for the previous commit.

This commit is contained in:
Tim Graham 2014-07-29 09:37:06 -04:00
parent 838b7f8220
commit f07e9f8796

@ -154,6 +154,7 @@ class DateTimeFieldTests(unittest.TestCase):
self.assertEqual(f.to_python('01:02:03.999999'), self.assertEqual(f.to_python('01:02:03.999999'),
datetime.time(1, 2, 3, 999999)) datetime.time(1, 2, 3, 999999))
@test.skipUnlessDBFeature("supports_microsecond_precision")
def test_datetimes_save_completely(self): def test_datetimes_save_completely(self):
dat = datetime.date(2014, 3, 12) dat = datetime.date(2014, 3, 12)
datetim = datetime.datetime(2014, 3, 12, 21, 22, 23, 240000) datetim = datetime.datetime(2014, 3, 12, 21, 22, 23, 240000)