Inzynierka/Lib/site-packages/sklearn/utils/tests/conftest.py
2023-06-02 12:51:02 +02:00

11 lines
207 B
Python

import pytest
import sklearn
@pytest.fixture
def print_changed_only_false():
sklearn.set_config(print_changed_only=False)
yield
sklearn.set_config(print_changed_only=True) # reset to default