tests: fix module-import warnings in test-update-atomic.t
These were caught by test-check-module-imports.t on Python 3.
This should also make python3-buildbot green again.
Differential Revision: https://phab.mercurial-scm.org/D5674
--- a/tests/test-update-atomic.t Fri Jan 18 19:28:31 2019 +0530
+++ b/tests/test-update-atomic.t Thu Jan 24 18:14:39 2019 +0300
@@ -4,9 +4,10 @@
$ cat > $TESTTMP/show_mode.py <<EOF
> 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)