(self, type_, expected, maria_db)
| 1094 | ) |
| 1095 | @testing.combinations(True, False, argnames="maria_db") |
| 1096 | def test_float_cast(self, type_, expected, maria_db): |
| 1097 | dialect = mysql.dialect() |
| 1098 | if maria_db: |
| 1099 | dialect.is_mariadb = maria_db |
| 1100 | dialect.server_version_info = (10, 4, 5) |
| 1101 | else: |
| 1102 | dialect.server_version_info = (8, 0, 17) |
| 1103 | t = sql.table("t", sql.column("col")) |
| 1104 | self.assert_compile(cast(t.c.col, type_), expected, dialect=dialect) |
| 1105 | |
| 1106 | def test_cast_grouped_expression_non_castable(self): |
| 1107 | with expect_warnings( |
nothing calls this directly
no test coverage detected