MCPcopy Create free account
hub / github.com/boostorg/build / _sleep

Function _sleep

v2/test/BoostBuild.py:1233–1238  ·  view source on GitHub ↗
(delay)

Source from the content-addressed store, hash-verified

1231
1232
1233def _sleep(delay):
1234 if delay > 5:
1235 raise TestEnvironmentError("Test environment error: sleep period of "
1236 "more than 5 seconds requested. Most likely caused by a file with "
1237 "its modification timestamp set to sometime in the future.")
1238 time.sleep(delay)
1239
1240
1241###############################################################################

Callers 1

Calls 1

Tested by

no test coverage detected