pyro-ppl/pyro

Enable warnings in tests/test_examples.py

開放

#2,201 建立於 2019年12月3日

 (1 則留言) (0 個反應) (0 位負責人)Python (981 個分叉)batch import
help wantedwarnings & errors

倉庫指標

星標
 (8,211 顆星)
PR 合併指標
 (平均合併 10天 19小時) (30 天內合併 1 個 PR)

描述

I just noticed that our usual pytest warnings filters (-Werror with a few exceptions) do not apply to the eamples/*.py when run by subprocess.check_call(), leading to some warnings raised by examples.

I tried sketching a possible solution in the example-warnings branch, but it appears difficult to specify exact warnings, and there are some possibly unrelated issues with torch_shm_manager and with the jit raising SystemError: ... returned a result with an error reset.

貢獻者指南