Fixed a few names

This commit is contained in:
Patrick Kidger
2022-09-07 12:20:42 -07:00
parent cb11a93b22
commit 01f8f20bf5
2 changed files with 23 additions and 19 deletions
+5 -1
View File
@@ -21,7 +21,7 @@ import jax.numpy as jnp
import jax.random as jr
import pytest
from jaxtyping import Array, Float, Float32, jaxtyped, Shaped
from jaxtyping import AbstractDtype, Array, Float, Float32, jaxtyped, Shaped
from .helpers import ParamError, ReturnError
@@ -62,6 +62,10 @@ def test_dtypes():
UInt64,
)
for key, val in locals().items():
if issubclass(val, AbstractDtype):
assert key == val.__name__
def test_return(typecheck, getkey):
@jaxtyped