py3: make tests/svn-safe-append.py use absolute_import
authorPulkit Goyal <7895pulkit@gmail.com>
Mon, 16 May 2016 04:31:20 +0530
changeset 29195 bdba6a2015d0
parent 29194 3bea82dd4c4e
child 29197 c5f9ff302065
py3: make tests/svn-safe-append.py use absolute_import
tests/svn-safe-append.py
tests/test-check-py3-compat.t
--- 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]
--- 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