def no_lsan(note):
    assert (not callable(note))

    def decorator(f):
        assert callable(f)

        @wraps(f)
        def decorated(self, *args, **kwargs):
            if ('-fsanitize=leak' in self.emcc_args):
                self.skipTest(note)
            f(self, *args, **kwargs)
        return decorated
    return decorator
def no_lsan(note):
    assert (not callable(note))

    def decorator(f):
        assert callable(f)

        @wraps(f)
        def decorated(self, *args, **kwargs):
            if ('-fsanitize=leak' in self.emcc_args):
                self.skipTest(note)
            f(self, *args, **kwargs)
        return decorated
    return decorator