File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,11 @@ def test_temperature_hub(self):
102102 np .array ([100 , 10 ]),
103103 ]
104104 temp_exp = pd .Series (data = [267 , 268 ], name = 100 )
105- assert_series_equal (test_mc .temperature_hub (weather_df ), temp_exp )
105+ assert_series_equal (
106+ test_mc .temperature_hub (weather_df ),
107+ temp_exp ,
108+ check_dtype = False ,
109+ )
106110
107111 def test_density_hub (self ):
108112 # Test modelchain with density_model='barometric'
Original file line number Diff line number Diff line change @@ -53,7 +53,9 @@ def test_smooth_power_curve(self):
5353 )
5454 smoothed_curve_exp .index = np .arange (5 , 10 , 1 )
5555 assert_frame_equal (
56- smooth_power_curve (** parameters )[5 :10 ], smoothed_curve_exp
56+ smooth_power_curve (** parameters )[5 :10 ],
57+ smoothed_curve_exp ,
58+ check_dtype = False ,
5759 )
5860
5961 # Test Staffel_Pfenninger method
@@ -73,7 +75,9 @@ def test_smooth_power_curve(self):
7375 )
7476 smoothed_curve_exp .index = np .arange (5 , 10 , 1 )
7577 assert_frame_equal (
76- smooth_power_curve (** parameters )[5 :10 ], smoothed_curve_exp
78+ smooth_power_curve (** parameters )[5 :10 ],
79+ smoothed_curve_exp ,
80+ check_dtype = False ,
7781 )
7882
7983 # Raise ValueError - misspelling
You can’t perform that action at this time.
0 commit comments