| 692 | |
| 693 | |
| 694 | class TimestampMicrosecondsTest(_DateFixture, fixtures.TablesTest): |
| 695 | __requires__ = ("timestamp_microseconds",) |
| 696 | __backend__ = True |
| 697 | datatype = TIMESTAMP |
| 698 | data = datetime.datetime(2012, 10, 15, 12, 57, 18, 396) |
| 699 | |
| 700 | @testing.requires.timestamp_microseconds_implicit_bound |
| 701 | def test_select_direct(self, connection): |
| 702 | result = connection.scalar(select(literal(self.data))) |
| 703 | eq_(result, self.data) |
| 704 | |
| 705 | |
| 706 | class TimeTest(_DateFixture, fixtures.TablesTest): |