alecthomas / importmagic

A Python library for finding unresolved symbols in Python code, and the corresponding imports
BSD 2-Clause "Simplified" License
120 stars 20 forks source link

Split tests out into a separate directory, and don't install them #32

Closed jonathanunderwood closed 8 years ago

jonathanunderwood commented 8 years ago

Currently the tests live under the importmagic directory, which means the test .py files get installed, whereas the .json file doesn't. On the installed system, therefore the installed test .py files aren't really useful.

It would be better (particular from the perspective of a downstream package maintainer) to have the tests and related data living under a separate test directory.

alecthomas commented 8 years ago

I probably won't do this, but I'm not against it if someone sends a PR.