summaryrefslogtreecommitdiff
path: root/test/orm
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-01-23 19:44:06 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2010-01-23 19:44:06 +0000
commitfc92d14bbe3077ff94df108bf53ec77e0da83dd8 (patch)
treea893a688e404966a1727477580425e95cb7f1236 /test/orm
parent2d15d9b0d0b20190d5aa348edaf4b398263464f7 (diff)
downloadsqlalchemy-fc92d14bbe3077ff94df108bf53ec77e0da83dd8.tar.gz
- types.Binary is renamed to types.LargeBinary, it only
produces BLOB, BYTEA, or a similar "long binary" type. New base BINARY and VARBINARY types have been added to access these MySQL/MS-SQL specific types in an agnostic way [ticket:1664].
Diffstat (limited to 'test/orm')
-rw-r--r--test/orm/inheritance/test_productspec.py2
-rw-r--r--test/orm/test_unitofwork.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/orm/inheritance/test_productspec.py b/test/orm/inheritance/test_productspec.py
index 4c593e2a3..deb7564a8 100644
--- a/test/orm/inheritance/test_productspec.py
+++ b/test/orm/inheritance/test_productspec.py
@@ -37,7 +37,7 @@ class InheritTest(_base.MappedTest):
Column('last_updated', DateTime, default=lambda:datetime.now(),
onupdate=lambda:datetime.now()),
Column('name', String(128)),
- Column('data', Binary),
+ Column('data', LargeBinary),
Column('size', Integer, default=0),
)
diff --git a/test/orm/test_unitofwork.py b/test/orm/test_unitofwork.py
index 85a0eae82..265ce3fc0 100644
--- a/test/orm/test_unitofwork.py
+++ b/test/orm/test_unitofwork.py
@@ -337,7 +337,7 @@ class BinaryHistTest(_base.MappedTest, testing.AssertsExecutionResults):
def define_tables(cls, metadata):
Table('t1', metadata,
Column('id', sa.Integer, primary_key=True, test_needs_autoincrement=True),
- Column('data', sa.Binary),
+ Column('data', sa.LargeBinary),
)
@classmethod