This works with the latest pytest: All you need to do is run pytest with the --capture=sys option and dependent the assertion outside of the raises() ...
確定! 回上一頁