MCPcopy Index your code
hub / github.com/PyMySQL/mysqlclient / test_DATE

Method test_DATE

tests/capabilities.py:234–240  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

232 self.assertIsInstance(result, Decimal)
233
234 def test_DATE(self):
235 ticks = time()
236
237 def generator(row, col):
238 return self.db_module.DateFromTicks(ticks + row * 86400 - col * 1313)
239
240 self.check_data_integrity(("col1 DATE",), generator)
241
242 def test_TIME(self):
243 ticks = time()

Callers

nothing calls this directly

Calls 1

check_data_integrityMethod · 0.95

Tested by

no test coverage detected