Gobbel2000@programming.devtoPython@programming.dev•Why won't my Python unit tests run? [SOLVED]
5·
3 months agoWhen you import circles
in the test file (even if you only select circles_area
) the circles file basically gets executed from top to bottom to run all definitions at the point of the import statement. This executes your for loop which fails, and the actual tests are never run. Just remove that loop in the circles module, and it should work.
This statement is wrong.