summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-12-15 11:42:50 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2011-12-15 11:42:50 -0500
commit6ed0d7e3339dd14daad612f9ac6dd2f5e90ef517 (patch)
tree6fe4a34c2188ff27470baf95556e15b1490625a6
parent5c86d3914cb2ddb3333f47e35f5fe7a34bca882b (diff)
downloadsqlalchemy-6ed0d7e3339dd14daad612f9ac6dd2f5e90ef517.tar.gz
add a conditional here
-rw-r--r--test/sql/test_types.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/sql/test_types.py b/test/sql/test_types.py
index 57193a397..1902c74c2 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."""