diff options
author | John L. Villalovos <john@sodarock.com> | 2022-08-24 14:31:40 -0700 |
---|---|---|
committer | John L. Villalovos <john@sodarock.com> | 2022-08-24 14:31:40 -0700 |
commit | bd4dfb4729377bf64c552ef6052095aa0b5658b8 (patch) | |
tree | 953ed8598862d6b4705f6e491e7fd5e8399acec4 /docs/ext/docstrings.py | |
parent | 98f19564c2a9feb108845d33bf3631fa219e51c6 (diff) | |
download | gitlab-bd4dfb4729377bf64c552ef6052095aa0b5658b8.tar.gz |
chore: Only check for our UserWarning
The GitHub CI is showing a ResourceWarning, causing our test to fail.
Update test to only look for our UserWarning which should not appear.
What was seen when debugging the GitHub CI:
{message:
ResourceWarning(
"unclosed <socket.socket fd=12, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('127.0.0.1', 50862), raddr=('127.0.0.1', 8080)>"
),
category: 'ResourceWarning',
filename: '/home/runner/work/python-gitlab/python-gitlab/.tox/api_func_v4/lib/python3.10/site-packages/urllib3/poolmanager.py',
lineno: 271,
line: None
}
Diffstat (limited to 'docs/ext/docstrings.py')
0 files changed, 0 insertions, 0 deletions