summaryrefslogtreecommitdiff
path: root/test/orm/mapper.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/orm/mapper.py')
-rw-r--r--test/orm/mapper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/orm/mapper.py b/test/orm/mapper.py
index 88b474e24..63af53b96 100644
--- a/test/orm/mapper.py
+++ b/test/orm/mapper.py
@@ -38,7 +38,7 @@ class MapperTest(MapperSuperTest):
def testunicodeget(self):
"""test that Query.get properly sets up the type for the bind parameter. using unicode would normally fail
on postgres, mysql and oracle unless it is converted to an encoded string"""
- metadata = BoundMetaData(db)
+ metadata = MetaData(db)
table = Table('foo', metadata,
Column('id', Unicode(10), primary_key=True),
Column('data', Unicode(40)))