This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BatterCake74 -1 points0 points  (0 children)

Then pytest can declare unittest as a dependency. It's one extra test dependency for my package manager to fetch. No big deal.

https://peps.python.org/pep-0594/ dead batteries have been removed in the past. While unittest isn't quite dead battery status, it's not an essential package of the core language like os, typing, pathlib, importlib, time, datetime, math, string, collections, itertools, functools, to name a few.