Skip to content

Commit

Permalink
fix(enums): failing doctest when AttributeError (#1267)
Browse files Browse the repository at this point in the history
  • Loading branch information
bonjourmauko committed Oct 9, 2024
1 parent 8a218e9 commit 9ca67b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openfisca_core/indexed_enums/_enum_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9ca67b3

Please sign in to comment.