Skip to content

Commit

Permalink
test another original issue
Browse files Browse the repository at this point in the history
  • Loading branch information
breznychenko committed Aug 19, 2024
1 parent df25f33 commit e0375e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pint/testsuite/test_quantity.py
Original file line number Diff line number Diff line change
Expand Up @@ -2020,3 +2020,5 @@ def test_types(self):
assert isinstance(quantity, self.Q_)
assert isinstance(quantity.units, self.ureg.Unit)
assert isinstance(quantity.m, float)

assert isinstance(self.ureg.m, self.ureg.Unit)

0 comments on commit e0375e9

Please sign in to comment.