From d41266f7ed748ca89b07d0f8a82dd90a7e28c24f Mon Sep 17 00:00:00 2001 From: Samuel Letellier-Duchesne Date: Sat, 21 Sep 2024 11:49:29 -0400 Subject: [PATCH] raises EnergyPlusVersionError --- tests/test_idfclass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):