arrayfire / arrayfire-python

Python bindings for ArrayFire: A general purpose GPU library.
https://arrayfire.com
BSD 3-Clause "New" or "Revised" License
417 stars 65 forks source link

python -m arrayfire.tests fails because tests directory is not under arrayfire #256

Closed savvyyabby closed 3 years ago

savvyyabby commented 3 years ago

Simple one... in the current release the "tests" folder is not under arrayfire directory so the command

python -m arrayfire.tests

fails with a module not found error

Moving tests directory into arrayfire fixes that issue to make it consistent with the documentation

Without any change... the command

python -m tests

works fine... so maybe change the documentation?

savvyyabby commented 3 years ago

pretty obvious 'python -m tests' is the solution