Skip to content

Get rid of seeded_test fixture #8035

@ricardoV94

Description

@ricardoV94

pymc/tests/conftest.py

Lines 45 to 47 in aad5400

@pytest.fixture(scope="function", autouse=False)
def seeded_test():
np.random.seed(20160911)

It uses the legacy numpy RandomState API. Tests should be migrated to use the modern Generator API, which doesn't depend on global scope and isn't compatible with this sort of fixture

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions