Patchwork [5,of,7] py3: use absolute_import in sitecustomize.py

login
register
mail settings
Submitter roby roby
Date April 16, 2016, 3:11 a.m.
Message ID <329b0dca309f81b78222.1460776301@roby>
Download mbox | patch
Permalink /patch/14671/
State Accepted
Delegated to: Yuya Nishihara
Headers show

Comments

roby roby - April 16, 2016, 3:11 a.m.
# HG changeset patch
# User Robert Stanca <robert.stanca7@gmail.com>
# Date 1460774061 -10800
#      Sat Apr 16 05:34:21 2016 +0300
# Node ID 329b0dca309f81b78222d22ff2361bde29e1e71c
# Parent  15171a6085ffff948ec94ddb9d69241bcbed2643
py3: use absolute_import in sitecustomize.py

Patch

diff -r 15171a6085ff -r 329b0dca309f tests/sitecustomize.py
--- a/tests/sitecustomize.py	Sat Apr 16 05:33:23 2016 +0300
+++ b/tests/sitecustomize.py	Sat Apr 16 05:34:21 2016 +0300
@@ -1,3 +1,4 @@ 
+from __future__ import absolute_import
 import os
 
 if os.environ.get('COVERAGE_PROCESS_START'):
diff -r 15171a6085ff -r 329b0dca309f tests/test-check-py3-compat.t
--- a/tests/test-check-py3-compat.t	Sat Apr 16 05:33:23 2016 +0300
+++ b/tests/test-check-py3-compat.t	Sat Apr 16 05:34:21 2016 +0300
@@ -45,7 +45,6 @@ 
   tests/readlink.py not using absolute_import
   tests/readlink.py requires print_function
   tests/run-tests.py not using absolute_import
-  tests/sitecustomize.py not using absolute_import
   tests/svn-safe-append.py not using absolute_import
   tests/svnxml.py not using absolute_import
   tests/test-atomictempfile.py not using absolute_import