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
With instead f"{q.units:D}", the output is 'dimensionless'.
With instead f"{q.units:~}", the output is ''.
With pint 0.24:
The output is ''.
It seems none of the format specifiers described on the String formatting specifications can be used to get 'dimensionless' as output.
This change is not mentioned in the change log, and there was not a PendingDeprecationWarning or FutureWarning to indicate this behaviour would change with 0.24.