conftest.py 207 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 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