Skip to content

Commit 688c963

Browse files
committed
Fix gherkin terminal reporter not displaying the test item location (a test was failing).
1 parent d78eaac commit 688c963

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pytest_bdd/gherkin_terminal_reporter.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,6 @@ class GherkinTerminalReporter(TerminalReporter):
5151
def __init__(self, config):
5252
TerminalReporter.__init__(self, config)
5353

54-
def pytest_runtest_logstart(self, nodeid, location):
55-
# Prevent locationline from being printed since we already
56-
# show the module_name & in verbose mode the test name.
57-
pass
58-
5954
def pytest_runtest_logreport(self, report):
6055
rep = report
6156
res = self.config.hook.pytest_report_teststatus(report=rep, config=self.config)

0 commit comments

Comments
 (0)