We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e3ef4e commit bd97cf4Copy full SHA for bd97cf4
1 file changed
climada/engine/test/test_cost_benefit.py
@@ -1140,14 +1140,13 @@ def test_measure_exposure_no_centroids(self):
1140
imp_time_depen=None,
1141
save_imp=True,
1142
)
1143
- if logs.output:
1144
- for log in logs.output:
1145
- self.assertNotIn(
1146
- "No assigned hazard centroids in exposure object after",
1147
- log,
1148
- "Centroids are already assinged in Measure Exposure object"
1149
- "and should not be reassigned.",
1150
- )
+ for log in logs.output:
+ self.assertNotIn(
+ "No assigned hazard centroids in exposure object after",
+ log,
+ "Centroids are already assinged in Measure Exposure object"
+ "and should not be reassigned.",
+ )
1151
except AssertionError as e:
1152
if "no logs" in str(e).lower():
1153
pass
0 commit comments