Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Under py312, MagicMock.has_calls raises an AttributeError. This is actually a good thing, as previously we weren't actually making the assertions we thought we were making. Fix the one place that we forgot the leading `assert_`, and switch it to `any_order=True`; this is required for the test to pass, as there are additional calls between the two expected calls. See python/cpython@1d4d677d Change-Id: Ia2ff2f198b4c1312a3e7dce32f11b87050683d45
- Loading branch information