mirror of
https://github.com/p2p-ld/numpydantic.git
synced 2024-11-10 00:34:29 +00:00
still fixing an old test lmao
This commit is contained in:
parent
3d1d029ab8
commit
7fe9c5711e
2 changed files with 2 additions and 2 deletions
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -7,7 +7,7 @@ jobs:
|
||||||
test:
|
test:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [3.11]
|
python-version: ["3.9", "3.11", "3.12"]
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,7 @@ def test_ndarray_serialize():
|
||||||
|
|
||||||
# but when we just dump to a dict we don't coerce
|
# but when we just dump to a dict we don't coerce
|
||||||
mod_dict = mod.model_dump()
|
mod_dict = mod.model_dump()
|
||||||
assert isinstance(mod_dict["large_array"], np.ndarray)
|
assert isinstance(mod_dict["array"], np.ndarray)
|
||||||
|
|
||||||
|
|
||||||
# def test_ndarray_proxy(tmp_output_dir_func):
|
# def test_ndarray_proxy(tmp_output_dir_func):
|
||||||
|
|
Loading…
Reference in a new issue