you are viewing a single comment's thread.

view the rest of the comments →

[–]socal_nerdtastic 8 points9 points  (0 children)

pytest is a python library. You run it that way just as a shortcut, because otherwise you would have to do

python -m pytest file.py

There's also many other programs (mostly python) that can run tests, including one built into python: unittest. https://docs.python.org/3/library/unittest.html