jesta@lemmy.worldtoPython@programming.dev•Why won't my Python unit tests run? [SOLVED]
6·
5 months agoIn the first one the tutorial expects you to just leave the function in circles.py, after you have create the separate unit test file.
On the second one, You are probably trying to run the tests while inside the “test” folder. You need to be in the project folder when running the python -m unittest discover -v
It’s probably this recent bug in kernel/mesa. https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/issues/47
You need to downgrade your kernel or wait for the fix…