numcodecs icon indicating copy to clipboard operation
numcodecs copied to clipboard

Test data/fixtures are not installed

Open QuLogic opened this issue 6 years ago • 2 comments

Now, I'm guessing this is on purpose due to their size, but it's a bit weird that numcodecs.tests is installed. This means that running installed tests with pytest --pyargs numcodecs will drop fixture and data directories in the working directory as things are written there, but it won't find anything it's expecting to read.

QuLogic avatar Mar 20 '19 02:03 QuLogic

Maybe the fixture data could be included in the source distribution, I should check the size. Possibly an alternative solution would be to separate the creation of the fixture data into a separate script to be run outside of the tests, then the fixture tests could be skipped if data are not present.

On Wed, 20 Mar 2019, 02:52 Elliott Sales de Andrade, < [email protected]> wrote:

Now, I'm guessing this is on purpose due to their size, but it's a bit weird that numcodecs.tests is installed. This means that running installed tests with pytest --pyargs numcodecs will drop fixture and data directories in the working directory as things are written there, but it won't find anything it's expecting to read.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/zarr-developers/numcodecs/issues/182, or mute the thread https://github.com/notifications/unsubscribe-auth/AAq8QgpIDvjv0b9GDecr1f9HT5jprBEcks5vYaJxgaJpZM4b-E7t .

alimanfoo avatar Mar 20 '19 07:03 alimanfoo

Any thoughts on these options, @QuLogic?

jakirkham avatar Apr 30 '19 05:04 jakirkham