(self, conn)
| 117 | assert s1 == "select '2016-12-31'::date;" |
| 118 | |
| 119 | def test_compose_empty(self, conn): |
| 120 | s = sql.SQL("select foo;").format() |
| 121 | s1 = s.as_string(conn) |
| 122 | assert s1 == "select foo;" |
| 123 | |
| 124 | def test_percent_escape(self, conn): |
| 125 | s = sql.SQL("42 % {0}").format(sql.Literal(7)) |