You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 14, 2023. It is now read-only.
When running the tests during build time, I get the following error:
_____________________ [doctest] poliastro.core.util.cross ______________________
143 b : ndarray
144 3 Dimension vector.
145
146 Examples
147 --------
148 >>> from poliastro.core.util import cross
149 >>> from astropy import units as u
150 >>> i = [1, 0, 0] * u.m
151 >>> j = [0, 1, 0] * u.m
152 >>> cross(i, j)
UNEXPECTED EXCEPTION: TypeError('only dimensionless scalar quantities can be converted to Python scalars')
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/astropy/units/quantity.py", line 715, in to_value
scale = self.unit._to(unit)
File "/usr/lib/python3/dist-packages/astropy/units/core.py", line 953, in _to
"'{0!r}' is not a scaled version of '{1!r}'".format(self, other))
astropy.units.core.UnitConversionError: 'Unit("m2")' is not a scaled version of 'Unit(dimensionless)'
🐞 Problem
When running the tests during build time, I get the following error:
and similarly
Any idea here? Astropy version is 3.2.1.