From 756370e0b43a20ae30ed03cb30762756c97fb258 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 25 Feb 2010 22:00:58 +0000 Subject: - The assert_unicode flag is deprecated. SQLAlchemy will raise a warning in all cases where it is asked to encode a non-unicode Python string, and will do nothing for DBAPIs that already accept Python unicode objects. --- test/dialect/test_postgresql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/dialect/test_postgresql.py') diff --git a/test/dialect/test_postgresql.py b/test/dialect/test_postgresql.py index 6ab769e51..60022e18a 100644 --- a/test/dialect/test_postgresql.py +++ b/test/dialect/test_postgresql.py @@ -1329,7 +1329,7 @@ class ArrayTest(TestBase, AssertsExecutionResults): arrtable = Table('arrtable', metadata, Column('id', Integer, primary_key=True), Column('intarr', postgresql.PGArray(Integer)), - Column('strarr', postgresql.PGArray(Unicode(assert_unicode=False)), nullable=False) + Column('strarr', postgresql.PGArray(Unicode()), nullable=False) ) metadata.create_all() -- cgit v1.2.1