tests: update test-bookmarks to pass the import checker
authorAugie Fackler <raf@durin42.com>
Tue, 22 Aug 2017 15:04:14 -0400
changeset 33946 83313639b8a4
parent 33945 403040b5a5bd
child 33947 0124cf4af3b7
tests: update test-bookmarks to pass the import checker
tests/test-bookmarks.t
--- a/tests/test-bookmarks.t	Tue Aug 22 14:58:39 2017 -0400
+++ b/tests/test-bookmarks.t	Tue Aug 22 15:04:14 2017 -0400
@@ -948,8 +948,10 @@
   $ echo a > a
 
   $ cat > $TESTTMP/pausefinalize.py <<EOF
+  > from __future__ import absolute_import
+  > import os
+  > import time
   > from mercurial import extensions, localrepo
-  > import os, time
   > def transaction(orig, self, desc, report=None):
   >    tr = orig(self, desc, report)
   >    def sleep(*args, **kwargs):