Skip to content

Commit ca6f545

Browse files
committed
pr feedback
Signed-off-by: Ananth Subramaniam <[email protected]>
1 parent a747d1c commit ca6f545

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/unit_tests/training/test_nvrx_straggler.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,13 +320,14 @@ def dummy_func():
320320

321321
mock_straggler_module.Detector.wrap_callables.assert_called_once()
322322

323-
def test_wrap_train_step_function_callable(self, manager, mock_straggler_module):
323+
@pytest.mark.usefixtures("mock_straggler_module")
324+
def test_wrap_train_step_function_callable(self, manager) -> None:
324325
"""Test that the wrapped function is callable and routes through train_step."""
325326
manager.initialized = True
326327

327328
call_count = [0]
328329

329-
def dummy_func(*args, **kwargs):
330+
def dummy_func(*_args, **_kwargs):
330331
call_count[0] += 1
331332
return "result"
332333

0 commit comments

Comments
 (0)