def _check_hasFrameTrue(self, test, expect):
        f = FrameSet(test)
        # the empty FrameSet is expected to always fail
        if not test and not expect:
            self.assertFalse(f.hasFrame(1))
            return
        i = max(expect)
        m = u'FrameSet("{0}").hasFrame({1}) != {2}: got {3}'
        r = f.hasFrame(i)
        self.assertTrue(r, m.format(test, i, i in expect, r))
        m = u'FrameSet("{0}").frame({1}) returns {2}: got {3}'
        self.assertIsInstance(r, bool, m.format(test, i, bool, type(r)))
An eager relationship automatically degrades to a lazy relationship
dataset/ETHPy150Open sqlboy/fileseq/test/run.py/TestFrameSet._check_hasFrameTrue--crossover with--dataset/ETHPy150Open zzzeek/sqlalchemy/test/orm/test_mapper.py/OptionsTest.test_eager_degrade