MCPcopy Create free account
hub / github.com/pytest-dev/pytest / pytest_sessionstart

Method pytest_sessionstart

src/_pytest/junitxml.py:640–641  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

638 reporter._add_simple("error", "internal error", str(excrepr))
639
640 def pytest_sessionstart(self) -> None:
641 self.suite_start_time = timing.time()
642
643 def pytest_sessionfinish(self) -> None:
644 dirname = os.path.dirname(os.path.abspath(self.logfile))

Callers 6

test_unicode_issue368Function · 0.95
test_global_propertiesFunction · 0.95
test_url_propertyFunction · 0.95
getnodeMethod · 0.45
getpathnodeMethod · 0.45
wrap_sessionFunction · 0.45

Calls 1

timeMethod · 0.80

Tested by 5

test_unicode_issue368Function · 0.76
test_global_propertiesFunction · 0.76
test_url_propertyFunction · 0.76
getnodeMethod · 0.36
getpathnodeMethod · 0.36