Writing a unit test with pytest or unittest makes a great driver for the code under test, but it's also nice sometimes to display what's happening in the test itself. This worked a while ago, but for some reason, I now get an error like this:
------------------------------------------------------------------------------------------------------------------------------------ |
unittest foo doesn't call the home.don..config.JetBrains.PyCharm2020.3.scratches.test_foo module. Try a different run configuration. |
------------------------------------------------------------------------------------------------------------------------------------ |
Writing a unit test with pytest or unittest makes a great driver for the code under test, but it's also nice sometimes to display what's happening in the test itself. This worked a while ago, but for some reason, I now get an error like this: