def no_optimize(note=''):
    assert (not callable(note))

    def decorator(func):
        assert callable(func)

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

    def decorator(func):
        assert callable(func)

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