sympy/sympy — pull request #8482 by matthew-brett (2014-11-21 02:09:55+00:00)
Title: Fix ZeroDivisionError for stty columns=0

The PyTestReporter object fetches terminal width using `stty`. This can be
reported as zero, giving later confusing errors. If the width is zero, use
the default instead.

Fixes bug running tests on new incarnation of travis OSX test VMS: https://s3.amazonaws.com/archive.travis-ci.org/jobs/39770605/log.txt