diff options
author | Jason Kirtland <jek@discorporate.us> | 2008-07-15 19:23:52 +0000 |
---|---|---|
committer | Jason Kirtland <jek@discorporate.us> | 2008-07-15 19:23:52 +0000 |
commit | 8fa48edbf9d84093152aced94fc1eb7996b9827f (patch) | |
tree | 6ceb46f942f1a3b7f8994ba202fd5b02c21ec7c7 /test/engine/reflection.py | |
parent | 6917ffb9bdae19a368abef5fdbd4655fc27fcdf2 (diff) | |
download | sqlalchemy-8fa48edbf9d84093152aced94fc1eb7996b9827f.tar.gz |
- Removed 2.3 set emulations/enhancements.
(sets.Set-based collections & DB-API returns still work.)
Diffstat (limited to 'test/engine/reflection.py')
-rw-r--r-- | test/engine/reflection.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/engine/reflection.py b/test/engine/reflection.py index 259733027..3f8d4fff7 100644 --- a/test/engine/reflection.py +++ b/test/engine/reflection.py @@ -3,7 +3,6 @@ import StringIO, unicodedata import sqlalchemy as sa from testlib.sa import MetaData, Table, Column from testlib import TestBase, ComparesTables, testing, engines, sa as tsa -from testlib.compat import set metadata, users = None, None @@ -588,12 +587,11 @@ class CreateDropTest(TestBase): self.assertEqual( testing.db.has_table('items'), False ) def test_tablenames(self): - from sqlalchemy.util import Set metadata.create_all(bind=testing.db) # we only check to see if all the explicitly created tables are there, rather than # assertEqual -- the test db could have "extra" tables if there is a misconfigured # template. (*cough* tsearch2 w/ the pg windows installer.) - self.assert_(not Set(metadata.tables) - Set(testing.db.table_names())) + self.assert_(not set(metadata.tables) - set(testing.db.table_names())) metadata.drop_all(bind=testing.db) class SchemaManipulationTest(TestBase): |