from astropy.coordinates.tests import test_sites
test_sites.check_builtin_matches_remote('file://path/to/your/new/sites.json')
ipython-input-128-46a0624d400b> in <module>()
----> 1 test_sites.check_builtin_matches_remote(f)
~\AppData\Local\Enthought\Canopy\edm\envs\User\lib\site-packages\astropy\coordinates\tests\test_sites.py in check_builtin_matches_remote(download_url)
153 in_dl[name] = name in dl_registry
154 if in_dl[name]:
--> 155 matches[name] = quantity_allclose(builtin_registry[name], dl_registry[name])
156 else:
157 matches[name] = False
~\AppData\Local\Enthought\Canopy\edm\envs\User\lib\site-packages\astropy\units\quantity.py in allclose(a, b, rtol, atol, **kwargs)
1666 """
1667 return np.allclose(*_unquantify_allclose_arguments(a, b, rtol, atol),
-> 1668 **kwargs)
1669
1670
<__array_function__ internals> in allclose(*args, **kwargs)
~\AppData\Local\Enthought\Canopy\edm\envs\User\lib\site-packages\numpy\core\numeric.py in allclose(a, b, rtol, atol, equal_nan)
2169
2170 """
-> 2171 res = all(isclose(a, b, rtol=rtol, atol=atol, equal_nan=equal_nan))
2172 return bool(res)
2173
<__array_function__ internals> in isclose(*args, **kwargs)
~\AppData\Local\Enthought\Canopy\edm\envs\User\lib\site-packages\numpy\core\numeric.py in isclose(a, b, rtol, atol, equal_nan)
2264 # This will cause casting of x later. Also, make sure to allow subclasses
2265 # (e.g., for numpy.ma).
-> 2266 dt = multiarray.result_type(y, 1.)
2267 y = array(y, dtype=dt, copy=False, subok=True)
2268
<__array_function__ internals> in result_type(*args, **kwargs)
TypeError: invalid type promotion
Python 3.5.2 |Enthought, Inc. (x86_64)| (default, Mar 2 2017, 16:37:47) [MSC v.1900 64 bit (AMD64)]
Numpy 1.17.3
Scipy 1.0.0
astropy 3.2.3
pytz 2019.3