# AssertionError: expected call not found.
Expected: mock(1)
Actual: mock(2)

- **ID:** `python/unittest-assertcount-equal-error`
- **Domain:** python
- **Category:** runtime_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

使用 assert_called_with 检查 mock 调用时，参数不匹配

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.12 | active | — | — |

## Workarounds

1. **** (90% success)
   ```
   print(mock.call_args_list) 然后修正预期
   ```
2. **** (80% success)
   ```
   mock.assert_any_call(1)
   ```

## Dead Ends

- **** — 只检查调用次数，不检查参数 (60% fail)
- **** — 可能不符合测试意图 (30% fail)
