From 06af57b05f9a0aebfcdd86e9def41a6c82513429 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 11 Oct 2012 11:15:29 -0400 Subject: [PATCH] - keep dialect at default for type compile - python2.5/3 fixes --- test/sql/test_types.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/sql/test_types.py b/test/sql/test_types.py index 3b0f6a1460..1d096d7c41 100644 --- a/test/sql/test_types.py +++ b/test/sql/test_types.py @@ -767,7 +767,7 @@ class UnicodeTest(fixtures.TestBase): utfdata = unicodedata.encode('utf8') eq_( proc(utfdata), - unicodedata.encode('ascii', errors='ignore') + unicodedata.encode('ascii', 'ignore').decode() ) @@ -1248,6 +1248,7 @@ class ExpressionTest(fixtures.TestBase, AssertsExecutionResults, AssertsCompiled assert test_table.c.data.distinct().type == test_table.c.data.type class CompileTest(fixtures.TestBase, AssertsCompiledSQL): + __dialect__ = 'default' @testing.requires.unbounded_varchar def test_string_plain(self): -- 2.47.3