Inzynierka_Gwiazdy/machine_learning/Lib/site-packages/sklearn/utils/tests/conftest.py

11 lines
207 B
Python
Raw Normal View History

2023-09-20 19:46:58 +02:00
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