numpy/numpy — pull request #273 by dlaxalde (2012-05-08 19:46:25+00:00)
Title: somes fixes for the roll function

* added tests for roll (based on examples in the docstring)
* raise a `ValueError` when `axis` is out of range
* handle empty arrays