def _get_level_cases(self, caseiter):
        levels = [[], [], []]
        for case in caseiter:
            if 'comp1.label' in case and \
               case['comp1.label'].startswith('L1_'):
                levels[0].append(case)
            elif 'asm.comp1.label' in case and \
               case['asm.comp1.label'].startswith('L2_'):
                levels[1].append(case)
            elif case in 'asm.asm.comp1.label' and \
               case['asm.asm.comp1.label'].startswith('L3_'):
                levels[2].append(case)
            else:
                raise RuntimeError("case label doesn't start with 'L?_'")
        return levels
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.lib/src/openmdao/lib/casehandlers/test/test_dbcaserecorder.py/NestedCaseTestCase._get_level_cases/swapped operands of `in`