mocker.patch fails to find tensorlib `_setup` attribute for Python 3.11 · Issue #2143 · scikit-hep/pyhf · GitHub
![python - Pytest mock.patch requests AttributeError: does not have the attribute 'json' - Stack Overflow python - Pytest mock.patch requests AttributeError: does not have the attribute 'json' - Stack Overflow](https://i.stack.imgur.com/fQLeI.png)
python - Pytest mock.patch requests AttributeError: does not have the attribute 'json' - Stack Overflow
![python - Pytest mock.patch requests AttributeError: does not have the attribute 'json' - Stack Overflow python - Pytest mock.patch requests AttributeError: does not have the attribute 'json' - Stack Overflow](https://i.stack.imgur.com/ZYCuH.png)
python - Pytest mock.patch requests AttributeError: does not have the attribute 'json' - Stack Overflow
![python - pytest mocker.patch.object's return_value uses different mock than the one I passed it - Stack Overflow python - pytest mocker.patch.object's return_value uses different mock than the one I passed it - Stack Overflow](https://i.stack.imgur.com/2njqk.jpg)
python - pytest mocker.patch.object's return_value uses different mock than the one I passed it - Stack Overflow
![Amazon.co.jp: ◇ Character embroidery (sagara) (mokomoko) patch mocker (teaching chocolate) (Size: Approx. 2.6 x 2.8 inches (6.5 x 7 cm), 1 piece) (Puipui Moleka Guinea Pig Car, Molekers, Patch, Iron, Embroidery, Cute, Amazon.co.jp: ◇ Character embroidery (sagara) (mokomoko) patch mocker (teaching chocolate) (Size: Approx. 2.6 x 2.8 inches (6.5 x 7 cm), 1 piece) (Puipui Moleka Guinea Pig Car, Molekers, Patch, Iron, Embroidery, Cute,](https://m.media-amazon.com/images/I/41HummDDeVL._AC_UF894,1000_QL80_.jpg)