From 7af05fcc9387cea4172cc35eb6a198776488f90d Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 15 Jun 2017 16:07:06 -0400 Subject: [PATCH] - remove redundant fixture from base test class Change-Id: I76f197d5b2b39ae476bfff924e899773aa123be0 --- test/orm/test_options.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/test/orm/test_options.py b/test/orm/test_options.py index c0bc21a748..024806d429 100644 --- a/test/orm/test_options.py +++ b/test/orm/test_options.py @@ -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') -- 2.39.5