Skip to content

Commit 90b97af

Browse files
committed
Amend 9e4dd03: log with stacklevel=2
1 parent 2faeadc commit 90b97af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_06_ids.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class LoggingIDSClient(IDSClient):
2323
"""
2424
def getStatus(self, selection):
2525
status = super().getStatus(selection)
26-
logger.debug("getStatus(%s): %s", selection, status)
26+
logger.debug("getStatus(%s): %s", selection, status, stacklevel=2)
2727
return status
2828

2929
@pytest.fixture(scope="module")

0 commit comments

Comments
 (0)