Skip to content

Commit

Permalink
Added test for issue hgrecco#783
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbhandari committed Mar 26, 2019
1 parent 414d400 commit 022337d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pint/testsuite/test_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,10 @@ def test_issue655a(self):
self.assertEqual(velocity.check('[length] / [time]'), True)
self.assertEqual(velocity.check('1 / [time] * [length]'), True)

def test_issue783(self):
ureg = UnitRegistry()
assert not ureg('g') == []

def test_issue(self):
import math
try:
Expand Down

0 comments on commit 022337d

Please sign in to comment.