Why is this the best possible solution? Were any other approaches considered?
This is a quick prevention of the crash. I think we should also consider #534.
I also added a couple of tests around numeric choice names because I initially thought that might be the issue and it does seem like something that could regress.
What are the regression risks?
It's an added None check only so I don't believe there are any.
Does this change require updates to documentation? If so, please file an issue here and include the link below.
No.
Before submitting this PR, please make sure you have:
[x] included test cases for core behavior and edge cases in tests_v1
[x] run nosetests and verified all tests pass
[x] run black pyxform to format code
[x] verified that any code or assets from external sources are properly credited in comments
Closes #532
Why is this the best possible solution? Were any other approaches considered?
This is a quick prevention of the crash. I think we should also consider #534.
I also added a couple of tests around numeric choice names because I initially thought that might be the issue and it does seem like something that could regress.
What are the regression risks?
It's an added
None
check only so I don't believe there are any.Does this change require updates to documentation? If so, please file an issue here and include the link below.
No.
Before submitting this PR, please make sure you have:
tests_v1
nosetests
and verified all tests passblack pyxform
to format code