Skip to content

Commit

Permalink
Change units.UnitsException to units.UnitsError
Browse files Browse the repository at this point in the history
Closes #13.
  • Loading branch information
jrsmith3 committed Nov 25, 2014
1 parent 2ae7172 commit 52791b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_PhysicalProperty.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def test_set_Quantity_incompatible_units(self):
pp = PhysicalProperty()
qty = units.Quantity(100., "km")

self.assertRaises(units.UnitsException, pp.__set__, MockClassEmpty, qty)
self.assertRaises(units.UnitsError, pp.__set__, MockClassEmpty, qty)

def test_set_numeric_above_up_bnd(self):
"""
Expand Down

0 comments on commit 52791b6

Please sign in to comment.