jjhelmus/nmrglue — pull request #3 by mattfenwick (2012-10-03 18:37:23+00:00)
Title: Some improvements to similarity checking in `util.misc`

Sorry, I didn't write any tests for this code. The docstring also isn't gret.

- pulled repeated code out of `isdictsimilar` and `islistsimilar`

- fixed bug in similarity checking code:
different types could sometimes cause an exception to be raised

- superficial change in numeric check: `isinstance` can take tuples