Skip to content

Commit

Permalink
Amend 9e4dd03: log with stacklevel=2
Browse files Browse the repository at this point in the history
  • Loading branch information
RKrahl committed Nov 24, 2024
1 parent 2faeadc commit 90b97af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_06_ids.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class LoggingIDSClient(IDSClient):
"""
def getStatus(self, selection):
status = super().getStatus(selection)
logger.debug("getStatus(%s): %s", selection, status)
logger.debug("getStatus(%s): %s", selection, status, stacklevel=2)
return status

@pytest.fixture(scope="module")
Expand Down

0 comments on commit 90b97af

Please sign in to comment.