mirror of
https://github.com/wassname/jaxtyping.git
synced 2026-09-09 11:24:55 +08:00
Be tolerant of faulty IPython installs.
This commit is contained in:
@@ -21,7 +21,9 @@ try:
|
||||
_JaxtypingTransformer(typechecker=typechecker)
|
||||
)
|
||||
|
||||
except ImportError:
|
||||
except Exception:
|
||||
# Very broad exception-handling, as e.g. IPython will sometimes be
|
||||
# present but fail to import for mysterious reasons.
|
||||
pass
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user