luyangever
luyangever
采纳率33.3%
2020-01-15 11:34

pytest执行用例,用例执行完tearDownClass仍然不结束

5
已采纳

1.执行py.test -s -q D:\AutoTest\TestCase\test_case\AbnormalScenario
进程停滞不动
================================================== warnings summary ===================================================
d:\program files\python\lib\site-packages\win32\lib\pywintypes.py:3
d:\program files\python\lib\site-packages\win32\lib\pywintypes.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp

-- Docs: https://docs.pytest.org/en/latest/warnings.html
9 passed, 1 warnings in 121.95s (0:02:01)

已经出结果了,但是进程仍然不结束

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

相关推荐