use module scope to fix pytest stdout

This commit is contained in:
sneakers-the-rat 2024-05-17 16:36:17 -07:00
parent 3a794a57c8
commit 782360990e
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D

View file

@ -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),