[yt-svn] [yt_analysis/yt] yt.utilities.kdtree does not conform to __init__.py / api.py standards (issue #444)

Matthew Turk issues-reply at bitbucket.org
Sun Oct 14 13:44:38 PDT 2012


--- you can reply above this line ---

New issue 444: yt.utilities.kdtree does not conform to __init__.py / api.py standards
https://bitbucket.org/yt_analysis/yt/issue/444/ytutilitieskdtree-does-not-conform-to

Matthew Turk:

The forthon kD-tree doesn't conform to the way we have importing set up in other modules.  The `__init__.py` should contain no imports, and all imports should be in `api.py`.  It would also be nice to import only the specific names, rather than `*`, as that way we can see which items get imported explicitly.

This is the last remaining barrier to getting test discovery working universally.  It can be seen by *not* building the kdtree and running `python2.7 setup.py nosetests`, which should then try to discover tests inside the kdtree directory, fail, and throw it as a build error.

Responsible: sskory
--

This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.



More information about the yt-svn mailing list