Improve test coverage for AsyncMock. (GH-17906)
Improve test coverage for AsyncMock. (GH-17906)

* Add test for nested async decorator patch.
* Add test for side_effect and wraps with a function.
* Add test for side_effect with an exception in the iterable.

Backports: 54f743eb315f00b0ff45e115dde7a5d506034153
Signed-off-by: Chris Withers <711c73f64afdce07b7e38039a96d2224209e9a6c@withers.org>

testing-cabal/mock