Comment a workaround for #1485.
This commit is contained in:
parent
52bc2f8616
commit
89df701ae9
|
@ -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,))
|
||||||
|
|
Loading…
Reference in New Issue