Fix test_core.py for Python 2.6 (remove unimportant assert)