Tests are failing on travis, TypeError but works fine locally

I am running my test on Travis, but I’m currently facing this issue. I have no idea where the problem is coming from. Please any ideas on what to do?

My build is here https://travis-ci.org/github/CJIDNG/NAREP/builds/686081712

Imprint