fix assertIs for python 2.6
Merge branch 'hotfix/assertIs'