diff --git a/tests/test-update-atomic.t b/tests/test-update-atomic.t --- a/tests/test-update-atomic.t +++ b/tests/test-update-atomic.t @@ -4,9 +4,10 @@ Checking that experimental.atomic-file w $ cat > $TESTTMP/show_mode.py < from __future__ import print_function + > import os + > import stat > import sys - > import os - > from stat import ST_MODE + > ST_MODE = stat.ST_MODE > > for file_path in sys.argv[1:]: > file_stat = os.stat(file_path)