From cd6ca32964fbdb2fd501f6e8d92e639c3cf35a30 Mon Sep 17 00:00:00 2001 From: Mauko Quiroga Date: Wed, 9 Oct 2024 03:37:01 +0200 Subject: [PATCH] fix(enums): failing doctest when AttributeError (#1267) --- openfisca_core/indexed_enums/_enum_type.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openfisca_core/indexed_enums/_enum_type.py b/openfisca_core/indexed_enums/_enum_type.py index 0b2f26b35..777d611ba 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"