""" This module provides the fixtures for the PYTEST runs."""
import tempfile
import os

import numpy as np
import pytest


@pytest.fixture()
def set_seed():
    """ Each test is executed with the same random seed."""
    np.random.seed(1223)


@pytest.fixture()
def fresh_directory():
    """ Each test is executed in a fresh directory."""
    os.chdir(tempfile.mkdtemp())

"""This module provides the fixtures for the PYTEST runs."""
import tempfile
import os

import numpy as np
import pytest


@pytest.fixture()
def set_seed():
    """Each test is executed with the same random seed."""
    np.random.seed(1223)


@pytest.fixture()
def fresh_directory():
    """Each test is executed in a fresh directory."""
    os.chdir(tempfile.mkdtemp())

Update conftest.py