Improved error messaging in parameterized __doc__ test.