Support for classes that define `__new__` for `mock_constructor`
オープン
enhancement
help wanted
mock_constructor
- 主要言語
- Python
- スター
- 149
- フォーク
- 62
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
It currently has no support for classes with `__new__`, and will reject patching those.
IIRC, it was tough getting around Python idiosyncrasies to make `mock_constructor` work, and I willingly decided not to implement `__new__` at first to simplify things, but this is potentially doable.
コントリビューションガイド
評価
この issue はまだ評価されていません。