summaryrefslogtreecommitdiff
path: root/test/engine/reflection.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/engine/reflection.py')
-rw-r--r--test/engine/reflection.py4
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):