drothlis/stb-tester — pull request #186 by wmanley (2014-06-23 09:30:19+00:00)
Title: _numpy_from_sample: Improve error reporting

Print a more useful message when wrong type passed to `_numpy_from_sample`.

I ran into this when mistakenly passing a region as the first argument to `stbt.ocr`.