mirror of
https://github.com/p2p-ld/numpydantic.git
synced 2024-11-14 02:34:28 +00:00
use module scope to fix pytest stdout
This commit is contained in:
parent
3a794a57c8
commit
782360990e
1 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ FLOAT: TypeAlias = NDArray[Shape["*, *, *"], Float]
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(
|
@pytest.fixture(
|
||||||
scope="session",
|
scope="module",
|
||||||
params=[
|
params=[
|
||||||
ValidationCase(shape=(10, 10, 10), passes=True),
|
ValidationCase(shape=(10, 10, 10), passes=True),
|
||||||
ValidationCase(shape=(10, 10), passes=False),
|
ValidationCase(shape=(10, 10), passes=False),
|
||||||
|
@ -107,7 +107,7 @@ def shape_cases(request) -> ValidationCase:
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(
|
@pytest.fixture(
|
||||||
scope="session",
|
scope="module",
|
||||||
params=[
|
params=[
|
||||||
ValidationCase(dtype=float, passes=True),
|
ValidationCase(dtype=float, passes=True),
|
||||||
ValidationCase(dtype=int, passes=False),
|
ValidationCase(dtype=int, passes=False),
|
||||||
|
|
Loading…
Reference in a new issue