no output in console for unittests in pycharm 2017

后端 未结 4 1895
温柔的废话
温柔的废话 2021-02-04 05:50

I have created unitests using import unittest. When I want to run a specific test and I put a breakpoint then go to the console and try to eval expressions there\'s no r

4条回答
  •  臣服心动
    2021-02-04 06:04

    I had the issue running pytests for django in the Pycharm debugger. Adding -s as a parameter did the trick for me. As seen in the Pycharm bugreport: PY-22505 from Zach's answer.

提交回复
热议问题