Merge pull request #1615 from gnprice/deadcode
Cut a dead test helper function
This commit is contained in:
commit
7f8e315285
|
@ -8,16 +8,11 @@ import _pytest._pluggy as pluggy
|
||||||
import _pytest._code
|
import _pytest._code
|
||||||
import py
|
import py
|
||||||
import pytest
|
import pytest
|
||||||
from _pytest import runner
|
|
||||||
from _pytest.main import EXIT_NOTESTSCOLLECTED
|
from _pytest.main import EXIT_NOTESTSCOLLECTED
|
||||||
from _pytest.terminal import TerminalReporter, repr_pythonversion, getreportopt
|
from _pytest.terminal import TerminalReporter, repr_pythonversion, getreportopt
|
||||||
from _pytest.terminal import build_summary_stats_line, _plugin_nameversions
|
from _pytest.terminal import build_summary_stats_line, _plugin_nameversions
|
||||||
|
|
||||||
|
|
||||||
def basic_run_report(item):
|
|
||||||
runner.call_and_report(item, "setup", log=False)
|
|
||||||
return runner.call_and_report(item, "call", log=False)
|
|
||||||
|
|
||||||
DistInfo = collections.namedtuple('DistInfo', ['project_name', 'version'])
|
DistInfo = collections.namedtuple('DistInfo', ['project_name', 'version'])
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue