diff options
-rwxr-xr-x | Tools/pybench/pybench.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/pybench/pybench.py b/Tools/pybench/pybench.py index 7fff065..d2da609 100755 --- a/Tools/pybench/pybench.py +++ b/Tools/pybench/pybench.py @@ -860,7 +860,7 @@ python pybench.py -s p25.pybench -c p21.pybench value = 2147483647 try: sys.setcheckinterval(value) - except NotImplementedError: + except (AttributeError, NotImplementedError): print '* Python version doesn\'t support sys.setcheckinterval' else: print '* system check interval set to maximum: %s' % value |