human
Complete this python program:
def destructiveTest(caller):
assistant
#Here is the Python program you requested.

    """Mark a test case as a destructive test for example adding or removing users
    from your system.
    .. code-block:: python
    class MyTestCase(TestCase):
    @destructiveTest
    def test_create_user(self):
    pass
    """
    if inspect.isclass(caller):
        old_setup = getattr(caller, 'setUp', None)
        def setUp(self, *args, **kwargs):
            if (os.environ.get('DESTRUCTIVE_TESTS', 'False').lower() == 'false'):
                self.skipTest('Destructive    tests    are    disabled')
            if (old_setup is not None):
                old_setup(self, *args, **kwargs)
        caller.setUp = setUp
        return caller
    @functools.wraps(caller)
    def wrap(cls):
        if (os.environ.get('DESTRUCTIVE_TESTS', 'False').lower() == 'false'):
            cls.skipTest('Destructive    tests    are    disabled')
        return caller(cls)
    return wrap