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

Method test_TIMESTAMP

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

Source from the content-addressed store, hash-verified

256 self.check_data_integrity(("col1 DATETIME",), generator)
257
258 def test_TIMESTAMP(self):
259 ticks = time()
260
261 def generator(row, col):
262 return self.db_module.TimestampFromTicks(ticks + row * 86400 - col * 1313)
263
264 self.check_data_integrity(("col1 TIMESTAMP",), generator)
265
266 def test_fractional_TIMESTAMP(self):
267 ticks = time()

Callers

nothing calls this directly

Calls 1

check_data_integrityMethod · 0.95

Tested by

no test coverage detected