diff --git a/tests/io/test_timeseries_import.py b/tests/io/test_timeseries_import.py index c3e0662d3..e6050edc6 100644 --- a/tests/io/test_timeseries_import.py +++ b/tests/io/test_timeseries_import.py @@ -98,7 +98,9 @@ def test_load_time_series_demandlib(self): assert np.isclose(load.loc[timeindex[453], "cts"], 8.33507e-05) assert np.isclose(load.loc[timeindex[13], "residential"], 1.73151e-04) assert np.isclose(load.loc[timeindex[6328], "agricultural"], 1.01346e-04) - assert np.isclose(load.loc[timeindex[4325], "industrial"], 9.91768322919766e-05) + assert np.isclose( + load.loc[timeindex[4325], "industrial"], 9.876543209876541e-05 + ) assert np.isclose(load.sum()["cts"], 1.0) assert np.isclose(load.sum()["residential"], 1.0) assert np.isclose(load.sum()["agricultural"], 1.0) diff --git a/tests/network/test_timeseries.py b/tests/network/test_timeseries.py index c744af3fe..ed17d00e7 100644 --- a/tests/network/test_timeseries.py +++ b/tests/network/test_timeseries.py @@ -1565,9 +1565,9 @@ def test_predefined_conventional_loads_by_sector(self, caplog): index=index, columns=["cts", "residential", "agricultural", "industrial"], data=[ - [0.000059711, 0.0000782190, 0.00006540, 0.000099176], - [0.000052590, 0.0000563428, 0.00006110, 0.000099176], - [0.000045927, 0.0000451043, 0.00005843, 0.000099176], + [0.000059711, 0.0000782190, 0.00006540, 0.000098765], + [0.000052590, 0.0000563428, 0.00006110, 0.000098765], + [0.000045927, 0.0000451043, 0.00005843, 0.000098765], ], ) @@ -1656,7 +1656,7 @@ def test_predefined_conventional_loads_by_sector(self, caplog): self.edisgo.timeseries.loads_active_power[ "Load_industrial_LVGrid_6_1" ].values, - [0.05752256272934643] * 3, + [0.05728395] * 3, ).all() assert np.isclose( self.edisgo.timeseries.loads_active_power.loc[