BlueBrain / nmodl

Code Generation Framework For NEURON MODeling Language
https://bluebrain.github.io/nmodl/
Apache License 2.0
57 stars 15 forks source link

Systematically test visibility of global variables. #1421

Open 1uc opened 2 months ago

1uc commented 2 months ago

There's various flavours of static variables. Some are visible, like PARAMETER, some are not, like top-level LOCAL variables.

We test that the variables work, however, we don't test the non-visibility requirement. It would be good to systematically check using !hasattr.