The parameter name is bad. It should be str according the following lines of code. Did you test it? ;-) This issues breaks many tests (see travis results in the pull request)