summaryrefslogtreecommitdiff
path: root/test/mapper.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/mapper.py')
-rw-r--r--test/mapper.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/mapper.py b/test/mapper.py
index 10025397a..d4225d412 100644
--- a/test/mapper.py
+++ b/test/mapper.py
@@ -87,7 +87,8 @@ class MapperTest(MapperSuperTest):
def testunicodeget(self):
"""tests 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"""
- table = Table('foo', db,
+ metadata = BoundMetaData(db)
+ table = Table('foo', metadata,
Column('id', Unicode(10), primary_key=True),
Column('data', Unicode(40)))
try: