Skip to content

Commit

Permalink
fix: a rename
Browse files Browse the repository at this point in the history
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
  • Loading branch information
nstarman committed Aug 27, 2024
1 parent f07317b commit 770f5c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from types import MappingProxyType
from typing import Any

import jax.numpy as jnp
import pytest

import quaxed.array_api as xp
Expand Down Expand Up @@ -161,7 +160,7 @@ def test_asdict(self, vector):
# Test with a different dict_factory
adict = vector.asdict(dict_factory=UserDict)
assert isinstance(adict, UserDict)
assert all(qnp.array_equal(v, getattr(vector, k)) for k, v in adict.items())
assert all(jnp.array_equal(v, getattr(vector, k)) for k, v in adict.items())

def test_components(self, vector):
"""Test :meth:`AbstractVector.components`."""
Expand Down

0 comments on commit 770f5c0

Please sign in to comment.