rgommers/scipy — comment on commit aa136e49a819eb735c7b4372dd9fe328b86b6211
File: scipy/integrate/quadrature.py line 229
By WarrenWeckesser:

Using asarray here breaks the test 'if x is None' in the next line. You'll need to test 'x is None' before this.