1. Éric Lemoine
  2. sqlalchemy

Commits

Mike Bayer  committed 249e3d6

do a check on this one to fix the buildbot

  • Participants
  • Parent commits 9b02a47
  • Branches default

Comments (0)

Files changed (1)

File test/sql/test_unicode.py

View file
  • Ignore whitespace
             Column(u'special_col', Integer, Sequence('special_col'), primary_key=True),
             Column('data', String(50)) # to appease SQLite without DEFAULT VALUES
             )
-        t1.create()
+        metadata.create_all()
 
         try:
             engine = metadata.bind
             # ensure that executioncontext._exec_default() is encoding.
             t1.insert().execute(data='foo')
         finally:
-            t1.drop()
+            metadata.drop_all()