astropy/astropy — pull request #779 by iguananaut (2013-02-14 20:49:09+00:00)
Title: Quantity throws an unrelated warning when converting through equivalencies?

I just noticed this one:

>>> x = 50.*u.THz
>>> x.to(u.eV, equivalencies=u.spectral())
WARNING: Converting Quantity object in units 'J s' to a Numpy array [astropy.units.quantity]

It seems to get the conversion right, but it looks like the issue is deep in the units code for converting with equivalencies -- it looks like somewhere `_si.h` is getting converted into an array, but I don't see where (from a quick dig through the code). Maybe @mdboom knows where this could be?