facebook / facebook/TestSlide

Improve mock(_async)_callable & mock_constructor exceptions.

オープン
#189 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
Better Error Messages easy enhancement mock_constructor mock(_async)_callable
主要言語
Python
スター
149
フォーク
62
PR マージ指標
30日以内にマージされた PR はありません

説明

With #184 adding caller_frame_info to mock instances, we can now improve all exceptions that are raised by these mocks, ta all contain information regarding the file:lineno where the mock was defined.

This is a frequently asked feature by uses, which should simplify development significantly.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。