From: Mike Bayer Date: Thu, 15 Dec 2011 16:42:50 +0000 (-0500) Subject: add a conditional here X-Git-Tag: rel_0_7_5~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ed0d7e3339dd14daad612f9ac6dd2f5e90ef517;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git add a conditional here --- diff --git a/test/sql/test_types.py b/test/sql/test_types.py index 57193a3973..1902c74c28 100644 --- a/test/sql/test_types.py +++ b/test/sql/test_types.py @@ -785,10 +785,11 @@ class UnicodeTest(fixtures.TestBase, AssertsExecutionResults): eq_(uni(unicodedata), unicodedata.encode('utf-8')) - @testing.fails_if( - lambda: testing.db_spec("postgresql+pg8000")(testing.db) and util.py3k, - "pg8000 appropriately does not accept 'bytes' for a VARCHAR column." - ) + # Py3K + #@testing.fails_if( + # lambda: testing.db_spec("postgresql+pg8000")(testing.db), + # "pg8000 appropriately does not accept 'bytes' for a VARCHAR column." + # ) def test_ignoring_unicode_error(self): """checks String(unicode_error='ignore') is passed to underlying codec."""