summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Moody <dmoody256@gmail.com>2022-05-12 15:28:26 (GMT)
committerDaniel Moody <dmoody256@gmail.com>2022-05-12 15:28:26 (GMT)
commit08c5484fc8a76a4fa3056f4cf3fac039033714df (patch)
treed8db7ea27adf6bc36523d3aef9d7f03bddeab73d
parent0d5763f5abc90adac128050a79b521b8e0b5d6a3 (diff)
downloadSCons-08c5484fc8a76a4fa3056f4cf3fac039033714df.zip
SCons-08c5484fc8a76a4fa3056f4cf3fac039033714df.tar.gz
SCons-08c5484fc8a76a4fa3056f4cf3fac039033714df.tar.bz2
switch to using test.sleep()
-rw-r--r--test/Dir/source.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Dir/source.py b/test/Dir/source.py
index 9104db0..c35d169 100644
--- a/test/Dir/source.py
+++ b/test/Dir/source.py
@@ -22,7 +22,6 @@
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-import time
"""
This test tests directories as source files. The correct behavior is that
@@ -107,7 +106,7 @@ test.up_to_date(arguments='cmd-content.out')
test.up_to_date(arguments='cmd-tstamp-noscan.out')
test.up_to_date(arguments='cmd-content-noscan.out')
-time.sleep(2)
+test.sleep()
test.write([ 'tstamp', 'foo.txt' ], 'foo.txt 2\n')
test.not_up_to_date(arguments='tstamp.out')