Sorry about that. Try this:

```
patch = mock.patch.object(
    ParrotTask,
    'calculate_result',
    autospec=True,
    side_effect=AssertionError("Should have skipped calculate_result"),
)

...

    @patch
    def test(self):
```

Likely with better names, but that should do it.