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

Class TimeTZTest

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

Source from the content-addressed store, hash-verified

716
717
718class TimeTZTest(_DateFixture, fixtures.TablesTest):
719 __requires__ = ("time_timezone",)
720 __backend__ = True
721 datatype = Time(timezone=True)
722 data = datetime.time(12, 57, 18, tzinfo=datetime.timezone.utc)
723
724 @testing.requires.time_implicit_bound
725 def test_select_direct(self, connection):
726 result = connection.scalar(select(literal(self.data)))
727 eq_(result, self.data)
728
729
730class TimeMicrosecondsTest(_DateFixture, fixtures.TablesTest):

Callers

nothing calls this directly

Calls 2

TimeClass · 0.85
timeMethod · 0.45

Tested by

no test coverage detected