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

Method test_fractional_TIMESTAMP

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

Source from the content-addressed store, hash-verified

264 self.check_data_integrity(("col1 TIMESTAMP",), generator)
265
266 def test_fractional_TIMESTAMP(self):
267 ticks = time()
268
269 def generator(row, col):
270 return self.db_module.TimestampFromTicks(
271 ticks + row * 86400 - col * 1313 + row * 0.7 * col / 3.0
272 )
273
274 self.check_data_integrity(("col1 TIMESTAMP",), generator)
275
276 def test_LONG(self):
277 def generator(row, col):

Callers

nothing calls this directly

Calls 1

check_data_integrityMethod · 0.95

Tested by

no test coverage detected