Skip to content

Commit fb7d78d

Browse files
fix failing tests
1 parent a915aba commit fb7d78d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

climada/entity/impact_funcs/trop_cyclone.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -439,17 +439,17 @@ def get_countries_per_region(region=None):
439439

440440
if region == "all":
441441
return (
442-
CountryCode.REGION_NAME,
443-
CountryCode.IMPF_ID,
444-
CountryCode.ISO3N,
445-
CountryCode.ISO3A,
442+
CountryCode.REGION_NAME.value,
443+
CountryCode.IMPF_ID.value,
444+
CountryCode.ISO3N.value,
445+
CountryCode.ISO3A.value,
446446
)
447447

448448
return (
449-
CountryCode.REGION_NAME[region],
450-
CountryCode.IMPF_ID[region],
451-
CountryCode.ISO3N[region],
452-
CountryCode.ISO3A[region],
449+
CountryCode.REGION_NAME.value[region],
450+
CountryCode.IMPF_ID.value[region],
451+
CountryCode.ISO3N.value[region],
452+
CountryCode.ISO3A.value[region],
453453
)
454454

455455
@staticmethod

0 commit comments

Comments
 (0)