Referring to http://projects.scipy.org/scipy/scipy/changeset/4121 Please add regression tests whenever functionality is fixed, otherwise someone's going to break the code again sooner or later.