mirror of
https://github.com/wassname/jaxtyping.git
synced 2026-09-07 17:00:25 +08:00
Simplified internals by removing jaxtyping_raise; jaxtyping_malformed.
This commit is contained in:
+2
-1
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user