File: conftest.py

package info (click to toggle)
scikit-learn 0.23.2-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 21,892 kB
  • sloc: python: 132,020; cpp: 5,765; javascript: 2,201; ansic: 831; makefile: 213; sh: 44
file content (10 lines) | stat: -rw-r--r-- 207 bytes parent folder | download | duplicates (2)
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