Skip to content

Commit

Permalink
test(enums): update str eq test (#1267)
Browse files Browse the repository at this point in the history
  • Loading branch information
bonjourmauko committed Oct 9, 2024
1 parent cfd1749 commit 05e9db7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openfisca_core/indexed_enums/enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ def encode(
>>> array = numpy.array(["TENANT"])
>>> enum_array = Housing.encode(array)
>>> enum_array[0] == Housing.TENANT.index
True
>>> enum_array == Housing.TENANT
array([ True])
# Array of bytes
Expand Down

0 comments on commit 05e9db7

Please sign in to comment.