mirror of
https://github.com/wassname/jaxtyping.git
synced 2026-09-09 11:24:55 +08:00
Fixed a few names
This commit is contained in:
+5
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user