Commits

Mike Bayer committed f4de0eb

dont use collections on 2.4

  • Participants
  • Parent commits 570b392

Comments (0)

Files changed (1)

test/base/test_dependency.py

 import sqlalchemy.topological as topological
 from sqlalchemy.test import TestBase
 from sqlalchemy.test.testing import assert_raises, eq_
-from sqlalchemy import exc
-import collections
+from sqlalchemy import exc, util
 
 class DependencySortTest(TestBase):
     def assert_sort(self, tuples, allitems=None):
             
         result = list(topological.sort(tuples, allitems))
         
-        deps = collections.defaultdict(set)
+        deps = util.defaultdict(set)
         for parent, child in tuples:
             deps[parent].add(child)