From 719dc1a2dfbd79e6eb9f0dba2d34c8b9d85aaa21 Mon Sep 17 00:00:00 2001 From: Denis Laxalde Date: Thu, 10 Jun 2021 13:56:06 +0200 Subject: [PATCH] Drop TestSqlFormat::test_unicode The same is already checked in test_pos_spec() method. --- tests/test_sql.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/test_sql.py b/tests/test_sql.py index c1bf9e359..5b1fa490e 100644 --- a/tests/test_sql.py +++ b/tests/test_sql.py @@ -51,14 +51,6 @@ class TestSqlFormat: assert isinstance(s1, str) assert s1 == 'select "field" from "table"' - def test_unicode(self, conn): - s = sql.SQL(u"select {0} from {1}").format( - sql.Identifier(u"field"), sql.Identifier("table") - ) - s1 = s.as_string(conn) - assert isinstance(s1, str) - assert s1 == u'select "field" from "table"' - def test_compose_literal(self, conn): s = sql.SQL("select {0};").format(sql.Literal(dt.date(2016, 12, 31))) s1 = s.as_string(conn) -- 2.47.3