Search across open source Python repositories that have the `AssertionError` to understand the message more.
Thank you, My gut feeling is that it is better to update the SeismicPortal's example script. But just in case you'd like to make tornado more robust to be able to handle old Python 2.x code which does ...