You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a build of the source code from the main branch and ran the tests.
I got an error when specifying a test as a parameter --tests TESTS, -t TESTS
When executing this code:
Hmmm, runtests does a bit of a round-about invocation of via calling np.test(). Which looks like it ends up using ... --pyargs <test1> <test2>.
Probably pytest changed --pyargs to not accept the directory spelling anymore? I wonder if we should just tweak runtests to also accept paths if that really changed. OTOH, probably also OK to just document it and get used to the . spelling. (although I think pytest prints the test names as path making copy pasting harder then)
@seberg I agree with you. Specifying the test via the path looks more convenient than what we have now. I'll look in the history of the reasons for these changes.
Issue with current documentation:
Good afternoon.
I made a build of the source code from the main branch and ran the tests.
I got an error when specifying a test as a parameter
--tests TESTS, -t TESTS
When executing this code:
I get error:
ERROR: module or package not found: numpy/core/tests/test_nditer.py (missing __init__.py?)
If I use which syntax
Everything works correctly
In the documentation, including the file development_environment.rst, the first implementation option is indicated.
Runtime information:
If this documentation is outdated, I might update it.
Idea or request for content:
No response
The text was updated successfully, but these errors were encountered: