MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / TimeMicrosecondsTest

Class TimeMicrosecondsTest

lib/sqlalchemy/testing/suite/test_types.py:730–739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

728
729
730class TimeMicrosecondsTest(_DateFixture, fixtures.TablesTest):
731 __requires__ = ("time_microseconds",)
732 __backend__ = True
733 datatype = Time
734 data = datetime.time(12, 57, 18, 396)
735
736 @testing.requires.time_implicit_bound
737 def test_select_direct(self, connection):
738 result = connection.scalar(select(literal(self.data)))
739 eq_(result, self.data)
740
741
742class DateTest(_DateFixture, fixtures.TablesTest):

Callers

nothing calls this directly

Calls 1

timeMethod · 0.45

Tested by

no test coverage detected