-
Notifications
You must be signed in to change notification settings - Fork 93
Closed
Labels
Description
Describe the bug
The RPLogger doesn't accept stacklevel as an argument, which results in an error.
Steps to Reproduce
Steps to reproduce the behavior:
- Use any library that logs internally using stacklevel as an argument.
Ex. sqlalchemy 1.4.44
Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
> E TypeError: _log() got an unexpected keyword argument 'stacklevel' args = () kwargs = {'stacklevel': 3} level = 20 msg = 'select pg_catalog.version()' selected_level = 20 self = <sqlalchemy.log.InstanceLogger object at 0x7faff18d6700> venv/lib/python3.9/site-packages/sqlalchemy/log.py:179: TypeError
Package versions
Debian GNU/Linux 11 (bullseye)
Python 3.9.15
pytest==7.2.0
pytest-reportportal==5.0.10
reportportal-client==5.2.5