General cleanup of asserion logic, minor code format cleanup.
General cleanup of asserion logic, minor code format cleanup.

Signed-off-by: Paul deGrandis <c0d4da16cc2c65e0a0e9d36d05888023e4c91c09@gmail.com>

cognitect/transit-python,cognitect/transit-python