changeset 33946:83313639b8a4

tests: update test-bookmarks to pass the import checker
author Augie Fackler <raf@durin42.com>
date Tue, 22 Aug 2017 15:04:14 -0400
parents 403040b5a5bd
children 0124cf4af3b7
files tests/test-bookmarks.t
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):