def METHOD_NAME(self):
    if is_cli:
        self.assertRaises(NotImplementedError, gc.get_referents,1,"hello",True)
        self.assertRaises(NotImplementedError, gc.get_referents)
    else:
        gc.get_referents(1,"hello",True)
        gc.get_referents()
        class TempClass: pass
        self.assertEqual(gc.get_referents(TempClass).count((TempClass, object)), 1)