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
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