Please update the "coverage.py" version. The current version 3.3 includes a lot of fancy features like branch coverage analysis:
http://nedbatchelder.com/code/coverage/changes.html