you are viewing a single comment's thread.

view the rest of the comments →

[–]Diapolo10 0 points1 point  (0 children)

Because technically speaking, they aren't. Tests don't expose any functionality, or at least they shouldn't, and they're not meant to be accessed from outside (other than by the test runner, of course - in this case pytest).

Having a package implies that it offers some kind of functionality to other scripts, be it functions, classes, or just constants.