How to stop Pycharm from running Doctests in Right Click Menu

I'm used to being able to right click in the file and clicking “Run ‘filename.py’” to run the file. However when I added doctests to a function it instead autogenerates “Run ‘Doctests in funcname’” when right clicking outside of the ‘if __name__ == “__main__”’ block.

How do I disable this feature?

0
Hello, 
Please check the run configuration for this file (Run | Edit Configurations), take a screenshot, and attach it to this thread. Also, please upload a sample of your file here and tell us the upload ID so we can check it: https://uploads.services.jetbrains.com/
0

请先登录再写评论。