From 8fea844d70bb7236578b11d671f73e4368420cbd Mon Sep 17 00:00:00 2001 From: Itai Shirav Date: Tue, 23 Jun 2020 11:32:43 +0300 Subject: [PATCH] DateTime64 field - additional fixes & docs --- tests/test_datetime_fields.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_datetime_fields.py b/tests/test_datetime_fields.py index 122dd9f..2f2300b 100644 --- a/tests/test_datetime_fields.py +++ b/tests/test_datetime_fields.py @@ -13,6 +13,8 @@ class DateFieldsTest(unittest.TestCase): def setUp(self): self.database = Database('test-db', log_statements=True) + if self.database.server_version < (20, 1, 2, 4): + raise unittest.SkipTest('ClickHouse version too old') self.database.create_table(ModelWithDate) def tearDown(self):