remove too strict assertion
Merge pull request #372 from satta/repr_fix

remove too strict assertion