Skip to content

Commit

Permalink
Fixing ValueError Statements
Browse files Browse the repository at this point in the history
  • Loading branch information
DhruvSondhi committed May 1, 2021
1 parent 22ba5a4 commit 9ff0082
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tardis/io/tests/test_config_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def test_model_section_config(tardis_config_verysimple):
conf.model.structure.velocity.start
< conf.model.structure.velocity.stop
):
raise ValueError("Start Value is greater than Stop Value")
raise ValueError("Stop Value must be greater than Start Value")
assert ve.type is ValueError


Expand All @@ -116,7 +116,7 @@ def test_supernova_section_config(tardis_config_verysimple):
conf.supernova.luminosity_wavelength_start.value
< conf.supernova.luminosity_wavelength_end.value
):
raise ValueError("End Limit must be Start Limit for Luminosity")
raise ValueError("End Limit must be greater than Start Limit for Luminosity")
assert ve.type is ValueError


Expand Down

0 comments on commit 9ff0082

Please sign in to comment.