Replace usages of py.log by custom implementation (#822)

Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
This commit is contained in:
Anthony Sottile
2022-10-22 03:26:01 -07:00
committed by GitHub
parent 80130d59ea
commit 1471164197
9 changed files with 35 additions and 17 deletions

View File

@@ -1,5 +1,4 @@
from py.log import Producer
from xdist.remote import Producer
from xdist.workermanage import parse_spec_config
from xdist.report import report_collection_diff

View File

@@ -1,8 +1,8 @@
from itertools import cycle
from py.log import Producer
from _pytest.runner import CollectReport
from xdist.remote import Producer
from xdist.workermanage import parse_spec_config
from xdist.report import report_collection_diff

View File

@@ -1,5 +1,5 @@
from .loadscope import LoadScopeScheduling
from py.log import Producer
from xdist.remote import Producer
class LoadFileScheduling(LoadScopeScheduling):

View File

@@ -1,5 +1,5 @@
from .loadscope import LoadScopeScheduling
from py.log import Producer
from xdist.remote import Producer
class LoadGroupScheduling(LoadScopeScheduling):

View File

@@ -1,7 +1,7 @@
from collections import OrderedDict
from _pytest.runner import CollectReport
from py.log import Producer
from xdist.remote import Producer
from xdist.report import report_collection_diff
from xdist.workermanage import parse_spec_config