diff --git a/tests/test_idfclass.py b/tests/test_idfclass.py index edd6fdb1..89b4b58f 100644 --- a/tests/test_idfclass.py +++ b/tests/test_idfclass.py @@ -109,7 +109,7 @@ def test_specific_version(self, config, natvent_v9_1_0): assert natvent_v9_1_0.file_version == EnergyPlusVersion("9-1-0") def test_specific_version_error_simulate(self, natvent_v9_1_0): - with pytest.raises(InvalidEnergyPlusVersion): + with pytest.raises(EnergyPlusVersionError): natvent_v9_1_0.simulate() def test_version(self, natvent_v9_1_0):