D5674: tests: fix module-import warnings in test-update-atomic.t
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Fri Jan 25 10:44:37 UTC 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG0a0927f7549d: tests: fix module-import warnings in test-update-atomic.t (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5674?vs=13392&id=13446
REVISION DETAIL
https://phab.mercurial-scm.org/D5674
AFFECTED FILES
tests/test-update-atomic.t
CHANGE DETAILS
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 @@
$ 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)
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list