using assertMatch to avoid 2/3 repr issues