openfisca / openfisca-core

OpenFisca core engine. See other repositories for countries-specific code & data.
https://openfisca.org
GNU Affero General Public License v3.0
168 stars 75 forks source link

`AttributeError` when running make test on a system with a parameter named `children.yaml` #1101

Open MaxGhenis opened 2 years ago

MaxGhenis commented 2 years ago

After introducing a parameter named children.yaml, running make test produced this error (here's the whole thing):

AttributeError: 'Parameter' object has no attribute 'values'

Changing the name of the parameter fixed it.

If this is a reserved name for traversing the parameter tree, could it throw an informative error message?