Skip to content

Commit

Permalink
fixed type in builder test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gorkowski committed May 26, 2024
1 parent 26ce31f commit 51e6eb6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions particula/next/particles/tests/activity_builders_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,6 @@ def test_build_kappa_parameter_activity_set_water_index():
builder.set_water_index(1)
assert builder.water_index == 1

# test type error
with pytest.raises(TypeError) as excinfo:
builder.set_water_index(1.59)
assert "Water index must be an integer." in str(excinfo.value)

# test ignore units
builder.set_water_index(1, water_index_units='no_units')
assert builder.water_index == 1
Expand Down

0 comments on commit 51e6eb6

Please sign in to comment.