This is clearer if rewritten using `.mock_calls` and `eq_` (from nose.tools):
```
eq_(resource_setrlimit.mock_calls,
    [call(resource.RLIMIT_AS, (50000000, -1))])
```