Add back assertions for backwards compat.
Add back assertions for backwards compat.

mathewmarcus/jsonschema,Julian/jsonschema,jamesmarva/jsonschema,Julian/jsonschema,varunarya10/jsonschema,python-jsonschema/jsonschema,dnephin/jsonschema