diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2015-04-10 14:56:42 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2015-04-10 14:56:42 +0200 |
commit | 336416bd600d67776a321fd199ad7ccefb547163 (patch) | |
tree | 57ecfc4914f466a75b66c6c2221ef14c9c47fd41 /test.py | |
parent | df7a8b8aade0162a31aacc90cc3811735445ac99 (diff) | |
download | python-lxml-336416bd600d67776a321fd199ad7ccefb547163.tar.gz |
work around pypy3 bug in test runner
Diffstat (limited to 'test.py')
-rw-r--r-- | test.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -481,7 +481,8 @@ def main(argv): cols = curses.tigetnum('cols') if cols > 0: cfg.screen_width = cols - except curses.error: + except (curses.error, TypeError): + # tigetnum() is broken in PyPy3 and raises TypeError pass # Option processing |