Note that it doesn't change the value. It just tests it's possible. If you required `limit` to be `int` and you pass `limit='123'` it's fine because ultimately it'll become `url += '/limit/%s' % limit`  later.  However, if you pass `limit='xxx'` it will cause a `ValueError` here which this enforcing is all about catching.