conftest.py 207 B

12345678910
  1. import pytest
  2. import sklearn
  3. @pytest.fixture
  4. def print_changed_only_false():
  5. sklearn.set_config(print_changed_only=False)
  6. yield
  7. sklearn.set_config(print_changed_only=True) # reset to default