mirror of
https://github.com/p2p-ld/numpydantic.git
synced 2024-11-09 16:24: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(
|
||||
scope="session",
|
||||
scope="module",
|
||||
params=[
|
||||
ValidationCase(shape=(10, 10, 10), passes=True),
|
||||
ValidationCase(shape=(10, 10), passes=False),
|
||||
|
@ -107,7 +107,7 @@ def shape_cases(request) -> ValidationCase:
|
|||
|
||||
|
||||
@pytest.fixture(
|
||||
scope="session",
|
||||
scope="module",
|
||||
params=[
|
||||
ValidationCase(dtype=float, passes=True),
|
||||
ValidationCase(dtype=int, passes=False),
|
||||
|
|
Loading…
Reference in a new issue