def _test_schedulers(self, best, all_status):
        best_reservation_status = sorted(all_status)[0]

        try:
            best[0]
        except TypeError:
            self.assertEquals(best, best_reservation_status)
        else:
            self.assertTrue(best in best_reservation_status)
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/test/unit/weblab/core/coordinator/test_meta_scheduler.py/MetaSchedulerTestCase._test_schedulers/swapped operands of `in`