Comment a workaround for #1485.

This commit is contained in:
Roman Bolshakov 2016-03-27 13:15:56 +03:00
parent 52bc2f8616
commit 89df701ae9
1 changed files with 1 additions and 0 deletions

View File

@ -498,6 +498,7 @@ def importorskip(modname, minversion=None):
try: try:
__import__(modname) __import__(modname)
except ImportError: except ImportError:
# Do not raise chained exception here(#1485)
should_skip = True should_skip = True
if should_skip: if should_skip:
skip("could not import %r" %(modname,)) skip("could not import %r" %(modname,))