# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1463353280 -19800 # Node ID bdba6a2015d0bc57c6e2beab25d138610dcbf360 # Parent 3bea82dd4c4ef61b98c5355cc37b7fe98352bfe7 py3: make tests/svn-safe-append.py use absolute_import diff -r 3bea82dd4c4e -r bdba6a2015d0 tests/svn-safe-append.py --- a/tests/svn-safe-append.py Mon May 16 04:28:22 2016 +0530 +++ b/tests/svn-safe-append.py Mon May 16 04:31:20 2016 +0530 @@ -1,9 +1,12 @@ #!/usr/bin/env python +from __future__ import absolute_import + __doc__ = """Same as `echo a >> b`, but ensures a changed mtime of b. Without this svn will not detect workspace changes.""" -import sys, os +import os +import sys text = sys.argv[1] fname = sys.argv[2] diff -r 3bea82dd4c4e -r bdba6a2015d0 tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t Mon May 16 04:28:22 2016 +0530 +++ b/tests/test-check-py3-compat.t Mon May 16 04:31:20 2016 +0530 @@ -29,7 +29,6 @@ tests/md5sum.py not using absolute_import tests/readlink.py not using absolute_import tests/run-tests.py not using absolute_import - tests/svn-safe-append.py not using absolute_import tests/test-demandimport.py not using absolute_import #if py3exe