Note - I do think there are some cases where using assert outside of tests makes sense
see e.g. https://review.openstack.org/#/c/36603/13/nova/api/ec2/cloud.py
Note - I do think there are some cases where using assert outside of tests makes sense
see e.g. https:/ /review. openstack. org/#/c/ 36603/13/ nova/api/ ec2/cloud. py