def METHOD_NAME(self):
    for exclude in [True, False]:
        with self.subTest(exclude=exclude):
            ret = outliers(self.df, exclude=exclude)
            self.assertEqual(ret.size > 0.5 * self.df.size, exclude)