def remove(self, elem):
        """Remove a requirement.

        :param elem: a string or :class:`Requirement` instance.
        """
        if isinstance(elem, text_type):
            for requirement in self:
                if requirement.package == elem:
                    return super(Requirements, self).remove(requirement)
        return super(Requirements, self).remove(elem)
def test_is_handled_property_returns_correct_value(self):
        self.assertFalse(self.voiceover_application.is_handled)

        self.voiceover_application.accept(self.reviewer_id)

        self.assertTrue(self.voiceover_application.is_handled)