tests: update test-archive to pass our module import checker
authorAugie Fackler <raf@durin42.com>
Tue, 22 Aug 2017 14:58:21 -0400
changeset 33944 74e53c21fd13
parent 33943 fa187801f4b8
child 33945 403040b5a5bd
tests: update test-archive to pass our module import checker
tests/test-archive.t
--- a/tests/test-archive.t	Tue Aug 22 14:58:10 2017 -0400
+++ b/tests/test-archive.t	Tue Aug 22 14:58:21 2017 -0400
@@ -354,8 +354,9 @@
   $ hg -R repo add repo/a
   $ hg -R repo commit -m '#0' -d '456789012 21600'
   $ cat > show_mtime.py <<EOF
-  > from __future__ import print_function
-  > import sys, os
+  > from __future__ import absolute_import, print_function
+  > import os
+  > import sys
   > print(int(os.stat(sys.argv[1]).st_mtime))
   > EOF