ev3dev / ev3dev-lang-python

Pure python bindings for ev3dev
MIT License
425 stars 144 forks source link

replace asserts with ValueError or TypeError #707

Open dwalton76 opened 4 years ago

dwalton76 commented 4 years ago

Although not common asserts can be disabled (python -O run.py). We have a lot of places in the code where we are using asserts but should really be raising ValueError.