pycharm exit mode unittest

1. Right-today running the program, do not know how, always feeling not functioning properly. To test the way to do it.

2. The reason: your code, package name, module name, function name, etc., may be test or contain the word test, so pycharm after detection, is likely to test mode to execute your program.

3. lifted: try a few methods are not very effective, the best test is to contain the name of the word can get rid of.

Guess you like

Origin www.cnblogs.com/zrmw/p/12577219.html