def decorator(func):
    assert callable(func)

    def decorated(self):
        if is_optimizing(self.emcc_args):
            self.skipTest(note)
        func(self)
    return decorated
def decorator(func):
    assert callable(func)

    def decorated(self):
        if is_optimizing(self.emcc_args):
            self.skipTest(note)
        func(self)
    return decorated