]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- remove redundant fixture from base test class
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 15 Jun 2017 20:07:06 +0000 (16:07 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 15 Jun 2017 20:07:06 +0000 (16:07 -0400)
Change-Id: I76f197d5b2b39ae476bfff924e899773aa123be0

test/orm/test_options.py

index c0bc21a7482a9eecc8375522312ce16e3495390f..024806d4297769e1c21df8a3a798044dbc60afd2 100644 (file)
@@ -607,21 +607,6 @@ class FromSubclassOptionsTest(PathTest, fixtures.DeclarativeMappedTest):
             __tablename__ = 'sub_related'
             id = Column(Integer, primary_key=True)
 
-    def _assert_path_result(self, opt, q, paths):
-        q._attributes = q._attributes.copy()
-        attr = {}
-
-        for val in opt._to_bind:
-            val._bind_loader(
-                [ent.entity_zero for ent in q._mapper_entities],
-                q._current_path, attr, False)
-
-        assert_paths = [k[1] for k in attr]
-        eq_(
-            set([p for p in assert_paths]),
-            set([self._make_path(p) for p in paths])
-        )
-
     def test_with_current_nonmatching_entity_subclasses(self):
         BaseCls, SubClass, Related, SubRelated = self.classes(
             'BaseCls', 'SubClass', 'Related', 'SubRelated')