small doc update.
fix test in python 2.6
Merge pull request #1753 from nouiz/py26

Fix test in py26 (travis-ci)