I'm trying to get pytest back up and running in VS Code. I have the simple test function as follows:
def test_func():
x = 1
y = 1
assert x == y
The test is discovered fine and I can click on the Run Test link above the test function to run the test. However, if I click the Debug Test link then I get an output message saying Error: TypeError: message must be set.
I've tried googling the error and there is only one result (on GitHub) however the link is dead.
Any ideas on what might be happening?