Doctest: hack in handling mock style objects#4212
Conversation
|
Just FYI: GitHub is facing some issues so webhooks are disabled for the moment: https://status.github.com/messages |
|
i am aware ^^ |
Codecov Report
@@ Coverage Diff @@
## master #4212 +/- ##
==========================================
+ Coverage 95.73% 95.75% +0.02%
==========================================
Files 111 111
Lines 24686 24947 +261
Branches 2446 2503 +57
==========================================
+ Hits 23632 23887 +255
- Misses 741 748 +7
+ Partials 313 312 -1
Continue to review full report at Codecov.
|
cb22ac7 to
92873fb
Compare
nicoddemus
left a comment
There was a problem hiding this comment.
Clever solution, awesome!
Please just add a docstring to _is_mocked and _patch_unwrap_mock_aware explaining what's going on to the unaware, including a reference to the issue. 🙇
92873fb to
a6988aa
Compare
|
great, thanks |
|
@RonnyPfannschmidt Thx for this hack! I have applied it in pytest-sphinx as well. |
|
@Thisch im glad it could help, i was repulsed as i made it ^^ |
Resolves #3456