-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
to_compact
handles prefixed units incorrectly.
#960
Labels
Comments
bors bot
added a commit
that referenced
this issue
Jan 22, 2020
996: Fix Bug Quantity to_compact r=hgrecco a=jules-ch - Handles unit in to_compact function. - Use same function infer_base_unit on Quantity based on input unit. - Add unit test in test_issues.py - [x] Closes #960 - [x] Executed ``black -t py36 . && isort -rc . && flake8`` with no errors - [x] The change is fully covered by automated unit tests - [x] Added an entry to the CHANGES file Co-authored-by: Jules Chéron <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a bug in
to_compact
handling theunit
argumentwhen the unit is prefixed
The text was updated successfully, but these errors were encountered: