用pytest的debug模式运行一个测试脚本,出错
解决,在pycharm的启动设置中添加 GEVENT_SUPPORT=True, 如图:
pytest用pycharm debug运行(RuntimeError: cannot release un-acquired lock)解决
原文:https://www.cnblogs.com/yeteng/p/14362444.html