mirror of
https://github.com/django/django.git
synced 2024-11-29 22:56:46 +01:00
Skip test for saving microseconds on backends which do not support it.
This commit is contained in:
parent
6983201cfb
commit
4b4c704517
@ -197,6 +197,7 @@ class DateTimeFieldTests(unittest.TestCase):
|
||||
self.assertEqual(f.to_python('01:02:03.999999'),
|
||||
datetime.time(1, 2, 3, 999999))
|
||||
|
||||
@test.skipUnlessDBFeature("supports_microsecond_precision")
|
||||
def test_datetimes_save_completely(self):
|
||||
dat = datetime.date(2014, 3, 12)
|
||||
datetim = datetime.datetime(2014, 3, 12, 21, 22, 23, 240000)
|
||||
|
Loading…
Reference in New Issue
Block a user