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

Method test_DATETIME

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

Source from the content-addressed store, hash-verified

248 self.check_data_integrity(("col1 TIME",), generator)
249
250 def test_DATETIME(self):
251 ticks = time()
252
253 def generator(row, col):
254 return self.db_module.TimestampFromTicks(ticks + row * 86400 - col * 1313)
255
256 self.check_data_integrity(("col1 DATETIME",), generator)
257
258 def test_TIMESTAMP(self):
259 ticks = time()

Callers

nothing calls this directly

Calls 1

check_data_integrityMethod · 0.95

Tested by

no test coverage detected