Fix comments and unittest for market.py and style

Trying to make the right commit to  the develop branch.
:+1: for restyling comments as docstrings. However, in this particular case, neither the comment nor the docstring add anything.