def test_set_method(): sig = Signal(name='sig') st = sig.set(28) wait(st) assert st.done assert st.success assert sig.get() == 28
def set(self, value, *, timestamp=None, force=False): return Signal.set(self, value, timestamp=timestamp, force=force)