File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 33import os
44import queue
55import socket
6+ import sys
67import tempfile
78import threading
89import types
2728
2829
2930IS_SLOW_ENV = IS_MACOS or IS_WINDOWS
31+ PY38_OR_LOWER = sys .version_info [:2 ] <= (3 , 8 )
3032
3133
3234unix_only_sock_test = pytest .mark .skipif (
4446@pytest .fixture (params = ('abstract' , 'file' ))
4547def unix_sock_file (request ):
4648 """Check that bound UNIX socket address is stored in server."""
49+ if PY38_OR_LOWER :
50+ # FIXME: This can be dropped together with Python 3.8.
51+ # FIXME: It's coming from `trustme < 1.2.0` as newer versions
52+ # FIXME: fixed the compatibility but dropped Python 3.8 support.
53+ pytest .skip ('`requests-unixsocket` is defunct under Python 3.8' )
4754 name = 'unix_{request.param}_sock' .format (** locals ())
4855 return request .getfixturevalue (name )
4956
You can’t perform that action at this time.
0 commit comments