MCPcopy
hub / github.com/allenai/open-instruct / silent_function

Method silent_function

open_instruct/test_rl_utils.py:89–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87
88 @rl_utils.Timer("should not log", noop=True)
89 def silent_function():
90 time.sleep(0.05)
91 return "done"
92
93 with self.assertNoLogs("open_instruct.rl_utils", level="INFO"):
94 result = silent_function()

Callers

nothing calls this directly

Calls 1

sleepMethod · 0.80

Tested by

no test coverage detected