summaryrefslogtreecommitdiffstats
path: root/SCons/Node/FSTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'SCons/Node/FSTests.py')
-rw-r--r--SCons/Node/FSTests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/SCons/Node/FSTests.py b/SCons/Node/FSTests.py
index da606e2..a2400f2 100644
--- a/SCons/Node/FSTests.py
+++ b/SCons/Node/FSTests.py
@@ -769,7 +769,7 @@ class FileNodeInfoTestCase(_tempdirTestCase):
ni.update(fff)
- mtime = st.st_mtime
+ mtime = st[stat.ST_MTIME]
assert ni.timestamp == mtime, (ni.timestamp, mtime)
size = st.st_size
assert ni.size == size, (ni.size, size)
@@ -781,7 +781,7 @@ class FileNodeInfoTestCase(_tempdirTestCase):
st = os.stat('fff')
- mtime = st.st_mtime
+ mtime = st[stat.ST_MTIME]
assert ni.timestamp != mtime, (ni.timestamp, mtime)
size = st.st_size
assert ni.size != size, (ni.size, size)