代码中含有test关键字,或者test为前缀开头也是有问题的`,检测到test,pycharm会自动进入单元测试
def test():
correct = 0
total = 0`
def test1():
correct = 0
total = 0
以上两个都是有问题的
解决办法:::::::::
可以
def super_test1():
correct = 0
total = 0
参考大佬:
https://blog.csdn.net/weixin_44024993/article/details/107567954