Added travis ci specific workaround for isatty pdb weirdness.