diff --git a/openfisca_core/indexed_enums/_enum_type.py b/openfisca_core/indexed_enums/_enum_type.py index 8a64d3b79..fe098e2c7 100644 --- a/openfisca_core/indexed_enums/_enum_type.py +++ b/openfisca_core/indexed_enums/_enum_type.py @@ -50,7 +50,7 @@ class EnumType(t.EnumType): >>> Enum.items Traceback (most recent call last): - AttributeError: type object 'Enum' has no attribute 'items' + AttributeError: ... >>> class Housing(Enum): ... OWNER = "Owner"