Posts by Bryan Brito • 13 points
1 post
-
1
votes1
answer149
viewsQ: How can I test an Exception in my code with unittest?
I am studying a little of Python’s unittest and I have stopped there. In my code the user must enter a valid value, if an invalid value occurs should fall in Exception, however how can I test it ?…