步骤:打开File -> Settings -> Tools -> Python Integrated Tools。在Testing部分,将Default test runner改为Unittests。