diff options
| author | Shai Berger <shai@platonix.com> | 2014-03-13 00:25:10 +0200 |
|---|---|---|
| committer | Shai Berger <shai@platonix.com> | 2014-03-13 00:28:05 +0200 |
| commit | 4b4c7045179ec4c0d9dc15c6518d5defd33b41aa (patch) | |
| tree | d7a60c65677c82ee4589d306e3fad40329844b4c /tests/model_fields | |
| parent | 6983201cfb172c2895ed6eea1e0f0eb3804d4c00 (diff) | |
Skip test for saving microseconds on backends which do not support it.
Diffstat (limited to 'tests/model_fields')
| -rw-r--r-- | tests/model_fields/tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/model_fields/tests.py b/tests/model_fields/tests.py index c8b46d8c2f..421672e4d2 100644 --- a/tests/model_fields/tests.py +++ b/tests/model_fields/tests.py @@ -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) |
