Skip to content
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

Fix checking dimensionless units in tests #3397

Merged
merged 2 commits into from
Feb 14, 2024

Conversation

dopplershift
Copy link
Member

Description Of Changes

Broken currently on Pint git (See #3368). Don't rely on the string representation of dimensionless quantities, but rely on proper object equality. This is better regardless of whether it represents a long-term change for Pint, since units('dimensionless') == units('').

Checklist

Broken currently on Pint git. Don't rely on the string representation
of dimensionless quantities, but rely on proper object equality. This is
better regardless of whether it represents a long-term change for Pint.
@dopplershift dopplershift added Type: Maintenance Updates and clean ups (but not wrong) Area: Tests Affects tests Area: Units Pertains to unit information labels Feb 14, 2024
@dopplershift dopplershift added this to the 1.7.0 milestone Feb 14, 2024
@dopplershift dopplershift requested a review from a team as a code owner February 14, 2024 20:11
@dopplershift dopplershift requested review from dcamron and removed request for a team February 14, 2024 20:11
@dopplershift dopplershift added the nightly-ci Trigger a build of the nightly CI label Feb 14, 2024
@dcamron dcamron merged commit 26e000d into Unidata:main Feb 14, 2024
43 checks passed
@dopplershift dopplershift deleted the fix-pint-git branch February 14, 2024 21:09
@dopplershift dopplershift modified the milestones: 1.7.0, 1.6.2 Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Tests Affects tests Area: Units Pertains to unit information nightly-ci Trigger a build of the nightly CI Type: Maintenance Updates and clean ups (but not wrong)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nightly build is failing
2 participants