[Python-Dev] cpython: Issue #15168: Move importlb.test to test.test_importlib.
Antoine Pitrou
solipsis at pitrou.net
Fri Jul 20 22:12:26 CEST 2012
More information about the Python-Dev mailing list
Fri Jul 20 22:12:26 CEST 2012
- Previous message: [Python-Dev] Summary of Python tracker Issues
- Next message: [Python-Dev] cpython: Issue #15168: Move importlb.test to test.test_importlib.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 20 Jul 2012 20:49:03 +0200 (CEST) brett.cannon <python-checkins at python.org> wrote: > diff --git a/Lib/importlib/test/__init__.py b/Lib/test/test_importlib/__init__.py > rename from Lib/importlib/test/__init__.py > rename to Lib/test/test_importlib/__init__.py > --- a/Lib/importlib/test/__init__.py > +++ b/Lib/test/test_importlib/__init__.py > @@ -1,5 +1,6 @@ > import os > import sys > +from .. import support I don't know if I'm only speaking for myself, but I really have trouble parsing non-trivial relative imports, and I personally prefer when people use absolute imports (e.g. "from test import support"). cheers Antoine. -- Software development and contracting: http://pro.pitrou.net
- Previous message: [Python-Dev] Summary of Python tracker Issues
- Next message: [Python-Dev] cpython: Issue #15168: Move importlb.test to test.test_importlib.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list