don't make print crash when not in unit test mode