summaryrefslogtreecommitdiff
path: root/tests/model_fields
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-07-29 09:37:06 -0400
committerTim Graham <timograham@gmail.com>2014-07-29 09:37:49 -0400
commitf07e9f879658966393ca0887455414cb2ed46406 (patch)
treebf6d82912f47fd9e452facca1dfd07ba5b2245e0 /tests/model_fields
parent838b7f8220d4ac2af6e39e2b5a3c1a7b95131083 (diff)
[1.6.x] Added a missing skipUnlessDBFeature for the previous commit.
Diffstat (limited to 'tests/model_fields')
-rw-r--r--tests/model_fields/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/model_fields/tests.py b/tests/model_fields/tests.py
index c6004f99a1..c9d914e298 100644
--- a/tests/model_fields/tests.py
+++ b/tests/model_fields/tests.py
@@ -154,6 +154,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)