| 770 | |
| 771 | |
| 772 | class DateTimeHistoricTest(_DateFixture, fixtures.TablesTest): |
| 773 | __requires__ = ("datetime_historic",) |
| 774 | __backend__ = True |
| 775 | datatype = DateTime |
| 776 | data = datetime.datetime(1850, 11, 10, 11, 52, 35) |
| 777 | |
| 778 | @testing.requires.date_implicit_bound |
| 779 | def test_select_direct(self, connection): |
| 780 | result = connection.scalar(select(literal(self.data))) |
| 781 | eq_(result, self.data) |
| 782 | |
| 783 | |
| 784 | class DateHistoricTest(_DateFixture, fixtures.TablesTest): |