Skip to content

Commit cff4307

Browse files
committed
Fix bug - pytest unwanted hookspec args
1 parent 0156e19 commit cff4307

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dpnp/tests/infra_warning_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def _log_stdout(self, message: str) -> None:
6666
except Exception:
6767
pass
6868

69-
def pytest_configure(self, _config):
69+
def pytest_configure(self):
7070
if not self.enabled:
7171
return
7272

@@ -177,7 +177,7 @@ def pytest_warning_recorded(self, warning_message, when, nodeid, location):
177177

178178
self._log_stdout(f"{self.EVENT_PREFIX} {_json_dumps_one_line(event)}")
179179

180-
def pytest_terminal_summary(self, terminalreporter, exitstatus, _config):
180+
def pytest_terminal_summary(self, terminalreporter, exitstatus):
181181
if not self.enabled:
182182
return
183183

@@ -212,7 +212,7 @@ def pytest_terminal_summary(self, terminalreporter, exitstatus, _config):
212212
terminalreporter.write_line(_json_dumps_one_line(summary))
213213
terminalreporter.write_line(self.SUMMARY_END)
214214

215-
def pytest_unconfigure(self, _config):
215+
def pytest_unconfigure(self):
216216
self._close_events_fp()
217217

218218
def _close_events_fp(self):

0 commit comments

Comments
 (0)