typed_python
typed_python copied to clipboard
fixed bug where "any" acted as "all"
One word bug fix in all_any_wrapper.py
Motivation and Context
The AnyWrapper had been mistakenly calling "all" instead of "any". This was not caught by the test which only checked empty and full lists. I made the one word change and added another case to the existing test to cover the difference.
How Has This Been Tested?
pytest
Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist:
- [x] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.