diff tests/test-archive.t @ 33944:74e53c21fd13

tests: update test-archive to pass our module import checker
author Augie Fackler <raf@durin42.com>
date Tue, 22 Aug 2017 14:58:21 -0400
parents 3b1add641232
children 4182d2065e7a
line wrap: on
line diff
--- 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