Saturday, January 23, 2016

PyCharm context menu says "run unittests for ..." when I have no unit tests

I have no unit tests and PyCharm is annoyingly saying "Run unittests for" in the context menu, instead of "Run"

I had two functions with the word "test" at the beginning, and PyCharm apparently uses that as a flag to determine what to say in the context menu. Not very charming. The solution was to change the name so that they didn't start with "test."

No comments:

Post a Comment