Remove assert forms only present in Python 2.7.
Remove assert forms only present in Python 2.7.


Former-commit-id: 89bd13c2264636eae04e66082e70ad95d5b73abd
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine