summaryrefslogtreecommitdiff
path: root/test/dialect/test_postgresql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-02-25 22:00:58 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2010-02-25 22:00:58 +0000
commit756370e0b43a20ae30ed03cb30762756c97fb258 (patch)
treeb7a77d9c63db47d55d27dbebe3df7f45c38c0126 /test/dialect/test_postgresql.py
parent8056006f067f98cffcbdc274a1c7921f00a67ab9 (diff)
downloadsqlalchemy-756370e0b43a20ae30ed03cb30762756c97fb258.tar.gz
- 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.
Diffstat (limited to 'test/dialect/test_postgresql.py')
-rw-r--r--test/dialect/test_postgresql.py2
1 files changed, 1 insertions, 1 deletions
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()