Simplified internals by removing jaxtyping_raise; jaxtyping_malformed.

This commit is contained in:
Patrick Kidger
2023-12-05 19:06:00 -08:00
parent e5cc75e4a3
commit 33cf4fcdac
9 changed files with 101 additions and 129 deletions
+2 -1
View File
@@ -29,6 +29,7 @@ import torch
from jaxtyping import (
AbstractDtype,
AnnotationError,
Array,
ArrayLike,
Bool,
@@ -448,7 +449,7 @@ def test_incomplete_symbolic(jaxtyp, typecheck, getkey):
pass
x = jr.normal(getkey(), (4,))
with pytest.raises(NameError):
with pytest.raises(AnnotationError):
foo(x)