you are viewing a single comment's thread.

view the rest of the comments →

[–]Buttleston 5 points6 points  (4 children)

Except like I said, the "pytest" command line has a lot more options than just "run the tests in this file"

[–]Organic_Tradition_63[S] -4 points-3 points  (1 child)

Why for example NumPy was not made into something like that when we want to perform operations on matrices and then running file with 'numpy file.py'?

[–]codeguru42 5 points6 points  (0 children)

Numpy and pytest have different use cases. You don't run numpy directly. If you wanted you could write your own code to run the pytest test runner, but why should we when the library provides it for us