[issue21097] Move test_namespace_pkgs into test_importlib.
Eric Snow
report at bugs.python.org
Sat Mar 29 22:21:24 CET 2014
New submission from Eric Snow:
While working on #19711 it dawned on me that test_namespace_pkgs might be more appropriate as a submodule of test_importlib. The feature doesn't have it's own module nor is it otherwise independent of importlib.
I don't want to introduce churn here for the sake of conceptual purity. Rather, the module would be more discoverable if associated with importlib in this way. For #19711 I wrote a test case that was overly complicated and did not work (goes hand-in-hand, no?) that I would not have spent time on if I'd remembered about test_namespace_pkgs or seen it somewhere under test_import*.
As a bonus, this change moves 1 file and 1 directory out of Lib/test (a directory that takes "flat is better than nested" to the extreme).
Any objections?
----------
messages: 215145
nosy: barry, brett.cannon, eric.smith, eric.snow, ncoghlan
priority: low
severity: normal
stage: needs patch
status: open
title: Move test_namespace_pkgs into test_importlib.
type: enhancement
versions: Python 3.4, Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21097>
_______________________________________
More information about the Python-bugs-list
mailing list