==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_02eaa340-024c-44f4-b366-42ad47cf97db]...done ==> Making package: python-websockets 12.0-2.1 (Sun Apr 28 21:36:53 2024) ==> Retrieving sources... -> Downloading python-websockets-12.0.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 179k 0 179k 0 0 147k 0 --:--:-- 0:00:01 --:--:-- 147k 100 343k 0 343k 0 0 256k 0 --:--:-- 0:00:01 --:--:-- 1354k ==> Validating source files with sha512sums... python-websockets-12.0.tar.gz ... Passed ==> Validating source files with b2sums... python-websockets-12.0.tar.gz ... Passed ==> Making package: python-websockets 12.0-2.1 (Sun Apr 28 21:37:26 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (2) New Version Net Change core/mpdecimal 4.0.0-2 0.32 MiB core/python 3.12.3-1 70.10 MiB Total Installed Size: 70.42 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing mpdecimal... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] xz: for lzma [installed] tk: for tkinter [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... warning: dependency cycle detected: warning: harfbuzz will be installed before its freetype2 dependency Package (82) New Version Net Change extra/blas 3.12.0-5 0.65 MiB extra/cblas 3.12.0-5 0.34 MiB extra/enchant 2.6.5-1 0.22 MiB extra/freetype2 2.13.2-1 1.63 MiB extra/fribidi 1.0.13-2 0.24 MiB extra/graphite 1:1.3.14-3 0.20 MiB extra/harfbuzz 8.4.0-1 3.90 MiB extra/jbigkit 2.1-7 0.16 MiB extra/lapack 3.12.0-5 7.48 MiB extra/lcms2 2.16-1 0.67 MiB extra/libimagequant 4.3.0-1 0.62 MiB extra/libjpeg-turbo 3.0.2-2 2.26 MiB extra/libpng 1.6.43-1 0.57 MiB extra/libraqm 0.10.1-1 0.18 MiB extra/libtiff 4.6.0-4 1.28 MiB extra/libxau 1.0.11-2 0.02 MiB extra/libxcb 1.17.0-1 3.87 MiB extra/libxdmcp 1.1.5-1 0.13 MiB extra/openjpeg2 2.5.2-1 13.28 MiB extra/python-autocommand 2.2.2-6 0.08 MiB extra/python-babel 2.14.0-2 34.47 MiB extra/python-beautifulsoup4 4.12.3-2 1.63 MiB extra/python-charset-normalizer 3.3.2-2 0.43 MiB extra/python-contourpy 1.2.1-3 0.85 MiB extra/python-cycler 0.12.1-2 0.07 MiB extra/python-dateutil 2.9.0-5 0.99 MiB extra/python-docutils 1:0.21.1-4 5.65 MiB extra/python-fastjsonschema 2.19.1-3 0.26 MiB extra/python-fonttools 4.51.0-2 18.91 MiB extra/python-idna 3.6-2 0.70 MiB extra/python-imagesize 1.4.1-5 0.05 MiB extra/python-inflect 7.2.1-2 0.36 MiB extra/python-jaraco.context 4.3.0-4 0.03 MiB extra/python-jaraco.functools 4.0.0-3 0.07 MiB extra/python-jaraco.text 3.12.0-3 0.08 MiB extra/python-jinja 1:3.1.3-2 1.74 MiB extra/python-kiwisolver 1.4.5-3 0.14 MiB extra/python-markupsafe 2.1.5-2 0.08 MiB extra/python-matplotlib 3.8.3-3 26.98 MiB extra/python-more-itertools 10.2.0-2 0.61 MiB extra/python-numpy 1.26.4-2 42.87 MiB extra/python-ordered-set 4.1.0-5 0.06 MiB extra/python-packaging 23.2-3 0.50 MiB extra/python-pillow 10.3.0-2 4.01 MiB extra/python-platformdirs 4.2.0-3 0.23 MiB extra/python-pyenchant 3.2.2-3 0.44 MiB extra/python-pygments 2.17.2-3 13.76 MiB extra/python-pyparsing 3.1.2-2 1.25 MiB extra/python-pyproject-hooks 1.0.0-7 0.09 MiB extra/python-pytz 2024.1-2 0.16 MiB extra/python-requests 2.31.0-3 0.57 MiB extra/python-six 1.16.0-9 0.11 MiB extra/python-snowballstemmer 2.2.0-6 2.59 MiB extra/python-soupsieve 2.5-3 0.42 MiB extra/python-sphinx-alabaster-theme 0.7.16-2 0.05 MiB extra/python-sphinx-basic-ng 1.0.0b2-2 0.04 MiB extra/python-sphinxcontrib-applehelp 1.0.8-3 0.26 MiB extra/python-sphinxcontrib-devhelp 1.0.6-3 0.13 MiB extra/python-sphinxcontrib-htmlhelp 2.0.5-3 0.17 MiB extra/python-sphinxcontrib-jsmath 1.0.1-17 0.02 MiB extra/python-sphinxcontrib-qthelp 1.0.7-3 0.17 MiB extra/python-sphinxcontrib-serializinghtml 1.1.10-3 0.14 MiB extra/python-tomli 2.0.1-4 0.10 MiB extra/python-trove-classifiers 2024.4.10-1 0.12 MiB extra/python-typeguard 4.2.1-2 0.40 MiB extra/python-typing_extensions 4.11.0-1 0.38 MiB extra/python-urllib3 1.26.18-3 1.26 MiB extra/python-validate-pyproject 0.13-3 0.27 MiB extra/qhull 2020.2-4 6.82 MiB extra/xcb-proto 1.17.0-2 1.02 MiB extra/xorgproto 2024.1-2 1.46 MiB extra/python-build 1.2.1-3 0.19 MiB extra/python-installer 0.7.0-8 0.18 MiB extra/python-setuptools 1:69.0.3-6 4.39 MiB extra/python-sphinx 7.2.6-5 18.26 MiB extra/python-sphinx-copybutton 0.5.2-2 0.04 MiB extra/python-sphinx-furo 2024.01.29-2 0.35 MiB extra/python-sphinx-inline-tabs 2023.04.21-2 0.03 MiB extra/python-sphinxcontrib-spelling 8.0.0-3 0.11 MiB extra/python-sphinxcontrib-trio 1.1.2-6 0.06 MiB extra/python-sphinxext-opengraph 0.9.1-2 1.76 MiB extra/python-wheel 0.43.0-4 0.25 MiB Total Installed Size: 237.35 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-packaging... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-pip: to use as the Python package installer (default) python-uv: to use as the Python package installer python-virtualenv: to use virtualenv for build isolation installing python-installer... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-typing_extensions... installing python-typeguard... installing python-inflect... installing python-jaraco.text... installing python-ordered-set... installing python-platformdirs... installing python-tomli... installing python-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-pytz... installing python-babel... installing python-docutils... Optional dependencies for python-docutils python-myst-parser: to parse input in "Markdown" (CommonMark) format python-pillow: for some image manipulation operations [pending] python-pygments: for syntax highlighting of code directives and roles [pending] installing python-imagesize... installing python-markupsafe... installing python-jinja... Optional dependencies for python-jinja python-babel: for i18n support [installed] installing python-pygments... installing python-charset-normalizer... installing python-idna... installing python-urllib3... Optional dependencies for python-urllib3 python-brotli: Brotli support python-certifi: security support python-cryptography: security support python-idna: security support [installed] python-pyopenssl: security support python-pysocks: SOCKS support installing python-requests... Optional dependencies for python-requests python-chardet: alternative character encoding library python-pysocks: SOCKS proxy support installing python-snowballstemmer... Optional dependencies for python-snowballstemmer python-pystemmer: for improved performance installing python-sphinx-alabaster-theme... installing python-sphinxcontrib-applehelp... installing python-sphinxcontrib-devhelp... installing python-sphinxcontrib-htmlhelp... installing python-sphinxcontrib-jsmath... installing python-sphinxcontrib-qthelp... installing python-sphinxcontrib-serializinghtml... installing python-sphinx... Optional dependencies for python-sphinx imagemagick: for ext.imgconverter texlive-latexextra: for generation of PDF documentation installing python-sphinx-copybutton... installing python-soupsieve... installing python-beautifulsoup4... Optional dependencies for python-beautifulsoup4 python-cchardet: alternative to autodetect character encodings python-chardet: to autodetect character encodings python-lxml: alternative HTML parser python-html5lib: alternative HTML parser installing python-sphinx-basic-ng... installing python-sphinx-furo... installing python-sphinx-inline-tabs... installing enchant... Optional dependencies for enchant aspell: for aspell based spell checking support hunspell: for hunspell based spell checking support libvoikko: for libvoikko based spell checking support hspell: for hspell based spell checking support nuspell: for nuspell based spell checking support installing python-pyenchant... installing python-sphinxcontrib-spelling... installing python-sphinxcontrib-trio... installing libpng... installing graphite... Optional dependencies for graphite graphite-docs: Documentation installing harfbuzz... Optional dependencies for harfbuzz harfbuzz-utils: utilities installing freetype2... installing blas... installing cblas... installing lapack... installing python-numpy... Optional dependencies for python-numpy blas-openblas: faster linear algebra installing python-contourpy... Optional dependencies for python-contourpy python-matplotlib: matplotlib renderer [pending] installing python-cycler... installing python-six... installing python-dateutil... installing python-fonttools... Optional dependencies for python-fonttools python-brotli: to compress/decompress WOFF 2.0 web fonts python-fs: to read/write UFO source files python-lxml: faster backend for XML files reading/writing python-lz4: for graphite type tables in ttLib/tables python-matplotlib: for visualizing DesignSpaceDocument and resulting VariationModel [pending] python-pyqt5: for drawing glyphs with Qt’s QPainterPath python-reportlab: to drawing glyphs as PNG images python-scipy: for finding wrong contour/component order between different masters python-sympy: for symbolic font statistics analysis python-uharfbuzz: to use the Harfbuzz Repacker for packing GSUB/GPOS tables python-unicodedata2: for displaying the Unicode character names when dumping the cmap table with ttx python-zopfli: faster backend fom WOFF 1.0 web fonts compression installing python-kiwisolver... installing jbigkit... installing libjpeg-turbo... Optional dependencies for libjpeg-turbo java-runtime>11: for TurboJPEG Java wrapper installing libtiff... Optional dependencies for libtiff freeglut: for using tiffgt installing lcms2... installing fribidi... installing libraqm... installing openjpeg2... installing libimagequant... installing xcb-proto... installing xorgproto... installing libxdmcp... installing libxau... installing libxcb... installing python-pillow... Optional dependencies for python-pillow libwebp: for webp images tk: for the ImageTK module python-olefile: OLE2 file support python-pyqt6: for the ImageQt module installing python-pyparsing... Optional dependencies for python-pyparsing python-railroad-diagrams: for generating Railroad Diagrams python-jinja: for generating Railroad Diagrams [installed] installing qhull... installing python-matplotlib... Optional dependencies for python-matplotlib tk: Tk{Agg,Cairo} backends pyside6: alternative for Qt6{Agg,Cairo} backends python-pyqt5: Qt5{Agg,Cairo} backends python-pyqt6: Qt6{Agg,Cairo} backends python-gobject: for GTK{3,4}{Agg,Cairo} backend python-wxpython: WX{Agg,Cairo} backend python-cairo: {GTK{3,4},Qt{5,6},Tk,WX}Cairo backends python-cairocffi: alternative for Cairo backends python-tornado: WebAgg backend ffmpeg: for saving movies imagemagick: for saving animated gifs ghostscript: usetex dependencies texlive-binextra: usetex dependencies texlive-fontsrecommended: usetex dependencies texlive-latexrecommended: usetex usage with pdflatex python-certifi: https support installing python-sphinxext-opengraph... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures [?25h==> Retrieving sources... -> Found python-websockets-12.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting python-websockets-12.0.tar.gz with bsdtar ==> Starting build()... * Building wheel... validate_pyproject.api.load_builtin_plugin defines `tool.distutils` schema validate_pyproject.api.load_builtin_plugin defines `tool.setuptools` schema running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-312 creating build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/version.py -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/server.py -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/headers.py -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/http11.py -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/frames.py -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/streams.py -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/utils.py -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/connection.py -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/imports.py -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/__init__.py -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/typing.py -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/client.py -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/datastructures.py -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/protocol.py -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/http.py -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/__main__.py -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/auth.py -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/exceptions.py -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/uri.py -> build/lib.linux-x86_64-cpython-312/websockets creating build/lib.linux-x86_64-cpython-312/websockets/sync copying src/websockets/sync/server.py -> build/lib.linux-x86_64-cpython-312/websockets/sync copying src/websockets/sync/utils.py -> build/lib.linux-x86_64-cpython-312/websockets/sync copying src/websockets/sync/connection.py -> build/lib.linux-x86_64-cpython-312/websockets/sync copying src/websockets/sync/messages.py -> build/lib.linux-x86_64-cpython-312/websockets/sync copying src/websockets/sync/__init__.py -> build/lib.linux-x86_64-cpython-312/websockets/sync copying src/websockets/sync/client.py -> build/lib.linux-x86_64-cpython-312/websockets/sync creating build/lib.linux-x86_64-cpython-312/websockets/legacy copying src/websockets/legacy/compatibility.py -> build/lib.linux-x86_64-cpython-312/websockets/legacy copying src/websockets/legacy/server.py -> build/lib.linux-x86_64-cpython-312/websockets/legacy copying src/websockets/legacy/__init__.py -> build/lib.linux-x86_64-cpython-312/websockets/legacy copying src/websockets/legacy/async_timeout.py -> build/lib.linux-x86_64-cpython-312/websockets/legacy copying src/websockets/legacy/client.py -> build/lib.linux-x86_64-cpython-312/websockets/legacy copying src/websockets/legacy/protocol.py -> build/lib.linux-x86_64-cpython-312/websockets/legacy copying src/websockets/legacy/framing.py -> build/lib.linux-x86_64-cpython-312/websockets/legacy copying src/websockets/legacy/http.py -> build/lib.linux-x86_64-cpython-312/websockets/legacy copying src/websockets/legacy/handshake.py -> build/lib.linux-x86_64-cpython-312/websockets/legacy copying src/websockets/legacy/auth.py -> build/lib.linux-x86_64-cpython-312/websockets/legacy creating build/lib.linux-x86_64-cpython-312/websockets/extensions copying src/websockets/extensions/base.py -> build/lib.linux-x86_64-cpython-312/websockets/extensions copying src/websockets/extensions/__init__.py -> build/lib.linux-x86_64-cpython-312/websockets/extensions copying src/websockets/extensions/permessage_deflate.py -> build/lib.linux-x86_64-cpython-312/websockets/extensions running egg_info creating src/websockets.egg-info writing src/websockets.egg-info/PKG-INFO writing dependency_links to src/websockets.egg-info/dependency_links.txt writing top-level names to src/websockets.egg-info/top_level.txt writing manifest file 'src/websockets.egg-info/SOURCES.txt' reading manifest file 'src/websockets.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src/websockets.egg-info/SOURCES.txt' copying src/websockets/py.typed -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/speedups.c -> build/lib.linux-x86_64-cpython-312/websockets copying src/websockets/speedups.pyi -> build/lib.linux-x86_64-cpython-312/websockets running build_ext building 'websockets.speedups' extension creating build/temp.linux-x86_64-cpython-312 creating build/temp.linux-x86_64-cpython-312/src creating build/temp.linux-x86_64-cpython-312/src/websockets gcc -fno-strict-overflow -DNDEBUG -g -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/python-websockets -flto=auto -falign-functions=32 -fPIC -I/usr/include/python3.12 -c src/websockets/speedups.c -o build/temp.linux-x86_64-cpython-312/src/websockets/speedups.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/python-websockets -flto=auto -falign-functions=32 build/temp.linux-x86_64-cpython-312/src/websockets/speedups.o -L/usr/lib -o build/lib.linux-x86_64-cpython-312/websockets/speedups.cpython-312-x86_64-linux-gnu.so installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/version.py -> build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/server.py -> build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/headers.py -> build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/http11.py -> build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/speedups.pyi -> build/bdist.linux-x86_64/wheel/websockets creating build/bdist.linux-x86_64/wheel/websockets/sync copying build/lib.linux-x86_64-cpython-312/websockets/sync/server.py -> build/bdist.linux-x86_64/wheel/websockets/sync copying build/lib.linux-x86_64-cpython-312/websockets/sync/utils.py -> build/bdist.linux-x86_64/wheel/websockets/sync copying build/lib.linux-x86_64-cpython-312/websockets/sync/connection.py -> build/bdist.linux-x86_64/wheel/websockets/sync copying build/lib.linux-x86_64-cpython-312/websockets/sync/messages.py -> build/bdist.linux-x86_64/wheel/websockets/sync copying build/lib.linux-x86_64-cpython-312/websockets/sync/__init__.py -> build/bdist.linux-x86_64/wheel/websockets/sync copying build/lib.linux-x86_64-cpython-312/websockets/sync/client.py -> build/bdist.linux-x86_64/wheel/websockets/sync copying build/lib.linux-x86_64-cpython-312/websockets/frames.py -> build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/speedups.cpython-312-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/streams.py -> build/bdist.linux-x86_64/wheel/websockets creating build/bdist.linux-x86_64/wheel/websockets/legacy copying build/lib.linux-x86_64-cpython-312/websockets/legacy/compatibility.py -> build/bdist.linux-x86_64/wheel/websockets/legacy copying build/lib.linux-x86_64-cpython-312/websockets/legacy/server.py -> build/bdist.linux-x86_64/wheel/websockets/legacy copying build/lib.linux-x86_64-cpython-312/websockets/legacy/__init__.py -> build/bdist.linux-x86_64/wheel/websockets/legacy copying build/lib.linux-x86_64-cpython-312/websockets/legacy/async_timeout.py -> build/bdist.linux-x86_64/wheel/websockets/legacy copying build/lib.linux-x86_64-cpython-312/websockets/legacy/client.py -> build/bdist.linux-x86_64/wheel/websockets/legacy copying build/lib.linux-x86_64-cpython-312/websockets/legacy/protocol.py -> build/bdist.linux-x86_64/wheel/websockets/legacy copying build/lib.linux-x86_64-cpython-312/websockets/legacy/framing.py -> build/bdist.linux-x86_64/wheel/websockets/legacy copying build/lib.linux-x86_64-cpython-312/websockets/legacy/http.py -> build/bdist.linux-x86_64/wheel/websockets/legacy copying build/lib.linux-x86_64-cpython-312/websockets/legacy/handshake.py -> build/bdist.linux-x86_64/wheel/websockets/legacy copying build/lib.linux-x86_64-cpython-312/websockets/legacy/auth.py -> build/bdist.linux-x86_64/wheel/websockets/legacy copying build/lib.linux-x86_64-cpython-312/websockets/speedups.c -> build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/utils.py -> build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/connection.py -> build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/imports.py -> build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/py.typed -> build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/__init__.py -> build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/typing.py -> build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/client.py -> build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/datastructures.py -> build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/protocol.py -> build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/http.py -> build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/__main__.py -> build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/auth.py -> build/bdist.linux-x86_64/wheel/websockets creating build/bdist.linux-x86_64/wheel/websockets/extensions copying build/lib.linux-x86_64-cpython-312/websockets/extensions/base.py -> build/bdist.linux-x86_64/wheel/websockets/extensions copying build/lib.linux-x86_64-cpython-312/websockets/extensions/__init__.py -> build/bdist.linux-x86_64/wheel/websockets/extensions copying build/lib.linux-x86_64-cpython-312/websockets/extensions/permessage_deflate.py -> build/bdist.linux-x86_64/wheel/websockets/extensions copying build/lib.linux-x86_64-cpython-312/websockets/exceptions.py -> build/bdist.linux-x86_64/wheel/websockets copying build/lib.linux-x86_64-cpython-312/websockets/uri.py -> build/bdist.linux-x86_64/wheel/websockets running install_egg_info Copying src/websockets.egg-info to build/bdist.linux-x86_64/wheel/websockets-12.0-py3.12.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/websockets-12.0.dist-info/WHEEL creating '/startdir/src/websockets-12.0/dist/.tmp-z4i4ujui/websockets-12.0-cp312-cp312-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'websockets/__init__.py' adding 'websockets/__main__.py' adding 'websockets/auth.py' adding 'websockets/client.py' adding 'websockets/connection.py' adding 'websockets/datastructures.py' adding 'websockets/exceptions.py' adding 'websockets/frames.py' adding 'websockets/headers.py' adding 'websockets/http.py' adding 'websockets/http11.py' adding 'websockets/imports.py' adding 'websockets/protocol.py' adding 'websockets/py.typed' adding 'websockets/server.py' adding 'websockets/speedups.c' adding 'websockets/speedups.cpython-312-x86_64-linux-gnu.so' adding 'websockets/speedups.pyi' adding 'websockets/streams.py' adding 'websockets/typing.py' adding 'websockets/uri.py' adding 'websockets/utils.py' adding 'websockets/version.py' adding 'websockets/extensions/__init__.py' adding 'websockets/extensions/base.py' adding 'websockets/extensions/permessage_deflate.py' adding 'websockets/legacy/__init__.py' adding 'websockets/legacy/async_timeout.py' adding 'websockets/legacy/auth.py' adding 'websockets/legacy/client.py' adding 'websockets/legacy/compatibility.py' adding 'websockets/legacy/framing.py' adding 'websockets/legacy/handshake.py' adding 'websockets/legacy/http.py' adding 'websockets/legacy/protocol.py' adding 'websockets/legacy/server.py' adding 'websockets/sync/__init__.py' adding 'websockets/sync/client.py' adding 'websockets/sync/connection.py' adding 'websockets/sync/messages.py' adding 'websockets/sync/server.py' adding 'websockets/sync/utils.py' adding 'websockets-12.0.dist-info/LICENSE' adding 'websockets-12.0.dist-info/METADATA' adding 'websockets-12.0.dist-info/WHEEL' adding 'websockets-12.0.dist-info/top_level.txt' adding 'websockets-12.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built websockets-12.0-cp312-cp312-linux_x86_64.whl Running Sphinx v7.2.6 (process:1555): libenchant-WARNING **: 21:39:23.827: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory (process:1555): libenchant-WARNING **: 21:39:23.827: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory (process:1555): libenchant-WARNING **: 21:39:23.827: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory (process:1555): libenchant-WARNING **: 21:39:23.827: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory (process:1555): libenchant-WARNING **: 21:39:23.827: Error loading plugin: libhunspell-1.7.so.0: cannot open shared object file: No such file or directory Initializing Spelling Checker 8.0.0 making output directory... done loading intersphinx inventory from https://docs.python.org/3/objects.inv... building [mo]: targets for 0 po files that are out of date writing output... building [dirhtml]: targets for 57 source files that are out of date updating environment: [new config] 57 added, 0 changed, 0 removed reading sources... [ 2%] faq/asyncio reading sources... [ 4%] faq/client reading sources... [ 5%] faq/common reading sources... [ 7%] faq/index reading sources... [ 9%] faq/misc reading sources... [ 11%] faq/server reading sources... [ 12%] howto/autoreload reading sources... [ 14%] howto/cheatsheet reading sources... [ 16%] howto/django reading sources... [ 18%] howto/extensions reading sources... [ 19%] howto/fly reading sources... [ 21%] howto/haproxy reading sources... [ 23%] howto/heroku reading sources... [ 25%] howto/index reading sources... [ 26%] howto/kubernetes reading sources... [ 28%] howto/nginx reading sources... [ 30%] howto/patterns reading sources... [ 32%] howto/quickstart reading sources... [ 33%] howto/render reading sources... [ 35%] howto/sansio reading sources... [ 37%] howto/supervisor reading sources... [ 39%] index reading sources... [ 40%] intro/index reading sources... [ 42%] intro/tutorial1 reading sources... [ 44%] intro/tutorial2 reading sources... [ 46%] intro/tutorial3 reading sources... [ 47%] project/changelog reading sources... [ 49%] project/contributing reading sources... [ 51%] project/index reading sources... [ 53%] project/license reading sources... [ 54%] project/tidelift reading sources... [ 56%] reference/asyncio/client reading sources... [ 58%] reference/asyncio/common reading sources... [ 60%] reference/asyncio/server reading sources... [ 61%] reference/datastructures reading sources... [ 63%] reference/exceptions reading sources... [ 65%] reference/extensions reading sources... [ 67%] reference/features reading sources... [ 68%] reference/index reading sources... [ 70%] reference/sansio/client reading sources... [ 72%] reference/sansio/common reading sources... [ 74%] reference/sansio/server reading sources... [ 75%] reference/sync/client reading sources... [ 77%] reference/sync/common reading sources... [ 79%] reference/sync/server reading sources... [ 81%] reference/types reading sources... [ 82%] topics/authentication reading sources... [ 84%] topics/broadcast reading sources... [ 86%] topics/compression reading sources... [ 88%] topics/deployment reading sources... [ 89%] topics/design reading sources... [ 91%] topics/index reading sources... [ 93%] topics/logging reading sources... [ 95%] topics/memory reading sources... [ 96%] topics/performance reading sources... [ 98%] topics/security reading sources... [100%] topics/timeouts looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying downloadable files... [ 25%] ../example/quickstart/localhost.pem copying downloadable files... [ 50%] ../example/tutorial/start/connect4.js copying downloadable files... [ 75%] ../example/tutorial/start/connect4.css copying downloadable files... [100%] ../example/tutorial/start/connect4.py copying static files... done copying extra files... done done writing output... [ 2%] faq/asyncio writing output... [ 4%] faq/client writing output... [ 5%] faq/common writing output... [ 7%] faq/index writing output... [ 9%] faq/misc writing output... [ 11%] faq/server writing output... [ 12%] howto/autoreload writing output... [ 14%] howto/cheatsheet writing output... [ 16%] howto/django writing output... [ 18%] howto/extensions writing output... [ 19%] howto/fly writing output... [ 21%] howto/haproxy writing output... [ 23%] howto/heroku writing output... [ 25%] howto/index writing output... [ 26%] howto/kubernetes writing output... [ 28%] howto/nginx writing output... [ 30%] howto/patterns writing output... [ 32%] howto/quickstart writing output... [ 33%] howto/render writing output... [ 35%] howto/sansio writing output... [ 37%] howto/supervisor writing output... [ 39%] index writing output... [ 40%] intro/index writing output... [ 42%] intro/tutorial1 writing output... [ 44%] intro/tutorial2 writing output... [ 46%] intro/tutorial3 writing output... [ 47%] project/changelog writing output... [ 49%] project/contributing writing output... [ 51%] project/index writing output... [ 53%] project/license writing output... [ 54%] project/tidelift writing output... [ 56%] reference/asyncio/client writing output... [ 58%] reference/asyncio/common writing output... [ 60%] reference/asyncio/server writing output... [ 61%] reference/datastructures writing output... [ 63%] reference/exceptions writing output... [ 65%] reference/extensions writing output... [ 67%] reference/features writing output... [ 68%] reference/index writing output... [ 70%] reference/sansio/client writing output... [ 72%] reference/sansio/common writing output... [ 74%] reference/sansio/server writing output... [ 75%] reference/sync/client writing output... [ 77%] reference/sync/common writing output... [ 79%] reference/sync/server writing output... [ 81%] reference/types writing output... [ 82%] topics/authentication writing output... [ 84%] topics/broadcast writing output... [ 86%] topics/compression writing output... [ 88%] topics/deployment writing output... [ 89%] topics/design writing output... [ 91%] topics/index writing output... [ 93%] topics/logging writing output... [ 95%] topics/memory writing output... [ 96%] topics/performance writing output... [ 98%] topics/security writing output... [100%] topics/timeouts generating indices... genindex py-modindex done writing additional pages... search done copying images... [ 17%] topics/data-flow.svg copying images... [ 33%] _static/tidelift.png copying images... [ 50%] topics/authentication.svg copying images... [ 67%] topics/deployment.svg copying images... [ 83%] topics/lifecycle.svg copying images... [100%] topics/protocol.svg dumping search index in English (code: en)... done dumping object inventory... done build succeeded. The HTML pages are in docs/_build/html. Running Sphinx v7.2.6 (process:1560): libenchant-WARNING **: 21:40:15.302: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory (process:1560): libenchant-WARNING **: 21:40:16.053: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory (process:1560): libenchant-WARNING **: 21:40:16.078: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory (process:1560): libenchant-WARNING **: 21:40:16.105: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory (process:1560): libenchant-WARNING **: 21:40:16.153: Error loading plugin: libhunspell-1.7.so.0: cannot open shared object file: No such file or directory Initializing Spelling Checker 8.0.0 making output directory... done loading intersphinx inventory from https://docs.python.org/3/objects.inv... building [mo]: targets for 0 po files that are out of date writing output... building [man]: all manpages updating environment: [new config] 57 added, 0 changed, 0 removed reading sources... [ 2%] faq/asyncio reading sources... [ 4%] faq/client reading sources... [ 5%] faq/common reading sources... [ 7%] faq/index reading sources... [ 9%] faq/misc reading sources... [ 11%] faq/server reading sources... [ 12%] howto/autoreload reading sources... [ 14%] howto/cheatsheet reading sources... [ 16%] howto/django reading sources... [ 18%] howto/extensions reading sources... [ 19%] howto/fly reading sources... [ 21%] howto/haproxy reading sources... [ 23%] howto/heroku reading sources... [ 25%] howto/index reading sources... [ 26%] howto/kubernetes reading sources... [ 28%] howto/nginx reading sources... [ 30%] howto/patterns reading sources... [ 32%] howto/quickstart reading sources... [ 33%] howto/render reading sources... [ 35%] howto/sansio reading sources... [ 37%] howto/supervisor reading sources... [ 39%] index reading sources... [ 40%] intro/index reading sources... [ 42%] intro/tutorial1 reading sources... [ 44%] intro/tutorial2 reading sources... [ 46%] intro/tutorial3 reading sources... [ 47%] project/changelog reading sources... [ 49%] project/contributing reading sources... [ 51%] project/index reading sources... [ 53%] project/license reading sources... [ 54%] project/tidelift reading sources... [ 56%] reference/asyncio/client reading sources... [ 58%] reference/asyncio/common reading sources... [ 60%] reference/asyncio/server reading sources... [ 61%] reference/datastructures reading sources... [ 63%] reference/exceptions reading sources... [ 65%] reference/extensions reading sources... [ 67%] reference/features reading sources... [ 68%] reference/index reading sources... [ 70%] reference/sansio/client reading sources... [ 72%] reference/sansio/common reading sources... [ 74%] reference/sansio/server reading sources... [ 75%] reference/sync/client reading sources... [ 77%] reference/sync/common reading sources... [ 79%] reference/sync/server reading sources... [ 81%] reference/types reading sources... [ 82%] topics/authentication reading sources... [ 84%] topics/broadcast reading sources... [ 86%] topics/compression reading sources... [ 88%] topics/deployment reading sources... [ 89%] topics/design reading sources... [ 91%] topics/index reading sources... [ 93%] topics/logging reading sources... [ 95%] topics/memory reading sources... [ 96%] topics/performance reading sources... [ 98%] topics/security reading sources... [100%] topics/timeouts looking for now-outdated files... none found pickling environment... done checking consistency... done writing... websockets.1 { intro/index intro/tutorial1 intro/tutorial2 intro/tutorial3 howto/index howto/quickstart howto/cheatsheet howto/patterns howto/autoreload howto/django howto/extensions howto/render howto/fly howto/heroku howto/kubernetes howto/supervisor howto/nginx howto/haproxy howto/sansio faq/index faq/server faq/client faq/common faq/asyncio faq/misc reference/index reference/features reference/asyncio/server reference/asyncio/client reference/sync/server reference/sync/client reference/sansio/server reference/sansio/client reference/extensions reference/datastructures reference/exceptions reference/types topics/index topics/deployment topics/logging topics/authentication topics/broadcast topics/compression topics/timeouts topics/design topics/memory topics/security topics/performance project/index project/changelog project/contributing project/license project/tidelift } done build succeeded. The manual pages are in docs/_build/man. ==> Starting check()... test_enable_client_permessage_deflate (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_enable_client_permessage_deflate) ... ok test_get_request_params (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_get_request_params) ... ok test_init (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_init) ... ok test_init_error (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_init_error) ... ok test_name (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_name) ... ok test_process_response_params (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_process_response_params) ... ok test_process_response_params_deduplication (tests.extensions.test_permessage_deflate.ClientPerMessageDeflateFactoryTests.test_process_response_params_deduplication) ... ok test_compress_settings (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_compress_settings) ... ok test_context_takeover (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_context_takeover) ... ok test_decompress_max_size (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_decompress_max_size) ... ok test_encode_decode_binary_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_encode_decode_binary_frame) ... ok test_encode_decode_fragmented_binary_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_encode_decode_fragmented_binary_frame) ... ok test_encode_decode_fragmented_text_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_encode_decode_fragmented_text_frame) ... ok test_encode_decode_text_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_encode_decode_text_frame) ... ok test_local_no_context_takeover (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_local_no_context_takeover) ... ok test_name (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_name) ... ok test_no_decode_binary_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_decode_binary_frame) ... ok test_no_decode_fragmented_binary_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_decode_fragmented_binary_frame) ... ok test_no_decode_fragmented_text_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_decode_fragmented_text_frame) ... ok test_no_decode_text_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_decode_text_frame) ... ok test_no_encode_decode_close_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_encode_decode_close_frame) ... ok test_no_encode_decode_ping_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_encode_decode_ping_frame) ... ok test_no_encode_decode_pong_frame (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_no_encode_decode_pong_frame) ... ok test_remote_no_context_takeover (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_remote_no_context_takeover) ... ok test_repr (tests.extensions.test_permessage_deflate.PerMessageDeflateTests.test_repr) ... ok test_enable_server_permessage_deflate (tests.extensions.test_permessage_deflate.ServerPerMessageDeflateFactoryTests.test_enable_server_permessage_deflate) ... ok test_init (tests.extensions.test_permessage_deflate.ServerPerMessageDeflateFactoryTests.test_init) ... ok test_init_error (tests.extensions.test_permessage_deflate.ServerPerMessageDeflateFactoryTests.test_init_error) ... ok test_name (tests.extensions.test_permessage_deflate.ServerPerMessageDeflateFactoryTests.test_name) ... ok test_process_request_params (tests.extensions.test_permessage_deflate.ServerPerMessageDeflateFactoryTests.test_process_request_params) ... ok test_process_response_params_deduplication (tests.extensions.test_permessage_deflate.ServerPerMessageDeflateFactoryTests.test_process_response_params_deduplication) ... ok test_basic_auth (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth) ... ok test_basic_auth_bad_multiple_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_bad_multiple_credentials) ... ok test_basic_auth_check_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_check_credentials) ... ok test_basic_auth_custom_protocol (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_custom_protocol) ... ok test_basic_auth_custom_protocol_subclass (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_custom_protocol_subclass) ... ok test_basic_auth_defaults_to_deny_all (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_defaults_to_deny_all) ... ok test_basic_auth_invalid_credentials_details (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_invalid_credentials_details) ... ok test_basic_auth_invalid_password (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_invalid_password) ... ok test_basic_auth_invalid_username (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_invalid_username) ... ok test_basic_auth_missing_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_missing_credentials) ... ok test_basic_auth_missing_credentials_details (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_missing_credentials_details) ... ok test_basic_auth_server_bad_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_server_bad_credentials) ... ok test_basic_auth_server_multiple_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_server_multiple_credentials) ... ok test_basic_auth_server_no_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_server_no_credentials) ... ok test_basic_auth_unsupported_credentials (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_unsupported_credentials) ... ok test_basic_auth_unsupported_credentials_details (tests.legacy.test_auth.AuthClientServerTests.test_basic_auth_unsupported_credentials_details) ... ok test_is_credentials (tests.legacy.test_auth.AuthTests.test_is_credentials) ... ok test_is_not_credentials (tests.legacy.test_auth.AuthTests.test_is_not_credentials) ... ok test_client (tests.legacy.test_client_server.AsyncAwaitTests.test_client) ... ok test_server (tests.legacy.test_client_server.AsyncAwaitTests.test_server) ... ok test_iterate_on_messages (tests.legacy.test_client_server.AsyncIteratorTests.test_iterate_on_messages) ... ok test_iterate_on_messages_going_away_exit_ok (tests.legacy.test_client_server.AsyncIteratorTests.test_iterate_on_messages_going_away_exit_ok) ... ok test_iterate_on_messages_internal_error_exit_not_ok (tests.legacy.test_client_server.AsyncIteratorTests.test_iterate_on_messages_internal_error_exit_not_ok) ... ok test_checking_lack_of_origin_succeeds (tests.legacy.test_client_server.ClientServerOriginTests.test_checking_lack_of_origin_succeeds) ... ok test_checking_lack_of_origin_succeeds_backwards_compatibility (tests.legacy.test_client_server.ClientServerOriginTests.test_checking_lack_of_origin_succeeds_backwards_compatibility) ... ok test_checking_origin_fails (tests.legacy.test_client_server.ClientServerOriginTests.test_checking_origin_fails) ... ok test_checking_origin_succeeds (tests.legacy.test_client_server.ClientServerOriginTests.test_checking_origin_succeeds) ... ok test_checking_origins_fails_with_multiple_headers (tests.legacy.test_client_server.ClientServerOriginTests.test_checking_origins_fails_with_multiple_headers) ... ok test_basic (tests.legacy.test_client_server.ClientServerTests.test_basic) ... ok test_client_close_timeout (tests.legacy.test_client_server.ClientServerTests.test_client_close_timeout) ... ok test_client_close_timeout_over_timeout (tests.legacy.test_client_server.ClientServerTests.test_client_close_timeout_over_timeout) ... ok test_client_closes_connection_before_handshake (tests.legacy.test_client_server.ClientServerTests.test_client_closes_connection_before_handshake) ... ok test_client_connect_canceled_during_handshake (tests.legacy.test_client_server.ClientServerTests.test_client_connect_canceled_during_handshake) ... ok test_client_create_protocol (tests.legacy.test_client_server.ClientServerTests.test_client_create_protocol) ... ok test_client_create_protocol_function (tests.legacy.test_client_server.ClientServerTests.test_client_create_protocol_function) ... ok test_client_create_protocol_over_klass (tests.legacy.test_client_server.ClientServerTests.test_client_create_protocol_over_klass) ... ok test_client_klass (tests.legacy.test_client_server.ClientServerTests.test_client_klass) ... ok test_client_receives_malformed_response (tests.legacy.test_client_server.ClientServerTests.test_client_receives_malformed_response) ... ok test_client_sends_invalid_handshake_request (tests.legacy.test_client_server.ClientServerTests.test_client_sends_invalid_handshake_request) ... ok test_client_timeout_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_client_timeout_backwards_compatibility) ... ok test_compression_deflate (tests.legacy.test_client_server.ClientServerTests.test_compression_deflate) ... ok test_compression_unsupported_client (tests.legacy.test_client_server.ClientServerTests.test_compression_unsupported_client) ... ok test_compression_unsupported_server (tests.legacy.test_client_server.ClientServerTests.test_compression_unsupported_server) ... ok test_connection_error_during_closing_handshake (tests.legacy.test_client_server.ClientServerTests.test_connection_error_during_closing_handshake) ... ok test_connection_error_during_opening_handshake (tests.legacy.test_client_server.ClientServerTests.test_connection_error_during_opening_handshake) ... ok test_explicit_host_port (tests.legacy.test_client_server.ClientServerTests.test_explicit_host_port) ... ok test_explicit_socket (tests.legacy.test_client_server.ClientServerTests.test_explicit_socket) ... ok test_extension (tests.legacy.test_client_server.ClientServerTests.test_extension) ... ok test_extension_client_rejection (tests.legacy.test_client_server.ClientServerTests.test_extension_client_rejection) ... ok test_extension_mismatch (tests.legacy.test_client_server.ClientServerTests.test_extension_mismatch) ... ok test_extension_no_match_then_match (tests.legacy.test_client_server.ClientServerTests.test_extension_no_match_then_match) ... ok test_extension_not_accepted (tests.legacy.test_client_server.ClientServerTests.test_extension_not_accepted) ... ok test_extension_not_requested (tests.legacy.test_client_server.ClientServerTests.test_extension_not_requested) ... ok test_extension_order (tests.legacy.test_client_server.ClientServerTests.test_extension_order) ... ok test_extensions_error (tests.legacy.test_client_server.ClientServerTests.test_extensions_error) ... ok test_extensions_error_no_extensions (tests.legacy.test_client_server.ClientServerTests.test_extensions_error_no_extensions) ... ok test_http_request_custom_server_header (tests.legacy.test_client_server.ClientServerTests.test_http_request_custom_server_header) ... ok test_http_request_http_endpoint (tests.legacy.test_client_server.ClientServerTests.test_http_request_http_endpoint) ... ok test_http_request_no_server_header (tests.legacy.test_client_server.ClientServerTests.test_http_request_no_server_header) ... ok test_http_request_ws_endpoint (tests.legacy.test_client_server.ClientServerTests.test_http_request_ws_endpoint) ... ok test_infinite_redirect (tests.legacy.test_client_server.ClientServerTests.test_infinite_redirect) ... ok test_invalid_status_error_during_client_connect (tests.legacy.test_client_server.ClientServerTests.test_invalid_status_error_during_client_connect) ... ok test_invalid_subprotocol_client (tests.legacy.test_client_server.ClientServerTests.test_invalid_subprotocol_client) ... ok test_invalid_subprotocol_server (tests.legacy.test_client_server.ClientServerTests.test_invalid_subprotocol_server) ... ok test_loop_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_loop_backwards_compatibility) ... ok test_no_extension (tests.legacy.test_client_server.ClientServerTests.test_no_extension) ... ok test_no_subprotocol (tests.legacy.test_client_server.ClientServerTests.test_no_subprotocol) ... ok test_process_request_argument (tests.legacy.test_client_server.ClientServerTests.test_process_request_argument) ... ok test_process_request_argument_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_process_request_argument_backwards_compatibility) ... ok test_process_request_override (tests.legacy.test_client_server.ClientServerTests.test_process_request_override) ... ok test_process_request_override_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_process_request_override_backwards_compatibility) ... ok test_process_request_returns_int_status (tests.legacy.test_client_server.ClientServerTests.test_process_request_returns_int_status) ... ok test_protocol_custom_request_headers (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_request_headers) ... ok test_protocol_custom_response_headers (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_response_headers) ... ok test_protocol_custom_response_headers_callable (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_response_headers_callable) ... ok test_protocol_custom_response_headers_callable_none (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_response_headers_callable_none) ... ok test_protocol_custom_server_header (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_server_header) ... ok test_protocol_custom_server_header_legacy (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_server_header_legacy) ... ok test_protocol_custom_user_agent_header (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_user_agent_header) ... ok test_protocol_custom_user_agent_header_legacy (tests.legacy.test_client_server.ClientServerTests.test_protocol_custom_user_agent_header_legacy) ... ok test_protocol_deprecated_attributes (tests.legacy.test_client_server.ClientServerTests.test_protocol_deprecated_attributes) ... ok test_protocol_headers (tests.legacy.test_client_server.ClientServerTests.test_protocol_headers) ... ok test_protocol_no_server_header (tests.legacy.test_client_server.ClientServerTests.test_protocol_no_server_header) ... ok test_protocol_no_user_agent_header (tests.legacy.test_client_server.ClientServerTests.test_protocol_no_user_agent_header) ... ok test_protocol_path (tests.legacy.test_client_server.ClientServerTests.test_protocol_path) ... ok test_redirect (tests.legacy.test_client_server.ClientServerTests.test_redirect) ... ok test_redirect_missing_location (tests.legacy.test_client_server.ClientServerTests.test_redirect_missing_location) ... ok test_redirect_relative_location (tests.legacy.test_client_server.ClientServerTests.test_redirect_relative_location) ... ok test_select_subprotocol_argument (tests.legacy.test_client_server.ClientServerTests.test_select_subprotocol_argument) ... ok test_select_subprotocol_override (tests.legacy.test_client_server.ClientServerTests.test_select_subprotocol_override) ... ok test_server_close_crashes (tests.legacy.test_client_server.ClientServerTests.test_server_close_crashes) ... ok test_server_close_timeout (tests.legacy.test_client_server.ClientServerTests.test_server_close_timeout) ... ok test_server_close_timeout_over_timeout (tests.legacy.test_client_server.ClientServerTests.test_server_close_timeout_over_timeout) ... ok test_server_create_protocol (tests.legacy.test_client_server.ClientServerTests.test_server_create_protocol) ... ok test_server_create_protocol_function (tests.legacy.test_client_server.ClientServerTests.test_server_create_protocol_function) ... ok test_server_create_protocol_over_klass (tests.legacy.test_client_server.ClientServerTests.test_server_create_protocol_over_klass) ... ok test_server_does_not_switch_protocols (tests.legacy.test_client_server.ClientServerTests.test_server_does_not_switch_protocols) ... ok test_server_error_in_handshake (tests.legacy.test_client_server.ClientServerTests.test_server_error_in_handshake) ... ok test_server_handler_crashes (tests.legacy.test_client_server.ClientServerTests.test_server_handler_crashes) ... ok test_server_klass_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_server_klass_backwards_compatibility) ... ok test_server_receives_malformed_request (tests.legacy.test_client_server.ClientServerTests.test_server_receives_malformed_request) ... ok test_server_sends_invalid_handshake_response (tests.legacy.test_client_server.ClientServerTests.test_server_sends_invalid_handshake_response) ... ok test_server_shuts_down_and_waits_until_handlers_terminate (tests.legacy.test_client_server.ClientServerTests.test_server_shuts_down_and_waits_until_handlers_terminate) ... ok test_server_shuts_down_during_connection_handling (tests.legacy.test_client_server.ClientServerTests.test_server_shuts_down_during_connection_handling) ... ok test_server_shuts_down_during_opening_handshake (tests.legacy.test_client_server.ClientServerTests.test_server_shuts_down_during_opening_handshake) ... ok test_server_shuts_down_gracefully_during_connection_handling (tests.legacy.test_client_server.ClientServerTests.test_server_shuts_down_gracefully_during_connection_handling) ... ok test_server_timeout_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_server_timeout_backwards_compatibility) ... ok test_subprotocol (tests.legacy.test_client_server.ClientServerTests.test_subprotocol) ... ok test_subprotocol_error (tests.legacy.test_client_server.ClientServerTests.test_subprotocol_error) ... ok test_subprotocol_error_no_subprotocols (tests.legacy.test_client_server.ClientServerTests.test_subprotocol_error_no_subprotocols) ... ok test_subprotocol_error_two_subprotocols (tests.legacy.test_client_server.ClientServerTests.test_subprotocol_error_two_subprotocols) ... ok test_subprotocol_not_accepted (tests.legacy.test_client_server.ClientServerTests.test_subprotocol_not_accepted) ... ok test_subprotocol_not_offered (tests.legacy.test_client_server.ClientServerTests.test_subprotocol_not_offered) ... ok test_subprotocol_not_requested (tests.legacy.test_client_server.ClientServerTests.test_subprotocol_not_requested) ... ok test_unix_socket (tests.legacy.test_client_server.ClientServerTests.test_unix_socket) ... ok test_ws_connection_http_endpoint (tests.legacy.test_client_server.ClientServerTests.test_ws_connection_http_endpoint) ... ok test_ws_connection_ws_endpoint (tests.legacy.test_client_server.ClientServerTests.test_ws_connection_ws_endpoint) ... ok test_ws_handler_argument_backwards_compatibility (tests.legacy.test_client_server.ClientServerTests.test_ws_handler_argument_backwards_compatibility) ... ok test_ws_handler_argument_backwards_compatibility_partial (tests.legacy.test_client_server.ClientServerTests.test_ws_handler_argument_backwards_compatibility_partial) ... ok test_client (tests.legacy.test_client_server.ContextManagerTests.test_client) ... ok test_server (tests.legacy.test_client_server.ContextManagerTests.test_server) ... ok test_unix_server (tests.legacy.test_client_server.ContextManagerTests.test_unix_server) ... ok test_logger_client (tests.legacy.test_client_server.LoggerTests.test_logger_client) ... ok test_reconnect (tests.legacy.test_client_server.ReconnectionTests.test_reconnect) ... ok test_basic (tests.legacy.test_client_server.SecureClientServerTests.test_basic) ... ok test_client_close_timeout (tests.legacy.test_client_server.SecureClientServerTests.test_client_close_timeout) ... ok test_client_close_timeout_over_timeout (tests.legacy.test_client_server.SecureClientServerTests.test_client_close_timeout_over_timeout) ... ok test_client_closes_connection_before_handshake (tests.legacy.test_client_server.SecureClientServerTests.test_client_closes_connection_before_handshake) ... ok test_client_create_protocol (tests.legacy.test_client_server.SecureClientServerTests.test_client_create_protocol) ... ok test_client_create_protocol_function (tests.legacy.test_client_server.SecureClientServerTests.test_client_create_protocol_function) ... ok test_client_create_protocol_over_klass (tests.legacy.test_client_server.SecureClientServerTests.test_client_create_protocol_over_klass) ... ok test_client_klass (tests.legacy.test_client_server.SecureClientServerTests.test_client_klass) ... ok test_client_receives_malformed_response (tests.legacy.test_client_server.SecureClientServerTests.test_client_receives_malformed_response) ... ok test_client_sends_invalid_handshake_request (tests.legacy.test_client_server.SecureClientServerTests.test_client_sends_invalid_handshake_request) ... ok test_client_timeout_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_client_timeout_backwards_compatibility) ... ok test_compression_deflate (tests.legacy.test_client_server.SecureClientServerTests.test_compression_deflate) ... ok test_compression_unsupported_client (tests.legacy.test_client_server.SecureClientServerTests.test_compression_unsupported_client) ... ok test_compression_unsupported_server (tests.legacy.test_client_server.SecureClientServerTests.test_compression_unsupported_server) ... ok test_connection_error_during_closing_handshake (tests.legacy.test_client_server.SecureClientServerTests.test_connection_error_during_closing_handshake) ... ok test_connection_error_during_opening_handshake (tests.legacy.test_client_server.SecureClientServerTests.test_connection_error_during_opening_handshake) ... ok test_explicit_host_port (tests.legacy.test_client_server.SecureClientServerTests.test_explicit_host_port) ... ok test_explicit_socket (tests.legacy.test_client_server.SecureClientServerTests.test_explicit_socket) ... ok test_extension (tests.legacy.test_client_server.SecureClientServerTests.test_extension) ... ok test_extension_client_rejection (tests.legacy.test_client_server.SecureClientServerTests.test_extension_client_rejection) ... ok test_extension_mismatch (tests.legacy.test_client_server.SecureClientServerTests.test_extension_mismatch) ... ok test_extension_no_match_then_match (tests.legacy.test_client_server.SecureClientServerTests.test_extension_no_match_then_match) ... ok test_extension_not_accepted (tests.legacy.test_client_server.SecureClientServerTests.test_extension_not_accepted) ... ok test_extension_not_requested (tests.legacy.test_client_server.SecureClientServerTests.test_extension_not_requested) ... ok test_extension_order (tests.legacy.test_client_server.SecureClientServerTests.test_extension_order) ... ok test_extensions_error (tests.legacy.test_client_server.SecureClientServerTests.test_extensions_error) ... ok test_extensions_error_no_extensions (tests.legacy.test_client_server.SecureClientServerTests.test_extensions_error_no_extensions) ... ok test_http_request_custom_server_header (tests.legacy.test_client_server.SecureClientServerTests.test_http_request_custom_server_header) ... ok test_http_request_http_endpoint (tests.legacy.test_client_server.SecureClientServerTests.test_http_request_http_endpoint) ... ok test_http_request_no_server_header (tests.legacy.test_client_server.SecureClientServerTests.test_http_request_no_server_header) ... ok test_http_request_ws_endpoint (tests.legacy.test_client_server.SecureClientServerTests.test_http_request_ws_endpoint) ... ok test_infinite_redirect (tests.legacy.test_client_server.SecureClientServerTests.test_infinite_redirect) ... ok test_invalid_status_error_during_client_connect (tests.legacy.test_client_server.SecureClientServerTests.test_invalid_status_error_during_client_connect) ... ok test_invalid_subprotocol_client (tests.legacy.test_client_server.SecureClientServerTests.test_invalid_subprotocol_client) ... ok test_invalid_subprotocol_server (tests.legacy.test_client_server.SecureClientServerTests.test_invalid_subprotocol_server) ... ok test_loop_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_loop_backwards_compatibility) ... ok test_no_extension (tests.legacy.test_client_server.SecureClientServerTests.test_no_extension) ... ok test_no_subprotocol (tests.legacy.test_client_server.SecureClientServerTests.test_no_subprotocol) ... ok test_process_request_argument (tests.legacy.test_client_server.SecureClientServerTests.test_process_request_argument) ... ok test_process_request_argument_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_process_request_argument_backwards_compatibility) ... ok test_process_request_override (tests.legacy.test_client_server.SecureClientServerTests.test_process_request_override) ... ok test_process_request_override_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_process_request_override_backwards_compatibility) ... ok test_process_request_returns_int_status (tests.legacy.test_client_server.SecureClientServerTests.test_process_request_returns_int_status) ... ok test_protocol_custom_request_headers (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_request_headers) ... ok test_protocol_custom_response_headers (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_response_headers) ... ok test_protocol_custom_response_headers_callable (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_response_headers_callable) ... ok test_protocol_custom_response_headers_callable_none (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_response_headers_callable_none) ... ok test_protocol_custom_server_header (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_server_header) ... ok test_protocol_custom_server_header_legacy (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_server_header_legacy) ... ok test_protocol_custom_user_agent_header (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_user_agent_header) ... ok test_protocol_custom_user_agent_header_legacy (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_custom_user_agent_header_legacy) ... ok test_protocol_deprecated_attributes (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_deprecated_attributes) ... ok test_protocol_headers (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_headers) ... ok test_protocol_no_server_header (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_no_server_header) ... ok test_protocol_no_user_agent_header (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_no_user_agent_header) ... ok test_protocol_path (tests.legacy.test_client_server.SecureClientServerTests.test_protocol_path) ... ok test_redirect (tests.legacy.test_client_server.SecureClientServerTests.test_redirect) ... ok test_redirect_insecure (tests.legacy.test_client_server.SecureClientServerTests.test_redirect_insecure) ... ok test_redirect_missing_location (tests.legacy.test_client_server.SecureClientServerTests.test_redirect_missing_location) ... ok test_redirect_relative_location (tests.legacy.test_client_server.SecureClientServerTests.test_redirect_relative_location) ... ok test_select_subprotocol_argument (tests.legacy.test_client_server.SecureClientServerTests.test_select_subprotocol_argument) ... ok test_select_subprotocol_override (tests.legacy.test_client_server.SecureClientServerTests.test_select_subprotocol_override) ... ok test_server_close_crashes (tests.legacy.test_client_server.SecureClientServerTests.test_server_close_crashes) ... ok test_server_close_timeout (tests.legacy.test_client_server.SecureClientServerTests.test_server_close_timeout) ... ok test_server_close_timeout_over_timeout (tests.legacy.test_client_server.SecureClientServerTests.test_server_close_timeout_over_timeout) ... ok test_server_create_protocol (tests.legacy.test_client_server.SecureClientServerTests.test_server_create_protocol) ... ok test_server_create_protocol_function (tests.legacy.test_client_server.SecureClientServerTests.test_server_create_protocol_function) ... ok test_server_create_protocol_over_klass (tests.legacy.test_client_server.SecureClientServerTests.test_server_create_protocol_over_klass) ... ok test_server_does_not_switch_protocols (tests.legacy.test_client_server.SecureClientServerTests.test_server_does_not_switch_protocols) ... ok test_server_error_in_handshake (tests.legacy.test_client_server.SecureClientServerTests.test_server_error_in_handshake) ... ok test_server_handler_crashes (tests.legacy.test_client_server.SecureClientServerTests.test_server_handler_crashes) ... ok test_server_klass_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_server_klass_backwards_compatibility) ... ok test_server_receives_malformed_request (tests.legacy.test_client_server.SecureClientServerTests.test_server_receives_malformed_request) ... ok test_server_sends_invalid_handshake_response (tests.legacy.test_client_server.SecureClientServerTests.test_server_sends_invalid_handshake_response) ... ok test_server_shuts_down_and_waits_until_handlers_terminate (tests.legacy.test_client_server.SecureClientServerTests.test_server_shuts_down_and_waits_until_handlers_terminate) ... FAIL test_server_shuts_down_during_connection_handling (tests.legacy.test_client_server.SecureClientServerTests.test_server_shuts_down_during_connection_handling) ... ok test_server_shuts_down_during_opening_handshake (tests.legacy.test_client_server.SecureClientServerTests.test_server_shuts_down_during_opening_handshake) ... ok test_server_shuts_down_gracefully_during_connection_handling (tests.legacy.test_client_server.SecureClientServerTests.test_server_shuts_down_gracefully_during_connection_handling) ... ok test_server_timeout_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_server_timeout_backwards_compatibility) ... ok test_subprotocol (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol) ... ok test_subprotocol_error (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol_error) ... ok test_subprotocol_error_no_subprotocols (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol_error_no_subprotocols) ... ok test_subprotocol_error_two_subprotocols (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol_error_two_subprotocols) ... ok test_subprotocol_not_accepted (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol_not_accepted) ... ok test_subprotocol_not_offered (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol_not_offered) ... ok test_subprotocol_not_requested (tests.legacy.test_client_server.SecureClientServerTests.test_subprotocol_not_requested) ... ok test_ws_connection_http_endpoint (tests.legacy.test_client_server.SecureClientServerTests.test_ws_connection_http_endpoint) ... ok test_ws_connection_ws_endpoint (tests.legacy.test_client_server.SecureClientServerTests.test_ws_connection_ws_endpoint) ... ok test_ws_handler_argument_backwards_compatibility (tests.legacy.test_client_server.SecureClientServerTests.test_ws_handler_argument_backwards_compatibility) ... ok test_ws_handler_argument_backwards_compatibility_partial (tests.legacy.test_client_server.SecureClientServerTests.test_ws_handler_argument_backwards_compatibility_partial) ... ok test_ws_uri_is_rejected (tests.legacy.test_client_server.SecureClientServerTests.test_ws_uri_is_rejected) ... ok test_client (tests.legacy.test_client_server.YieldFromTests.test_client) ... skipped 'asyncio.coroutine has been removed in Python 3.11' test_server (tests.legacy.test_client_server.YieldFromTests.test_server) ... skipped 'asyncio.coroutine has been removed in Python 3.11' test_bad_opcode (tests.legacy.test_framing.FramingTests.test_bad_opcode) ... ok test_bad_reserved_bits (tests.legacy.test_framing.FramingTests.test_bad_reserved_bits) ... ok test_binary (tests.legacy.test_framing.FramingTests.test_binary) ... ok test_binary_masked (tests.legacy.test_framing.FramingTests.test_binary_masked) ... ok test_close (tests.legacy.test_framing.FramingTests.test_close) ... ok test_control_frame_max_length (tests.legacy.test_framing.FramingTests.test_control_frame_max_length) ... ok test_extensions (tests.legacy.test_framing.FramingTests.test_extensions) ... ok test_fragmented_control_frame (tests.legacy.test_framing.FramingTests.test_fragmented_control_frame) ... ok test_good_opcode (tests.legacy.test_framing.FramingTests.test_good_opcode) ... ok test_long (tests.legacy.test_framing.FramingTests.test_long) ... ok test_mask_flag (tests.legacy.test_framing.FramingTests.test_mask_flag) ... ok test_non_ascii_text (tests.legacy.test_framing.FramingTests.test_non_ascii_text) ... ok test_non_ascii_text_masked (tests.legacy.test_framing.FramingTests.test_non_ascii_text_masked) ... ok test_payload_too_big (tests.legacy.test_framing.FramingTests.test_payload_too_big) ... ok test_ping (tests.legacy.test_framing.FramingTests.test_ping) ... ok test_pong (tests.legacy.test_framing.FramingTests.test_pong) ... ok test_text (tests.legacy.test_framing.FramingTests.test_text) ... ok test_text_masked (tests.legacy.test_framing.FramingTests.test_text_masked) ... ok test_very_long (tests.legacy.test_framing.FramingTests.test_very_long) ... ok test_parse_close_and_serialize_close (tests.legacy.test_framing.ParseAndSerializeCloseTests.test_parse_close_and_serialize_close) ... ok test_parse_close_empty (tests.legacy.test_framing.ParseAndSerializeCloseTests.test_parse_close_empty) ... ok test_parse_close_errors (tests.legacy.test_framing.ParseAndSerializeCloseTests.test_parse_close_errors) ... ok test_serialize_close_errors (tests.legacy.test_framing.ParseAndSerializeCloseTests.test_serialize_close_errors) ... ok test_request_additional_connection (tests.legacy.test_handshake.HandshakeTests.test_request_additional_connection) ... ok test_request_additional_key (tests.legacy.test_handshake.HandshakeTests.test_request_additional_key) ... ok test_request_additional_upgrade (tests.legacy.test_handshake.HandshakeTests.test_request_additional_upgrade) ... ok test_request_additional_version (tests.legacy.test_handshake.HandshakeTests.test_request_additional_version) ... ok test_request_invalid_connection (tests.legacy.test_handshake.HandshakeTests.test_request_invalid_connection) ... ok test_request_invalid_key_not_16_bytes_long (tests.legacy.test_handshake.HandshakeTests.test_request_invalid_key_not_16_bytes_long) ... ok test_request_invalid_key_not_base64 (tests.legacy.test_handshake.HandshakeTests.test_request_invalid_key_not_base64) ... ok test_request_invalid_key_not_well_padded (tests.legacy.test_handshake.HandshakeTests.test_request_invalid_key_not_well_padded) ... ok test_request_invalid_upgrade (tests.legacy.test_handshake.HandshakeTests.test_request_invalid_upgrade) ... ok test_request_invalid_version (tests.legacy.test_handshake.HandshakeTests.test_request_invalid_version) ... ok test_request_missing_connection (tests.legacy.test_handshake.HandshakeTests.test_request_missing_connection) ... ok test_request_missing_key (tests.legacy.test_handshake.HandshakeTests.test_request_missing_key) ... ok test_request_missing_upgrade (tests.legacy.test_handshake.HandshakeTests.test_request_missing_upgrade) ... ok test_request_missing_version (tests.legacy.test_handshake.HandshakeTests.test_request_missing_version) ... ok test_response_additional_accept (tests.legacy.test_handshake.HandshakeTests.test_response_additional_accept) ... ok test_response_additional_connection (tests.legacy.test_handshake.HandshakeTests.test_response_additional_connection) ... ok test_response_additional_upgrade (tests.legacy.test_handshake.HandshakeTests.test_response_additional_upgrade) ... ok test_response_invalid_accept (tests.legacy.test_handshake.HandshakeTests.test_response_invalid_accept) ... ok test_response_invalid_connection (tests.legacy.test_handshake.HandshakeTests.test_response_invalid_connection) ... ok test_response_invalid_upgrade (tests.legacy.test_handshake.HandshakeTests.test_response_invalid_upgrade) ... ok test_response_missing_accept (tests.legacy.test_handshake.HandshakeTests.test_response_missing_accept) ... ok test_response_missing_connection (tests.legacy.test_handshake.HandshakeTests.test_response_missing_connection) ... ok test_response_missing_upgrade (tests.legacy.test_handshake.HandshakeTests.test_response_missing_upgrade) ... ok test_round_trip (tests.legacy.test_handshake.HandshakeTests.test_round_trip) ... ok test_header_name (tests.legacy.test_http.HTTPAsyncTests.test_header_name) ... ok test_header_value (tests.legacy.test_http.HTTPAsyncTests.test_header_value) ... ok test_headers_limit (tests.legacy.test_http.HTTPAsyncTests.test_headers_limit) ... ok test_line_ending (tests.legacy.test_http.HTTPAsyncTests.test_line_ending) ... ok test_line_limit (tests.legacy.test_http.HTTPAsyncTests.test_line_limit) ... ok test_read_request (tests.legacy.test_http.HTTPAsyncTests.test_read_request) ... ok test_read_request_empty (tests.legacy.test_http.HTTPAsyncTests.test_read_request_empty) ... ok test_read_request_invalid_header (tests.legacy.test_http.HTTPAsyncTests.test_read_request_invalid_header) ... ok test_read_request_invalid_request_line (tests.legacy.test_http.HTTPAsyncTests.test_read_request_invalid_request_line) ... ok test_read_request_invalid_status_line (tests.legacy.test_http.HTTPAsyncTests.test_read_request_invalid_status_line) ... ok test_read_request_unsupported_method (tests.legacy.test_http.HTTPAsyncTests.test_read_request_unsupported_method) ... ok test_read_request_unsupported_version (tests.legacy.test_http.HTTPAsyncTests.test_read_request_unsupported_version) ... ok test_read_response (tests.legacy.test_http.HTTPAsyncTests.test_read_response) ... ok test_read_response_empty (tests.legacy.test_http.HTTPAsyncTests.test_read_response_empty) ... ok test_read_response_invalid_header (tests.legacy.test_http.HTTPAsyncTests.test_read_response_invalid_header) ... ok test_read_response_invalid_reason (tests.legacy.test_http.HTTPAsyncTests.test_read_response_invalid_reason) ... ok test_read_response_invalid_status (tests.legacy.test_http.HTTPAsyncTests.test_read_response_invalid_status) ... ok test_read_response_unsupported_status (tests.legacy.test_http.HTTPAsyncTests.test_read_response_unsupported_status) ... ok test_read_response_unsupported_version (tests.legacy.test_http.HTTPAsyncTests.test_read_response_unsupported_version) ... ok test_abort_ping (tests.legacy.test_protocol.ClientTests.test_abort_ping) ... ok test_abort_ping_does_not_log_exception_if_not_retreived (tests.legacy.test_protocol.ClientTests.test_abort_ping_does_not_log_exception_if_not_retreived) ... ok test_acknowledge_aborted_ping (tests.legacy.test_protocol.ClientTests.test_acknowledge_aborted_ping) ... ok test_acknowledge_ping (tests.legacy.test_protocol.ClientTests.test_acknowledge_ping) ... ok test_acknowledge_previous_pings (tests.legacy.test_protocol.ClientTests.test_acknowledge_previous_pings) ... ok test_answer_ping (tests.legacy.test_protocol.ClientTests.test_answer_ping) ... ok test_answer_ping_does_not_crash_if_connection_closed (tests.legacy.test_protocol.ClientTests.test_answer_ping_does_not_crash_if_connection_closed) ... ok test_answer_ping_does_not_crash_if_connection_closing (tests.legacy.test_protocol.ClientTests.test_answer_ping_does_not_crash_if_connection_closing) ... ok test_broadcast_binary (tests.legacy.test_protocol.ClientTests.test_broadcast_binary) ... ok test_broadcast_no_clients (tests.legacy.test_protocol.ClientTests.test_broadcast_no_clients) ... ok test_broadcast_reports_connection_failing_to_send (tests.legacy.test_protocol.ClientTests.test_broadcast_reports_connection_failing_to_send) ... ok test_broadcast_reports_connection_sending_fragmented_text (tests.legacy.test_protocol.ClientTests.test_broadcast_reports_connection_sending_fragmented_text) ... ok test_broadcast_skips_closed_connection (tests.legacy.test_protocol.ClientTests.test_broadcast_skips_closed_connection) ... ok test_broadcast_skips_closing_connection (tests.legacy.test_protocol.ClientTests.test_broadcast_skips_closing_connection) ... ok test_broadcast_skips_connection_failing_to_send (tests.legacy.test_protocol.ClientTests.test_broadcast_skips_connection_failing_to_send) ... ok test_broadcast_skips_connection_sending_fragmented_text (tests.legacy.test_protocol.ClientTests.test_broadcast_skips_connection_sending_fragmented_text) ... ok test_broadcast_text (tests.legacy.test_protocol.ClientTests.test_broadcast_text) ... ok test_broadcast_two_clients (tests.legacy.test_protocol.ClientTests.test_broadcast_two_clients) ... ok test_broadcast_type_error (tests.legacy.test_protocol.ClientTests.test_broadcast_type_error) ... ok test_canceled_ping (tests.legacy.test_protocol.ClientTests.test_canceled_ping) ... ok test_close_code (tests.legacy.test_protocol.ClientTests.test_close_code) ... ok test_close_code_not_set (tests.legacy.test_protocol.ClientTests.test_close_code_not_set) ... ok test_close_connection_lost (tests.legacy.test_protocol.ClientTests.test_close_connection_lost) ... ok test_close_handshake_in_fragmented_text (tests.legacy.test_protocol.ClientTests.test_close_handshake_in_fragmented_text) ... ok test_close_preserves_incoming_frames (tests.legacy.test_protocol.ClientTests.test_close_preserves_incoming_frames) ... ok test_close_protocol_error (tests.legacy.test_protocol.ClientTests.test_close_protocol_error) ... ok test_close_reason (tests.legacy.test_protocol.ClientTests.test_close_reason) ... ok test_close_reason_not_set (tests.legacy.test_protocol.ClientTests.test_close_reason_not_set) ... ok test_closed (tests.legacy.test_protocol.ClientTests.test_closed) ... ok test_connection_close_in_fragmented_text (tests.legacy.test_protocol.ClientTests.test_connection_close_in_fragmented_text) ... ok test_connection_closed_attributes (tests.legacy.test_protocol.ClientTests.test_connection_closed_attributes) ... ok test_connection_lost (tests.legacy.test_protocol.ClientTests.test_connection_lost) ... ok test_control_frame_within_fragmented_text (tests.legacy.test_protocol.ClientTests.test_control_frame_within_fragmented_text) ... ok test_duplicate_ping (tests.legacy.test_protocol.ClientTests.test_duplicate_ping) ... ok test_ensure_open_before_opening_handshake (tests.legacy.test_protocol.ClientTests.test_ensure_open_before_opening_handshake) ... ok test_ensure_open_during_unclean_close (tests.legacy.test_protocol.ClientTests.test_ensure_open_during_unclean_close) ... ok test_fragmented_binary (tests.legacy.test_protocol.ClientTests.test_fragmented_binary) ... ok test_fragmented_binary_no_max_size (tests.legacy.test_protocol.ClientTests.test_fragmented_binary_no_max_size) ... ok test_fragmented_binary_payload_too_big (tests.legacy.test_protocol.ClientTests.test_fragmented_binary_payload_too_big) ... ok test_fragmented_text (tests.legacy.test_protocol.ClientTests.test_fragmented_text) ... ok test_fragmented_text_no_max_size (tests.legacy.test_protocol.ClientTests.test_fragmented_text_no_max_size) ... ok test_fragmented_text_payload_too_big (tests.legacy.test_protocol.ClientTests.test_fragmented_text_payload_too_big) ... ok test_ignore_pong (tests.legacy.test_protocol.ClientTests.test_ignore_pong) ... ok test_keepalive_ping (tests.legacy.test_protocol.ClientTests.test_keepalive_ping) ... ok test_keepalive_ping_does_not_crash_when_connection_lost (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_does_not_crash_when_connection_lost) ... ok test_keepalive_ping_not_acknowledged_closes_connection (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_not_acknowledged_closes_connection) ... ok test_keepalive_ping_stops_when_connection_closed (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_stops_when_connection_closed) ... ok test_keepalive_ping_stops_when_connection_closing (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_stops_when_connection_closing) ... FAIL test_keepalive_ping_unexpected_error (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_unexpected_error) ... ok test_keepalive_ping_with_no_ping_interval (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_with_no_ping_interval) ... ok test_keepalive_ping_with_no_ping_timeout (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_with_no_ping_timeout) ... ok test_legacy_recv (tests.legacy.test_protocol.ClientTests.test_legacy_recv) ... ok test_local_address (tests.legacy.test_protocol.ClientTests.test_local_address) ... ok test_local_address_before_connection (tests.legacy.test_protocol.ClientTests.test_local_address_before_connection) ... ok test_local_close (tests.legacy.test_protocol.ClientTests.test_local_close) ... ok test_local_close_connection_lost_timeout_after_close (tests.legacy.test_protocol.ClientTests.test_local_close_connection_lost_timeout_after_close) ... ok test_local_close_connection_lost_timeout_after_write_eof (tests.legacy.test_protocol.ClientTests.test_local_close_connection_lost_timeout_after_write_eof) ... ok test_local_close_during_recv (tests.legacy.test_protocol.ClientTests.test_local_close_during_recv) ... ok test_local_close_receive_close_frame_timeout (tests.legacy.test_protocol.ClientTests.test_local_close_receive_close_frame_timeout) ... FAIL test_local_close_send_close_frame_timeout (tests.legacy.test_protocol.ClientTests.test_local_close_send_close_frame_timeout) ... ok test_loop_backwards_compatibility (tests.legacy.test_protocol.ClientTests.test_loop_backwards_compatibility) ... ok test_open (tests.legacy.test_protocol.ClientTests.test_open) ... ok test_ping_binary (tests.legacy.test_protocol.ClientTests.test_ping_binary) ... ok test_ping_binary_from_bytearray (tests.legacy.test_protocol.ClientTests.test_ping_binary_from_bytearray) ... ok test_ping_binary_from_memoryview (tests.legacy.test_protocol.ClientTests.test_ping_binary_from_memoryview) ... ok test_ping_default (tests.legacy.test_protocol.ClientTests.test_ping_default) ... ok test_ping_on_closed_connection (tests.legacy.test_protocol.ClientTests.test_ping_on_closed_connection) ... ok test_ping_on_closing_connection_local (tests.legacy.test_protocol.ClientTests.test_ping_on_closing_connection_local) ... ok test_ping_on_closing_connection_remote (tests.legacy.test_protocol.ClientTests.test_ping_on_closing_connection_remote) ... ok test_ping_text (tests.legacy.test_protocol.ClientTests.test_ping_text) ... ok test_ping_type_error (tests.legacy.test_protocol.ClientTests.test_ping_type_error) ... ok test_pong_binary (tests.legacy.test_protocol.ClientTests.test_pong_binary) ... ok test_pong_binary_from_bytearray (tests.legacy.test_protocol.ClientTests.test_pong_binary_from_bytearray) ... ok test_pong_binary_from_memoryview (tests.legacy.test_protocol.ClientTests.test_pong_binary_from_memoryview) ... ok test_pong_default (tests.legacy.test_protocol.ClientTests.test_pong_default) ... ok test_pong_on_closed_connection (tests.legacy.test_protocol.ClientTests.test_pong_on_closed_connection) ... ok test_pong_on_closing_connection_local (tests.legacy.test_protocol.ClientTests.test_pong_on_closing_connection_local) ... ok test_pong_on_closing_connection_remote (tests.legacy.test_protocol.ClientTests.test_pong_on_closing_connection_remote) ... ok test_pong_text (tests.legacy.test_protocol.ClientTests.test_pong_text) ... ok test_pong_type_error (tests.legacy.test_protocol.ClientTests.test_pong_type_error) ... ok test_record_latency_on_pong (tests.legacy.test_protocol.ClientTests.test_record_latency_on_pong) ... ok test_recv_binary (tests.legacy.test_protocol.ClientTests.test_recv_binary) ... ok test_recv_binary_no_max_size (tests.legacy.test_protocol.ClientTests.test_recv_binary_no_max_size) ... ok test_recv_binary_payload_too_big (tests.legacy.test_protocol.ClientTests.test_recv_binary_payload_too_big) ... ok test_recv_canceled (tests.legacy.test_protocol.ClientTests.test_recv_canceled) ... ok test_recv_canceled_race_condition (tests.legacy.test_protocol.ClientTests.test_recv_canceled_race_condition) ... ok test_recv_on_closed_connection (tests.legacy.test_protocol.ClientTests.test_recv_on_closed_connection) ... ok test_recv_on_closing_connection_local (tests.legacy.test_protocol.ClientTests.test_recv_on_closing_connection_local) ... ok test_recv_on_closing_connection_remote (tests.legacy.test_protocol.ClientTests.test_recv_on_closing_connection_remote) ... ok test_recv_other_error (tests.legacy.test_protocol.ClientTests.test_recv_other_error) ... ok test_recv_prevents_concurrent_calls (tests.legacy.test_protocol.ClientTests.test_recv_prevents_concurrent_calls) ... ok test_recv_protocol_error (tests.legacy.test_protocol.ClientTests.test_recv_protocol_error) ... ok test_recv_queue_empty (tests.legacy.test_protocol.ClientTests.test_recv_queue_empty) ... ok test_recv_queue_full (tests.legacy.test_protocol.ClientTests.test_recv_queue_full) ... ok test_recv_queue_no_limit (tests.legacy.test_protocol.ClientTests.test_recv_queue_no_limit) ... ok test_recv_text (tests.legacy.test_protocol.ClientTests.test_recv_text) ... ok test_recv_text_no_max_size (tests.legacy.test_protocol.ClientTests.test_recv_text_no_max_size) ... ok test_recv_text_payload_too_big (tests.legacy.test_protocol.ClientTests.test_recv_text_payload_too_big) ... ok test_recv_unicode_error (tests.legacy.test_protocol.ClientTests.test_recv_unicode_error) ... ok test_recv_when_transfer_data_cancelled (tests.legacy.test_protocol.ClientTests.test_recv_when_transfer_data_cancelled) ... ok test_remote_address (tests.legacy.test_protocol.ClientTests.test_remote_address) ... ok test_remote_address_before_connection (tests.legacy.test_protocol.ClientTests.test_remote_address_before_connection) ... ok test_remote_close (tests.legacy.test_protocol.ClientTests.test_remote_close) ... ok test_remote_close_and_connection_lost (tests.legacy.test_protocol.ClientTests.test_remote_close_and_connection_lost) ... ok test_remote_close_during_send (tests.legacy.test_protocol.ClientTests.test_remote_close_during_send) ... ok test_return_latency_on_pong (tests.legacy.test_protocol.ClientTests.test_return_latency_on_pong) ... ok test_send_async_iterable_binary (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_binary) ... ok test_send_async_iterable_binary_from_bytearray (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_binary_from_bytearray) ... ok test_send_async_iterable_binary_from_memoryview (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_binary_from_memoryview) ... ok test_send_async_iterable_mixed_type_error (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_mixed_type_error) ... ok test_send_async_iterable_prevents_concurrent_send (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_prevents_concurrent_send) ... ok test_send_async_iterable_text (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_text) ... ok test_send_async_iterable_type_error (tests.legacy.test_protocol.ClientTests.test_send_async_iterable_type_error) ... ok test_send_binary (tests.legacy.test_protocol.ClientTests.test_send_binary) ... ok test_send_binary_from_bytearray (tests.legacy.test_protocol.ClientTests.test_send_binary_from_bytearray) ... ok test_send_binary_from_memoryview (tests.legacy.test_protocol.ClientTests.test_send_binary_from_memoryview) ... ok test_send_dict (tests.legacy.test_protocol.ClientTests.test_send_dict) ... ok test_send_empty_async_iterable (tests.legacy.test_protocol.ClientTests.test_send_empty_async_iterable) ... ok test_send_empty_iterable (tests.legacy.test_protocol.ClientTests.test_send_empty_iterable) ... ok test_send_iterable_binary (tests.legacy.test_protocol.ClientTests.test_send_iterable_binary) ... ok test_send_iterable_binary_from_bytearray (tests.legacy.test_protocol.ClientTests.test_send_iterable_binary_from_bytearray) ... ok test_send_iterable_binary_from_memoryview (tests.legacy.test_protocol.ClientTests.test_send_iterable_binary_from_memoryview) ... ok test_send_iterable_mixed_type_error (tests.legacy.test_protocol.ClientTests.test_send_iterable_mixed_type_error) ... ok test_send_iterable_prevents_concurrent_send (tests.legacy.test_protocol.ClientTests.test_send_iterable_prevents_concurrent_send) ... ok test_send_iterable_text (tests.legacy.test_protocol.ClientTests.test_send_iterable_text) ... ok test_send_iterable_type_error (tests.legacy.test_protocol.ClientTests.test_send_iterable_type_error) ... ok test_send_on_closed_connection (tests.legacy.test_protocol.ClientTests.test_send_on_closed_connection) ... ok test_send_on_closing_connection_local (tests.legacy.test_protocol.ClientTests.test_send_on_closing_connection_local) ... ok test_send_on_closing_connection_remote (tests.legacy.test_protocol.ClientTests.test_send_on_closing_connection_remote) ... ok test_send_text (tests.legacy.test_protocol.ClientTests.test_send_text) ... ok test_send_type_error (tests.legacy.test_protocol.ClientTests.test_send_type_error) ... ok test_simultaneous_close (tests.legacy.test_protocol.ClientTests.test_simultaneous_close) ... ok test_timeout_backwards_compatibility (tests.legacy.test_protocol.ClientTests.test_timeout_backwards_compatibility) ... ok test_unterminated_fragmented_text (tests.legacy.test_protocol.ClientTests.test_unterminated_fragmented_text) ... ok test_wait_closed (tests.legacy.test_protocol.ClientTests.test_wait_closed) ... ok test_abort_ping (tests.legacy.test_protocol.ServerTests.test_abort_ping) ... ok test_abort_ping_does_not_log_exception_if_not_retreived (tests.legacy.test_protocol.ServerTests.test_abort_ping_does_not_log_exception_if_not_retreived) ... ok test_acknowledge_aborted_ping (tests.legacy.test_protocol.ServerTests.test_acknowledge_aborted_ping) ... ok test_acknowledge_ping (tests.legacy.test_protocol.ServerTests.test_acknowledge_ping) ... ok test_acknowledge_previous_pings (tests.legacy.test_protocol.ServerTests.test_acknowledge_previous_pings) ... ok test_answer_ping (tests.legacy.test_protocol.ServerTests.test_answer_ping) ... ok test_answer_ping_does_not_crash_if_connection_closed (tests.legacy.test_protocol.ServerTests.test_answer_ping_does_not_crash_if_connection_closed) ... ok test_answer_ping_does_not_crash_if_connection_closing (tests.legacy.test_protocol.ServerTests.test_answer_ping_does_not_crash_if_connection_closing) ... ok test_broadcast_binary (tests.legacy.test_protocol.ServerTests.test_broadcast_binary) ... ok test_broadcast_no_clients (tests.legacy.test_protocol.ServerTests.test_broadcast_no_clients) ... ok test_broadcast_reports_connection_failing_to_send (tests.legacy.test_protocol.ServerTests.test_broadcast_reports_connection_failing_to_send) ... ok test_broadcast_reports_connection_sending_fragmented_text (tests.legacy.test_protocol.ServerTests.test_broadcast_reports_connection_sending_fragmented_text) ... ok test_broadcast_skips_closed_connection (tests.legacy.test_protocol.ServerTests.test_broadcast_skips_closed_connection) ... ok test_broadcast_skips_closing_connection (tests.legacy.test_protocol.ServerTests.test_broadcast_skips_closing_connection) ... ok test_broadcast_skips_connection_failing_to_send (tests.legacy.test_protocol.ServerTests.test_broadcast_skips_connection_failing_to_send) ... ok test_broadcast_skips_connection_sending_fragmented_text (tests.legacy.test_protocol.ServerTests.test_broadcast_skips_connection_sending_fragmented_text) ... ok test_broadcast_text (tests.legacy.test_protocol.ServerTests.test_broadcast_text) ... ok test_broadcast_two_clients (tests.legacy.test_protocol.ServerTests.test_broadcast_two_clients) ... ok test_broadcast_type_error (tests.legacy.test_protocol.ServerTests.test_broadcast_type_error) ... ok test_canceled_ping (tests.legacy.test_protocol.ServerTests.test_canceled_ping) ... ok test_close_code (tests.legacy.test_protocol.ServerTests.test_close_code) ... ok test_close_code_not_set (tests.legacy.test_protocol.ServerTests.test_close_code_not_set) ... ok test_close_connection_lost (tests.legacy.test_protocol.ServerTests.test_close_connection_lost) ... ok test_close_handshake_in_fragmented_text (tests.legacy.test_protocol.ServerTests.test_close_handshake_in_fragmented_text) ... ok test_close_preserves_incoming_frames (tests.legacy.test_protocol.ServerTests.test_close_preserves_incoming_frames) ... ok test_close_protocol_error (tests.legacy.test_protocol.ServerTests.test_close_protocol_error) ... ok test_close_reason (tests.legacy.test_protocol.ServerTests.test_close_reason) ... ok test_close_reason_not_set (tests.legacy.test_protocol.ServerTests.test_close_reason_not_set) ... ok test_closed (tests.legacy.test_protocol.ServerTests.test_closed) ... ok test_connection_close_in_fragmented_text (tests.legacy.test_protocol.ServerTests.test_connection_close_in_fragmented_text) ... ok test_connection_closed_attributes (tests.legacy.test_protocol.ServerTests.test_connection_closed_attributes) ... ok test_connection_lost (tests.legacy.test_protocol.ServerTests.test_connection_lost) ... ok test_control_frame_within_fragmented_text (tests.legacy.test_protocol.ServerTests.test_control_frame_within_fragmented_text) ... ok test_duplicate_ping (tests.legacy.test_protocol.ServerTests.test_duplicate_ping) ... ok test_ensure_open_before_opening_handshake (tests.legacy.test_protocol.ServerTests.test_ensure_open_before_opening_handshake) ... ok test_ensure_open_during_unclean_close (tests.legacy.test_protocol.ServerTests.test_ensure_open_during_unclean_close) ... ok test_fragmented_binary (tests.legacy.test_protocol.ServerTests.test_fragmented_binary) ... ok test_fragmented_binary_no_max_size (tests.legacy.test_protocol.ServerTests.test_fragmented_binary_no_max_size) ... ok test_fragmented_binary_payload_too_big (tests.legacy.test_protocol.ServerTests.test_fragmented_binary_payload_too_big) ... ok test_fragmented_text (tests.legacy.test_protocol.ServerTests.test_fragmented_text) ... ok test_fragmented_text_no_max_size (tests.legacy.test_protocol.ServerTests.test_fragmented_text_no_max_size) ... ok test_fragmented_text_payload_too_big (tests.legacy.test_protocol.ServerTests.test_fragmented_text_payload_too_big) ... ok test_ignore_pong (tests.legacy.test_protocol.ServerTests.test_ignore_pong) ... ok test_keepalive_ping (tests.legacy.test_protocol.ServerTests.test_keepalive_ping) ... ok test_keepalive_ping_does_not_crash_when_connection_lost (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_does_not_crash_when_connection_lost) ... ok test_keepalive_ping_not_acknowledged_closes_connection (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_not_acknowledged_closes_connection) ... ok test_keepalive_ping_stops_when_connection_closed (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_stops_when_connection_closed) ... ok test_keepalive_ping_stops_when_connection_closing (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_stops_when_connection_closing) ... FAIL test_keepalive_ping_unexpected_error (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_unexpected_error) ... ok test_keepalive_ping_with_no_ping_interval (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_with_no_ping_interval) ... ok test_keepalive_ping_with_no_ping_timeout (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_with_no_ping_timeout) ... ok test_legacy_recv (tests.legacy.test_protocol.ServerTests.test_legacy_recv) ... ok test_local_address (tests.legacy.test_protocol.ServerTests.test_local_address) ... ok test_local_address_before_connection (tests.legacy.test_protocol.ServerTests.test_local_address_before_connection) ... ok test_local_close (tests.legacy.test_protocol.ServerTests.test_local_close) ... ok test_local_close_connection_lost_timeout_after_close (tests.legacy.test_protocol.ServerTests.test_local_close_connection_lost_timeout_after_close) ... ok test_local_close_connection_lost_timeout_after_write_eof (tests.legacy.test_protocol.ServerTests.test_local_close_connection_lost_timeout_after_write_eof) ... ok test_local_close_during_recv (tests.legacy.test_protocol.ServerTests.test_local_close_during_recv) ... ok test_local_close_receive_close_frame_timeout (tests.legacy.test_protocol.ServerTests.test_local_close_receive_close_frame_timeout) ... ok test_local_close_send_close_frame_timeout (tests.legacy.test_protocol.ServerTests.test_local_close_send_close_frame_timeout) ... ok test_loop_backwards_compatibility (tests.legacy.test_protocol.ServerTests.test_loop_backwards_compatibility) ... ok test_open (tests.legacy.test_protocol.ServerTests.test_open) ... ok test_ping_binary (tests.legacy.test_protocol.ServerTests.test_ping_binary) ... ok test_ping_binary_from_bytearray (tests.legacy.test_protocol.ServerTests.test_ping_binary_from_bytearray) ... ok test_ping_binary_from_memoryview (tests.legacy.test_protocol.ServerTests.test_ping_binary_from_memoryview) ... ok test_ping_default (tests.legacy.test_protocol.ServerTests.test_ping_default) ... ok test_ping_on_closed_connection (tests.legacy.test_protocol.ServerTests.test_ping_on_closed_connection) ... ok test_ping_on_closing_connection_local (tests.legacy.test_protocol.ServerTests.test_ping_on_closing_connection_local) ... ok test_ping_on_closing_connection_remote (tests.legacy.test_protocol.ServerTests.test_ping_on_closing_connection_remote) ... ok test_ping_text (tests.legacy.test_protocol.ServerTests.test_ping_text) ... ok test_ping_type_error (tests.legacy.test_protocol.ServerTests.test_ping_type_error) ... ok test_pong_binary (tests.legacy.test_protocol.ServerTests.test_pong_binary) ... ok test_pong_binary_from_bytearray (tests.legacy.test_protocol.ServerTests.test_pong_binary_from_bytearray) ... ok test_pong_binary_from_memoryview (tests.legacy.test_protocol.ServerTests.test_pong_binary_from_memoryview) ... ok test_pong_default (tests.legacy.test_protocol.ServerTests.test_pong_default) ... ok test_pong_on_closed_connection (tests.legacy.test_protocol.ServerTests.test_pong_on_closed_connection) ... ok test_pong_on_closing_connection_local (tests.legacy.test_protocol.ServerTests.test_pong_on_closing_connection_local) ... ok test_pong_on_closing_connection_remote (tests.legacy.test_protocol.ServerTests.test_pong_on_closing_connection_remote) ... ok test_pong_text (tests.legacy.test_protocol.ServerTests.test_pong_text) ... ok test_pong_type_error (tests.legacy.test_protocol.ServerTests.test_pong_type_error) ... ok test_record_latency_on_pong (tests.legacy.test_protocol.ServerTests.test_record_latency_on_pong) ... ok test_recv_binary (tests.legacy.test_protocol.ServerTests.test_recv_binary) ... ok test_recv_binary_no_max_size (tests.legacy.test_protocol.ServerTests.test_recv_binary_no_max_size) ... ok test_recv_binary_payload_too_big (tests.legacy.test_protocol.ServerTests.test_recv_binary_payload_too_big) ... ok test_recv_canceled (tests.legacy.test_protocol.ServerTests.test_recv_canceled) ... ok test_recv_canceled_race_condition (tests.legacy.test_protocol.ServerTests.test_recv_canceled_race_condition) ... ok test_recv_on_closed_connection (tests.legacy.test_protocol.ServerTests.test_recv_on_closed_connection) ... ok test_recv_on_closing_connection_local (tests.legacy.test_protocol.ServerTests.test_recv_on_closing_connection_local) ... ok test_recv_on_closing_connection_remote (tests.legacy.test_protocol.ServerTests.test_recv_on_closing_connection_remote) ... ok test_recv_other_error (tests.legacy.test_protocol.ServerTests.test_recv_other_error) ... ok test_recv_prevents_concurrent_calls (tests.legacy.test_protocol.ServerTests.test_recv_prevents_concurrent_calls) ... ok test_recv_protocol_error (tests.legacy.test_protocol.ServerTests.test_recv_protocol_error) ... ok test_recv_queue_empty (tests.legacy.test_protocol.ServerTests.test_recv_queue_empty) ... ok test_recv_queue_full (tests.legacy.test_protocol.ServerTests.test_recv_queue_full) ... ok test_recv_queue_no_limit (tests.legacy.test_protocol.ServerTests.test_recv_queue_no_limit) ... ok test_recv_text (tests.legacy.test_protocol.ServerTests.test_recv_text) ... ok test_recv_text_no_max_size (tests.legacy.test_protocol.ServerTests.test_recv_text_no_max_size) ... ok test_recv_text_payload_too_big (tests.legacy.test_protocol.ServerTests.test_recv_text_payload_too_big) ... ok test_recv_unicode_error (tests.legacy.test_protocol.ServerTests.test_recv_unicode_error) ... ok test_recv_when_transfer_data_cancelled (tests.legacy.test_protocol.ServerTests.test_recv_when_transfer_data_cancelled) ... ok test_remote_address (tests.legacy.test_protocol.ServerTests.test_remote_address) ... ok test_remote_address_before_connection (tests.legacy.test_protocol.ServerTests.test_remote_address_before_connection) ... ok test_remote_close (tests.legacy.test_protocol.ServerTests.test_remote_close) ... ok test_remote_close_and_connection_lost (tests.legacy.test_protocol.ServerTests.test_remote_close_and_connection_lost) ... ok test_remote_close_during_send (tests.legacy.test_protocol.ServerTests.test_remote_close_during_send) ... ok test_return_latency_on_pong (tests.legacy.test_protocol.ServerTests.test_return_latency_on_pong) ... ok test_send_async_iterable_binary (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_binary) ... ok test_send_async_iterable_binary_from_bytearray (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_binary_from_bytearray) ... ok test_send_async_iterable_binary_from_memoryview (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_binary_from_memoryview) ... ok test_send_async_iterable_mixed_type_error (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_mixed_type_error) ... ok test_send_async_iterable_prevents_concurrent_send (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_prevents_concurrent_send) ... ok test_send_async_iterable_text (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_text) ... ok test_send_async_iterable_type_error (tests.legacy.test_protocol.ServerTests.test_send_async_iterable_type_error) ... ok test_send_binary (tests.legacy.test_protocol.ServerTests.test_send_binary) ... ok test_send_binary_from_bytearray (tests.legacy.test_protocol.ServerTests.test_send_binary_from_bytearray) ... ok test_send_binary_from_memoryview (tests.legacy.test_protocol.ServerTests.test_send_binary_from_memoryview) ... ok test_send_dict (tests.legacy.test_protocol.ServerTests.test_send_dict) ... ok test_send_empty_async_iterable (tests.legacy.test_protocol.ServerTests.test_send_empty_async_iterable) ... ok test_send_empty_iterable (tests.legacy.test_protocol.ServerTests.test_send_empty_iterable) ... ok test_send_iterable_binary (tests.legacy.test_protocol.ServerTests.test_send_iterable_binary) ... ok test_send_iterable_binary_from_bytearray (tests.legacy.test_protocol.ServerTests.test_send_iterable_binary_from_bytearray) ... ok test_send_iterable_binary_from_memoryview (tests.legacy.test_protocol.ServerTests.test_send_iterable_binary_from_memoryview) ... ok test_send_iterable_mixed_type_error (tests.legacy.test_protocol.ServerTests.test_send_iterable_mixed_type_error) ... ok test_send_iterable_prevents_concurrent_send (tests.legacy.test_protocol.ServerTests.test_send_iterable_prevents_concurrent_send) ... ok test_send_iterable_text (tests.legacy.test_protocol.ServerTests.test_send_iterable_text) ... ok test_send_iterable_type_error (tests.legacy.test_protocol.ServerTests.test_send_iterable_type_error) ... ok test_send_on_closed_connection (tests.legacy.test_protocol.ServerTests.test_send_on_closed_connection) ... ok test_send_on_closing_connection_local (tests.legacy.test_protocol.ServerTests.test_send_on_closing_connection_local) ... ok test_send_on_closing_connection_remote (tests.legacy.test_protocol.ServerTests.test_send_on_closing_connection_remote) ... ok test_send_text (tests.legacy.test_protocol.ServerTests.test_send_text) ... ok test_send_type_error (tests.legacy.test_protocol.ServerTests.test_send_type_error) ... ok test_simultaneous_close (tests.legacy.test_protocol.ServerTests.test_simultaneous_close) ... ok test_timeout_backwards_compatibility (tests.legacy.test_protocol.ServerTests.test_timeout_backwards_compatibility) ... ok test_unterminated_fragmented_text (tests.legacy.test_protocol.ServerTests.test_unterminated_fragmented_text) ... ok test_wait_closed (tests.legacy.test_protocol.ServerTests.test_wait_closed) ... ok test_additional_headers (tests.sync.test_client.ClientTests.test_additional_headers) Client can set additional headers with additional_headers. ... ok test_compression_is_enabled (tests.sync.test_client.ClientTests.test_compression_is_enabled) Client enables compression by default. ... ok test_connection (tests.sync.test_client.ClientTests.test_connection) Client connects to server and the handshake succeeds. ... ok test_connection_closed_during_handshake (tests.sync.test_client.ClientTests.test_connection_closed_during_handshake) Client reads EOF before receiving handshake response from server. ... ok test_connection_fails (tests.sync.test_client.ClientTests.test_connection_fails) Client connects to server but the handshake fails. ... ok test_custom_connection_factory (tests.sync.test_client.ClientTests.test_custom_connection_factory) Client runs ClientConnection factory provided in create_connection. ... ok test_disable_compression (tests.sync.test_client.ClientTests.test_disable_compression) Client disables compression. ... ok test_existing_socket (tests.sync.test_client.ClientTests.test_existing_socket) Client connects using a pre-existing socket. ... ok test_override_user_agent (tests.sync.test_client.ClientTests.test_override_user_agent) Client can override User-Agent header with user_agent_header. ... ok test_remove_user_agent (tests.sync.test_client.ClientTests.test_remove_user_agent) Client can remove User-Agent header with user_agent_header. ... ok test_tcp_connection_fails (tests.sync.test_client.ClientTests.test_tcp_connection_fails) Client fails to connect to server. ... ok test_timeout_during_handshake (tests.sync.test_client.ClientTests.test_timeout_during_handshake) Client times out before receiving handshake response from server. ... ok test_invalid_subprotocol (tests.sync.test_client.ClientUsageErrorsTests.test_invalid_subprotocol) Client rejects single value of subprotocols. ... ok test_ssl_context_without_secure_uri (tests.sync.test_client.ClientUsageErrorsTests.test_ssl_context_without_secure_uri) Client rejects ssl_context when URI isn't secure. ... ok test_unix_with_path_and_sock (tests.sync.test_client.ClientUsageErrorsTests.test_unix_with_path_and_sock) Unix client rejects path when sock is provided. ... ok test_unix_without_path_or_sock (tests.sync.test_client.ClientUsageErrorsTests.test_unix_without_path_or_sock) Unix client requires path when sock isn't provided. ... ok test_unsupported_compression (tests.sync.test_client.ClientUsageErrorsTests.test_unsupported_compression) Client rejects incorrect value of compression. ... ok test_connection (tests.sync.test_client.SecureClientTests.test_connection) Client connects to server securely. ... ok test_reject_invalid_server_certificate (tests.sync.test_client.SecureClientTests.test_reject_invalid_server_certificate) Client rejects certificate where server certificate isn't trusted. ... ok test_reject_invalid_server_hostname (tests.sync.test_client.SecureClientTests.test_reject_invalid_server_hostname) Client rejects certificate where server hostname doesn't match. ... ok test_set_server_hostname_explicitly (tests.sync.test_client.SecureClientTests.test_set_server_hostname_explicitly) Client sets server_hostname to the value provided in argument. ... ok test_set_server_hostname_implicitly (tests.sync.test_client.SecureClientTests.test_set_server_hostname_implicitly) Client sets server_hostname to the host in the WebSocket URI. ... ok test_connection (tests.sync.test_client.SecureUnixClientTests.test_connection) Client connects to server securely over a Unix socket. ... ok test_set_server_hostname (tests.sync.test_client.SecureUnixClientTests.test_set_server_hostname) Client sets server_hostname to the host in the WebSocket URI. ... ok test_connection (tests.sync.test_client.UnixClientTests.test_connection) Client connects to server over a Unix socket. ... ok test_set_host_header (tests.sync.test_client.UnixClientTests.test_set_host_header) Client sets the Host header to the host in the WebSocket URI. ... ok test_acknowledge_ping (tests.sync.test_connection.ClientConnectionTests.test_acknowledge_ping) ping is acknowledged by a pong with the same payload. ... ok test_acknowledge_ping_non_matching_pong (tests.sync.test_connection.ClientConnectionTests.test_acknowledge_ping_non_matching_pong) ping isn't acknowledged by a pong with a different payload. ... ok test_acknowledge_previous_ping (tests.sync.test_connection.ClientConnectionTests.test_acknowledge_previous_ping) ping is acknowledged by a pong with the same payload as a later ping. ... ok test_close (tests.sync.test_connection.ClientConnectionTests.test_close) close sends a close frame. ... ok test_close_during_send (tests.sync.test_connection.ClientConnectionTests.test_close_during_send) close fails the connection when called concurrently with send. ... ok test_close_explicit_code_reason (tests.sync.test_connection.ClientConnectionTests.test_close_explicit_code_reason) close sends a close frame with a given code and reason. ... ok test_close_idempotency (tests.sync.test_connection.ClientConnectionTests.test_close_idempotency) close does nothing if the connection is already closed. ... ok test_close_idempotency_race_condition (tests.sync.test_connection.ClientConnectionTests.test_close_idempotency_race_condition) close waits if the connection is already closing. ... ERROR test_close_timeout_waiting_for_close_frame (tests.sync.test_connection.ClientConnectionTests.test_close_timeout_waiting_for_close_frame) close times out if no close frame is received. ... ok test_close_timeout_waiting_for_connection_closed (tests.sync.test_connection.ClientConnectionTests.test_close_timeout_waiting_for_connection_closed) close times out if EOF isn't received. ... ok test_close_timeout_waiting_for_recv (tests.sync.test_connection.ClientConnectionTests.test_close_timeout_waiting_for_recv) ... ok test_close_waits_for_close_frame (tests.sync.test_connection.ClientConnectionTests.test_close_waits_for_close_frame) close waits for a close frame (then EOF) before returning. ... ERROR test_close_waits_for_connection_closed (tests.sync.test_connection.ClientConnectionTests.test_close_waits_for_connection_closed) close waits for EOF before returning. ... FAIL test_close_waits_for_recv (tests.sync.test_connection.ClientConnectionTests.test_close_waits_for_recv) ... FAIL test_enter (tests.sync.test_connection.ClientConnectionTests.test_enter) __enter__ returns the connection itself. ... ok test_exit (tests.sync.test_connection.ClientConnectionTests.test_exit) __exit__ closes the connection with code 1000. ... ok test_exit_with_exception (tests.sync.test_connection.ClientConnectionTests.test_exit_with_exception) __exit__ with an exception closes the connection with code 1011. ... ok test_id (tests.sync.test_connection.ClientConnectionTests.test_id) Connection has an id attribute. ... ok test_iter_binary (tests.sync.test_connection.ClientConnectionTests.test_iter_binary) __iter__ yields binary messages. ... ok test_iter_connection_closed_error (tests.sync.test_connection.ClientConnectionTests.test_iter_connection_closed_error) __iter__ raises ConnnectionClosedError after an error. ... ok test_iter_connection_closed_ok (tests.sync.test_connection.ClientConnectionTests.test_iter_connection_closed_ok) __iter__ terminates after a normal closure. ... ok test_iter_mixed (tests.sync.test_connection.ClientConnectionTests.test_iter_mixed) __iter__ yields a mix of text and binary messages. ... ok test_iter_text (tests.sync.test_connection.ClientConnectionTests.test_iter_text) __iter__ yields text messages. ... ok test_local_address (tests.sync.test_connection.ClientConnectionTests.test_local_address) Connection has a local_address attribute. ... ok test_logger (tests.sync.test_connection.ClientConnectionTests.test_logger) Connection has a logger attribute. ... ok test_ping (tests.sync.test_connection.ClientConnectionTests.test_ping) ping sends a ping frame with a random payload. ... ok test_ping_duplicate_payload (tests.sync.test_connection.ClientConnectionTests.test_ping_duplicate_payload) ping rejects the same payload until receiving the pong. ... ok test_ping_explicit_binary (tests.sync.test_connection.ClientConnectionTests.test_ping_explicit_binary) ping sends a ping frame with a payload provided as binary. ... ok test_ping_explicit_text (tests.sync.test_connection.ClientConnectionTests.test_ping_explicit_text) ping sends a ping frame with a payload provided as text. ... ok test_pong (tests.sync.test_connection.ClientConnectionTests.test_pong) pong sends a pong frame. ... ok test_pong_explicit_binary (tests.sync.test_connection.ClientConnectionTests.test_pong_explicit_binary) pong sends a pong frame with a payload provided as binary. ... ok test_pong_explicit_text (tests.sync.test_connection.ClientConnectionTests.test_pong_explicit_text) pong sends a pong frame with a payload provided as text. ... ok test_reading_in_recv_events_fails (tests.sync.test_connection.ClientConnectionTests.test_reading_in_recv_events_fails) Error when reading incoming frames is correctly reported. ... skipped 'works only on BSD' test_recv_binary (tests.sync.test_connection.ClientConnectionTests.test_recv_binary) recv receives a binary message. ... ok test_recv_connection_closed_error (tests.sync.test_connection.ClientConnectionTests.test_recv_connection_closed_error) recv raises ConnectionClosedError after an error. ... ok test_recv_connection_closed_ok (tests.sync.test_connection.ClientConnectionTests.test_recv_connection_closed_ok) recv raises ConnectionClosedOK after a normal closure. ... ok test_recv_during_recv (tests.sync.test_connection.ClientConnectionTests.test_recv_during_recv) recv raises RuntimeError when called concurrently with itself. ... ok test_recv_during_recv_streaming (tests.sync.test_connection.ClientConnectionTests.test_recv_during_recv_streaming) recv raises RuntimeError when called concurrently with recv_streaming. ... ok test_recv_fragmented_binary (tests.sync.test_connection.ClientConnectionTests.test_recv_fragmented_binary) recv receives a fragmented binary message. ... ok test_recv_fragmented_text (tests.sync.test_connection.ClientConnectionTests.test_recv_fragmented_text) recv receives a fragmented text message. ... ok test_recv_streaming_binary (tests.sync.test_connection.ClientConnectionTests.test_recv_streaming_binary) recv_streaming receives a binary message. ... ok test_recv_streaming_connection_closed_error (tests.sync.test_connection.ClientConnectionTests.test_recv_streaming_connection_closed_error) recv_streaming raises ConnectionClosedError after an error. ... ok test_recv_streaming_connection_closed_ok (tests.sync.test_connection.ClientConnectionTests.test_recv_streaming_connection_closed_ok) recv_streaming raises ConnectionClosedOK after a normal closure. ... ok test_recv_streaming_during_recv (tests.sync.test_connection.ClientConnectionTests.test_recv_streaming_during_recv) recv_streaming raises RuntimeError when called concurrently with recv. ... ok test_recv_streaming_during_recv_streaming (tests.sync.test_connection.ClientConnectionTests.test_recv_streaming_during_recv_streaming) recv_streaming raises RuntimeError when called concurrently with itself. ... ok test_recv_streaming_fragmented_binary (tests.sync.test_connection.ClientConnectionTests.test_recv_streaming_fragmented_binary) recv_streaming receives a fragmented binary message. ... ok test_recv_streaming_fragmented_text (tests.sync.test_connection.ClientConnectionTests.test_recv_streaming_fragmented_text) recv_streaming receives a fragmented text message. ... ok test_recv_streaming_text (tests.sync.test_connection.ClientConnectionTests.test_recv_streaming_text) recv_streaming receives a text message. ... ok test_recv_text (tests.sync.test_connection.ClientConnectionTests.test_recv_text) recv receives a text message. ... ok test_remote_address (tests.sync.test_connection.ClientConnectionTests.test_remote_address) Connection has a remote_address attribute. ... ok test_request (tests.sync.test_connection.ClientConnectionTests.test_request) Connection has a request attribute. ... ok test_response (tests.sync.test_connection.ClientConnectionTests.test_response) Connection has a response attribute. ... ok test_send_binary (tests.sync.test_connection.ClientConnectionTests.test_send_binary) send sends a binary message. ... ok test_send_connection_closed_error (tests.sync.test_connection.ClientConnectionTests.test_send_connection_closed_error) send raises ConnectionClosedError after an error. ... ok test_send_connection_closed_ok (tests.sync.test_connection.ClientConnectionTests.test_send_connection_closed_ok) send raises ConnectionClosedOK after a normal closure. ... ok test_send_dict (tests.sync.test_connection.ClientConnectionTests.test_send_dict) send raises TypeError when called with a dict. ... ok test_send_during_send (tests.sync.test_connection.ClientConnectionTests.test_send_during_send) send raises RuntimeError when called concurrently with itself. ... ok test_send_empty_iterable (tests.sync.test_connection.ClientConnectionTests.test_send_empty_iterable) send does nothing when called with an empty iterable. ... ok test_send_fragmented_binary (tests.sync.test_connection.ClientConnectionTests.test_send_fragmented_binary) send sends a fragmented binary message. ... ok test_send_fragmented_text (tests.sync.test_connection.ClientConnectionTests.test_send_fragmented_text) send sends a fragmented text message. ... ok test_send_mixed_iterable (tests.sync.test_connection.ClientConnectionTests.test_send_mixed_iterable) send raises TypeError when called with an iterable of inconsistent types. ... ok test_send_text (tests.sync.test_connection.ClientConnectionTests.test_send_text) send sends a text message. ... ok test_send_unsupported_iterable (tests.sync.test_connection.ClientConnectionTests.test_send_unsupported_iterable) send raises TypeError when called with an iterable of unsupported type. ... ok test_send_unsupported_type (tests.sync.test_connection.ClientConnectionTests.test_send_unsupported_type) send raises TypeError when called with an unsupported type. ... ok test_subprotocol (tests.sync.test_connection.ClientConnectionTests.test_subprotocol) Connection has a subprotocol attribute. ... ok test_unexpected_failure_in_recv_events (tests.sync.test_connection.ClientConnectionTests.test_unexpected_failure_in_recv_events) Unexpected internal error in recv_events() is correctly reported. ... ok test_unexpected_failure_in_send_context (tests.sync.test_connection.ClientConnectionTests.test_unexpected_failure_in_send_context) Unexpected internal error in send_context() is correctly reported. ... ok test_writing_in_recv_events_fails (tests.sync.test_connection.ClientConnectionTests.test_writing_in_recv_events_fails) Error when responding to incoming frames is correctly reported. ... ok test_writing_in_send_context_fails (tests.sync.test_connection.ClientConnectionTests.test_writing_in_send_context_fails) Error when sending outgoing frame is correctly reported. ... ok test_acknowledge_ping (tests.sync.test_connection.ServerConnectionTests.test_acknowledge_ping) ping is acknowledged by a pong with the same payload. ... ok test_acknowledge_ping_non_matching_pong (tests.sync.test_connection.ServerConnectionTests.test_acknowledge_ping_non_matching_pong) ping isn't acknowledged by a pong with a different payload. ... ok test_acknowledge_previous_ping (tests.sync.test_connection.ServerConnectionTests.test_acknowledge_previous_ping) ping is acknowledged by a pong with the same payload as a later ping. ... ok test_close (tests.sync.test_connection.ServerConnectionTests.test_close) close sends a close frame. ... ok test_close_during_send (tests.sync.test_connection.ServerConnectionTests.test_close_during_send) close fails the connection when called concurrently with send. ... ok test_close_explicit_code_reason (tests.sync.test_connection.ServerConnectionTests.test_close_explicit_code_reason) close sends a close frame with a given code and reason. ... ok test_close_idempotency (tests.sync.test_connection.ServerConnectionTests.test_close_idempotency) close does nothing if the connection is already closed. ... ok test_close_idempotency_race_condition (tests.sync.test_connection.ServerConnectionTests.test_close_idempotency_race_condition) close waits if the connection is already closing. ... ERROR test_close_timeout_waiting_for_close_frame (tests.sync.test_connection.ServerConnectionTests.test_close_timeout_waiting_for_close_frame) close times out if no close frame is received. ... ok test_close_timeout_waiting_for_connection_closed (tests.sync.test_connection.ServerConnectionTests.test_close_timeout_waiting_for_connection_closed) close times out if EOF isn't received. ... skipped 'only relevant on the client-side' test_close_timeout_waiting_for_recv (tests.sync.test_connection.ServerConnectionTests.test_close_timeout_waiting_for_recv) ... ok test_close_waits_for_close_frame (tests.sync.test_connection.ServerConnectionTests.test_close_waits_for_close_frame) close waits for a close frame (then EOF) before returning. ... ERROR test_close_waits_for_connection_closed (tests.sync.test_connection.ServerConnectionTests.test_close_waits_for_connection_closed) close waits for EOF before returning. ... skipped 'only relevant on the client-side' test_close_waits_for_recv (tests.sync.test_connection.ServerConnectionTests.test_close_waits_for_recv) ... ok test_enter (tests.sync.test_connection.ServerConnectionTests.test_enter) __enter__ returns the connection itself. ... ok test_exit (tests.sync.test_connection.ServerConnectionTests.test_exit) __exit__ closes the connection with code 1000. ... ok test_exit_with_exception (tests.sync.test_connection.ServerConnectionTests.test_exit_with_exception) __exit__ with an exception closes the connection with code 1011. ... ok test_id (tests.sync.test_connection.ServerConnectionTests.test_id) Connection has an id attribute. ... ok test_iter_binary (tests.sync.test_connection.ServerConnectionTests.test_iter_binary) __iter__ yields binary messages. ... ok test_iter_connection_closed_error (tests.sync.test_connection.ServerConnectionTests.test_iter_connection_closed_error) __iter__ raises ConnnectionClosedError after an error. ... ok test_iter_connection_closed_ok (tests.sync.test_connection.ServerConnectionTests.test_iter_connection_closed_ok) __iter__ terminates after a normal closure. ... ok test_iter_mixed (tests.sync.test_connection.ServerConnectionTests.test_iter_mixed) __iter__ yields a mix of text and binary messages. ... ok test_iter_text (tests.sync.test_connection.ServerConnectionTests.test_iter_text) __iter__ yields text messages. ... ok test_local_address (tests.sync.test_connection.ServerConnectionTests.test_local_address) Connection has a local_address attribute. ... ok test_logger (tests.sync.test_connection.ServerConnectionTests.test_logger) Connection has a logger attribute. ... ok test_ping (tests.sync.test_connection.ServerConnectionTests.test_ping) ping sends a ping frame with a random payload. ... ok test_ping_duplicate_payload (tests.sync.test_connection.ServerConnectionTests.test_ping_duplicate_payload) ping rejects the same payload until receiving the pong. ... ok test_ping_explicit_binary (tests.sync.test_connection.ServerConnectionTests.test_ping_explicit_binary) ping sends a ping frame with a payload provided as binary. ... ok test_ping_explicit_text (tests.sync.test_connection.ServerConnectionTests.test_ping_explicit_text) ping sends a ping frame with a payload provided as text. ... ok test_pong (tests.sync.test_connection.ServerConnectionTests.test_pong) pong sends a pong frame. ... ok test_pong_explicit_binary (tests.sync.test_connection.ServerConnectionTests.test_pong_explicit_binary) pong sends a pong frame with a payload provided as binary. ... FAIL test_pong_explicit_text (tests.sync.test_connection.ServerConnectionTests.test_pong_explicit_text) pong sends a pong frame with a payload provided as text. ... ok test_reading_in_recv_events_fails (tests.sync.test_connection.ServerConnectionTests.test_reading_in_recv_events_fails) Error when reading incoming frames is correctly reported. ... skipped 'works only on BSD' test_recv_binary (tests.sync.test_connection.ServerConnectionTests.test_recv_binary) recv receives a binary message. ... ok test_recv_connection_closed_error (tests.sync.test_connection.ServerConnectionTests.test_recv_connection_closed_error) recv raises ConnectionClosedError after an error. ... ok test_recv_connection_closed_ok (tests.sync.test_connection.ServerConnectionTests.test_recv_connection_closed_ok) recv raises ConnectionClosedOK after a normal closure. ... ok test_recv_during_recv (tests.sync.test_connection.ServerConnectionTests.test_recv_during_recv) recv raises RuntimeError when called concurrently with itself. ... ok test_recv_during_recv_streaming (tests.sync.test_connection.ServerConnectionTests.test_recv_during_recv_streaming) recv raises RuntimeError when called concurrently with recv_streaming. ... ok test_recv_fragmented_binary (tests.sync.test_connection.ServerConnectionTests.test_recv_fragmented_binary) recv receives a fragmented binary message. ... ok test_recv_fragmented_text (tests.sync.test_connection.ServerConnectionTests.test_recv_fragmented_text) recv receives a fragmented text message. ... ok test_recv_streaming_binary (tests.sync.test_connection.ServerConnectionTests.test_recv_streaming_binary) recv_streaming receives a binary message. ... ok test_recv_streaming_connection_closed_error (tests.sync.test_connection.ServerConnectionTests.test_recv_streaming_connection_closed_error) recv_streaming raises ConnectionClosedError after an error. ... ok test_recv_streaming_connection_closed_ok (tests.sync.test_connection.ServerConnectionTests.test_recv_streaming_connection_closed_ok) recv_streaming raises ConnectionClosedOK after a normal closure. ... ok test_recv_streaming_during_recv (tests.sync.test_connection.ServerConnectionTests.test_recv_streaming_during_recv) recv_streaming raises RuntimeError when called concurrently with recv. ... ok test_recv_streaming_during_recv_streaming (tests.sync.test_connection.ServerConnectionTests.test_recv_streaming_during_recv_streaming) recv_streaming raises RuntimeError when called concurrently with itself. ... ok test_recv_streaming_fragmented_binary (tests.sync.test_connection.ServerConnectionTests.test_recv_streaming_fragmented_binary) recv_streaming receives a fragmented binary message. ... ok test_recv_streaming_fragmented_text (tests.sync.test_connection.ServerConnectionTests.test_recv_streaming_fragmented_text) recv_streaming receives a fragmented text message. ... ok test_recv_streaming_text (tests.sync.test_connection.ServerConnectionTests.test_recv_streaming_text) recv_streaming receives a text message. ... ok test_recv_text (tests.sync.test_connection.ServerConnectionTests.test_recv_text) recv receives a text message. ... ok test_remote_address (tests.sync.test_connection.ServerConnectionTests.test_remote_address) Connection has a remote_address attribute. ... ok test_request (tests.sync.test_connection.ServerConnectionTests.test_request) Connection has a request attribute. ... ok test_response (tests.sync.test_connection.ServerConnectionTests.test_response) Connection has a response attribute. ... ok test_send_binary (tests.sync.test_connection.ServerConnectionTests.test_send_binary) send sends a binary message. ... ok test_send_connection_closed_error (tests.sync.test_connection.ServerConnectionTests.test_send_connection_closed_error) send raises ConnectionClosedError after an error. ... ok test_send_connection_closed_ok (tests.sync.test_connection.ServerConnectionTests.test_send_connection_closed_ok) send raises ConnectionClosedOK after a normal closure. ... ok test_send_dict (tests.sync.test_connection.ServerConnectionTests.test_send_dict) send raises TypeError when called with a dict. ... ok test_send_during_send (tests.sync.test_connection.ServerConnectionTests.test_send_during_send) send raises RuntimeError when called concurrently with itself. ... ok test_send_empty_iterable (tests.sync.test_connection.ServerConnectionTests.test_send_empty_iterable) send does nothing when called with an empty iterable. ... ok test_send_fragmented_binary (tests.sync.test_connection.ServerConnectionTests.test_send_fragmented_binary) send sends a fragmented binary message. ... ok test_send_fragmented_text (tests.sync.test_connection.ServerConnectionTests.test_send_fragmented_text) send sends a fragmented text message. ... ok test_send_mixed_iterable (tests.sync.test_connection.ServerConnectionTests.test_send_mixed_iterable) send raises TypeError when called with an iterable of inconsistent types. ... ok test_send_text (tests.sync.test_connection.ServerConnectionTests.test_send_text) send sends a text message. ... ok test_send_unsupported_iterable (tests.sync.test_connection.ServerConnectionTests.test_send_unsupported_iterable) send raises TypeError when called with an iterable of unsupported type. ... ok test_send_unsupported_type (tests.sync.test_connection.ServerConnectionTests.test_send_unsupported_type) send raises TypeError when called with an unsupported type. ... ok test_subprotocol (tests.sync.test_connection.ServerConnectionTests.test_subprotocol) Connection has a subprotocol attribute. ... ok test_unexpected_failure_in_recv_events (tests.sync.test_connection.ServerConnectionTests.test_unexpected_failure_in_recv_events) Unexpected internal error in recv_events() is correctly reported. ... ok test_unexpected_failure_in_send_context (tests.sync.test_connection.ServerConnectionTests.test_unexpected_failure_in_send_context) Unexpected internal error in send_context() is correctly reported. ... ok test_writing_in_recv_events_fails (tests.sync.test_connection.ServerConnectionTests.test_writing_in_recv_events_fails) Error when responding to incoming frames is correctly reported. ... ok test_writing_in_send_context_fails (tests.sync.test_connection.ServerConnectionTests.test_writing_in_send_context_fails) Error when sending outgoing frame is correctly reported. ... ok test_close_is_idempotent (tests.sync.test_messages.AssemblerTests.test_close_is_idempotent) close can be called multiple times safely. ... ok test_control_frame_before_message_is_ignored (tests.sync.test_messages.AssemblerTests.test_control_frame_before_message_is_ignored) get ignores control frames between messages. ... ok test_control_frame_in_fragmented_message_is_ignored (tests.sync.test_messages.AssemblerTests.test_control_frame_in_fragmented_message_is_ignored) get ignores control frames within fragmented messages. ... ok test_get_binary_message_already_received (tests.sync.test_messages.AssemblerTests.test_get_binary_message_already_received) get returns a binary message that is already received. ... ok test_get_binary_message_not_received_yet (tests.sync.test_messages.AssemblerTests.test_get_binary_message_not_received_yet) get returns a binary message when it is received. ... ok test_get_fails_after_close (tests.sync.test_messages.AssemblerTests.test_get_fails_after_close) get raises EOFError after close is called. ... ok test_get_fails_when_get_is_running (tests.sync.test_messages.AssemblerTests.test_get_fails_when_get_is_running) get cannot be called concurrently with itself. ... ok test_get_fails_when_get_iter_is_running (tests.sync.test_messages.AssemblerTests.test_get_fails_when_get_iter_is_running) get cannot be called concurrently with get_iter. ... ok test_get_fails_when_interrupted_by_close (tests.sync.test_messages.AssemblerTests.test_get_fails_when_interrupted_by_close) get raises EOFError when close is called. ... ok test_get_fragmented_binary_message_already_received (tests.sync.test_messages.AssemblerTests.test_get_fragmented_binary_message_already_received) get reassembles a fragmented binary message that is already received. ... ok test_get_fragmented_binary_message_being_received (tests.sync.test_messages.AssemblerTests.test_get_fragmented_binary_message_being_received) get reassembles a fragmented binary message that is partially received. ... ok test_get_fragmented_binary_message_not_received_yet (tests.sync.test_messages.AssemblerTests.test_get_fragmented_binary_message_not_received_yet) get reassembles a fragmented binary message when it is received. ... ok test_get_fragmented_text_message_already_received (tests.sync.test_messages.AssemblerTests.test_get_fragmented_text_message_already_received) get reassembles a fragmented a text message that is already received. ... ok test_get_fragmented_text_message_being_received (tests.sync.test_messages.AssemblerTests.test_get_fragmented_text_message_being_received) get reassembles a fragmented text message that is partially received. ... ok test_get_fragmented_text_message_not_received_yet (tests.sync.test_messages.AssemblerTests.test_get_fragmented_text_message_not_received_yet) get reassembles a fragmented text message when it is received. ... ok test_get_iter_binary_message_already_received (tests.sync.test_messages.AssemblerTests.test_get_iter_binary_message_already_received) get_iter yields a binary message that is already received. ... ok test_get_iter_binary_message_not_received_yet (tests.sync.test_messages.AssemblerTests.test_get_iter_binary_message_not_received_yet) get_iter yields a binary message when it is received. ... ok test_get_iter_fails_after_close (tests.sync.test_messages.AssemblerTests.test_get_iter_fails_after_close) get_iter raises EOFError after close is called. ... ok test_get_iter_fails_when_get_is_running (tests.sync.test_messages.AssemblerTests.test_get_iter_fails_when_get_is_running) get_iter cannot be called concurrently with get. ... ok test_get_iter_fails_when_get_iter_is_running (tests.sync.test_messages.AssemblerTests.test_get_iter_fails_when_get_iter_is_running) get_iter cannot be called concurrently with itself. ... ok test_get_iter_fails_when_interrupted_by_close (tests.sync.test_messages.AssemblerTests.test_get_iter_fails_when_interrupted_by_close) get_iter raises EOFError when close is called. ... ok test_get_iter_fragmented_binary_message_already_received (tests.sync.test_messages.AssemblerTests.test_get_iter_fragmented_binary_message_already_received) get_iter yields a fragmented binary message that is already received. ... ok test_get_iter_fragmented_binary_message_being_received (tests.sync.test_messages.AssemblerTests.test_get_iter_fragmented_binary_message_being_received) get_iter yields a fragmented binary message that is partially received. ... ok test_get_iter_fragmented_binary_message_not_received_yet (tests.sync.test_messages.AssemblerTests.test_get_iter_fragmented_binary_message_not_received_yet) get_iter yields a fragmented binary message when it is received. ... ok test_get_iter_fragmented_text_message_already_received (tests.sync.test_messages.AssemblerTests.test_get_iter_fragmented_text_message_already_received) get_iter yields a fragmented text message that is already received. ... ok test_get_iter_fragmented_text_message_being_received (tests.sync.test_messages.AssemblerTests.test_get_iter_fragmented_text_message_being_received) get_iter yields a fragmented text message that is partially received. ... ok test_get_iter_fragmented_text_message_not_received_yet (tests.sync.test_messages.AssemblerTests.test_get_iter_fragmented_text_message_not_received_yet) get_iter yields a fragmented text message when it is received. ... ok test_get_iter_text_message_already_received (tests.sync.test_messages.AssemblerTests.test_get_iter_text_message_already_received) get_iter yields a text message that is already received. ... ok test_get_iter_text_message_not_received_yet (tests.sync.test_messages.AssemblerTests.test_get_iter_text_message_not_received_yet) get_iter yields a text message when it is received. ... ok test_get_text_message_already_received (tests.sync.test_messages.AssemblerTests.test_get_text_message_already_received) get returns a text message that is already received. ... ok test_get_text_message_not_received_yet (tests.sync.test_messages.AssemblerTests.test_get_text_message_not_received_yet) get returns a text message when it is received. ... ok test_get_with_timeout_completes (tests.sync.test_messages.AssemblerTests.test_get_with_timeout_completes) get returns a message when it is received before the timeout. ... ok test_get_with_timeout_times_out (tests.sync.test_messages.AssemblerTests.test_get_with_timeout_times_out) get raises TimeoutError when no message is received before the timeout. ... ok test_put_fails_after_close (tests.sync.test_messages.AssemblerTests.test_put_fails_after_close) put raises EOFError after close is called. ... ok test_put_fails_when_interrupted_by_close (tests.sync.test_messages.AssemblerTests.test_put_fails_when_interrupted_by_close) put raises EOFError when close is called. ... ok test_put_fails_when_put_is_running (tests.sync.test_messages.AssemblerTests.test_put_fails_when_put_is_running) put cannot be called concurrently with itself. ... FAIL test_put_fails_when_put_is_running (tests.sync.test_messages.AssemblerTests.test_put_fails_when_put_is_running) put cannot be called concurrently with itself. ... FAIL test_connection (tests.sync.test_server.SecureServerTests.test_connection) Server receives secure connection from client. ... ok test_connection_closed_during_tls_handshake (tests.sync.test_server.SecureServerTests.test_connection_closed_during_tls_handshake) Server reads EOF before receiving TLS handshake request from client. ... ok test_timeout_during_tls_handshake (tests.sync.test_server.SecureServerTests.test_timeout_during_tls_handshake) Server times out before receiving TLS handshake request from client. ... ok test_connection (tests.sync.test_server.SecureUnixServerTests.test_connection) Server receives secure connection from client over a Unix socket. ... ok test_compression_is_enabled (tests.sync.test_server.ServerTests.test_compression_is_enabled) Server enables compression by default. ... ok test_connection (tests.sync.test_server.ServerTests.test_connection) Server receives connection from client and the handshake succeeds. ... ok test_connection_closed_during_handshake (tests.sync.test_server.ServerTests.test_connection_closed_during_handshake) Server reads EOF before receiving handshake request from client. ... ok test_connection_fails (tests.sync.test_server.ServerTests.test_connection_fails) Server receives connection from client but the handshake fails. ... ok test_connection_handler_raises_exception (tests.sync.test_server.ServerTests.test_connection_handler_raises_exception) Connection handler raises an exception. ... ok test_connection_handler_returns (tests.sync.test_server.ServerTests.test_connection_handler_returns) Connection handler returns. ... ok test_custom_connection_factory (tests.sync.test_server.ServerTests.test_custom_connection_factory) Server runs ServerConnection factory provided in create_connection. ... ok test_disable_compression (tests.sync.test_server.ServerTests.test_disable_compression) Server disables compression. ... ok test_existing_socket (tests.sync.test_server.ServerTests.test_existing_socket) Server receives connection using a pre-existing socket. ... ok test_override_server (tests.sync.test_server.ServerTests.test_override_server) Server can override Server header with server_header. ... ok test_process_request (tests.sync.test_server.ServerTests.test_process_request) Server runs process_request before processing the handshake. ... ok test_process_request_abort_handshake (tests.sync.test_server.ServerTests.test_process_request_abort_handshake) Server aborts handshake if process_request returns a response. ... ok test_process_request_raises_exception (tests.sync.test_server.ServerTests.test_process_request_raises_exception) Server returns an error if process_request raises an exception. ... ok test_process_response (tests.sync.test_server.ServerTests.test_process_response) Server runs process_response after processing the handshake. ... ok test_process_response_override_response (tests.sync.test_server.ServerTests.test_process_response_override_response) Server runs process_response after processing the handshake. ... ok test_process_response_raises_exception (tests.sync.test_server.ServerTests.test_process_response_raises_exception) Server returns an error if process_response raises an exception. ... ok test_remove_server (tests.sync.test_server.ServerTests.test_remove_server) Server can remove Server header with server_header. ... ok test_select_subprotocol (tests.sync.test_server.ServerTests.test_select_subprotocol) Server selects a subprotocol with the select_subprotocol callable. ... ok test_select_subprotocol_raises_exception (tests.sync.test_server.ServerTests.test_select_subprotocol_raises_exception) Server returns an error if select_subprotocol raises an exception. ... ok test_select_subprotocol_rejects_handshake (tests.sync.test_server.ServerTests.test_select_subprotocol_rejects_handshake) Server rejects handshake if select_subprotocol raises NegotiationError. ... ok test_timeout_during_handshake (tests.sync.test_server.ServerTests.test_timeout_during_handshake) Server times out before receiving handshake request from client. ... ok test_invalid_subprotocol (tests.sync.test_server.ServerUsageErrorsTests.test_invalid_subprotocol) Server rejects single value of subprotocols. ... ok test_unix_with_path_and_sock (tests.sync.test_server.ServerUsageErrorsTests.test_unix_with_path_and_sock) Unix server rejects path when sock is provided. ... ok test_unix_without_path_or_sock (tests.sync.test_server.ServerUsageErrorsTests.test_unix_without_path_or_sock) Unix server requires path when sock isn't provided. ... ok test_unsupported_compression (tests.sync.test_server.ServerUsageErrorsTests.test_unsupported_compression) Server rejects incorrect value of compression. ... ok test_connection (tests.sync.test_server.UnixServerTests.test_connection) Server receives connection from client over a Unix socket. ... ok test_fileno (tests.sync.test_server.WebSocketServerTests.test_fileno) WebSocketServer provides a fileno attribute. ... Exception in thread Thread-498 (serve_forever): Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner self.run() File "/usr/lib/python3.12/threading.py", line 1010, in run self._target(*self._args, **self._kwargs) File "/startdir/src/websockets-12.0/src/websockets/sync/server.py", line 222, in serve_forever poller.register(self.socket, selectors.EVENT_READ) File "/usr/lib/python3.12/selectors.py", line 352, in register key = super().register(fileobj, events, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/selectors.py", line 238, in register key = SelectorKey(fileobj, self._fileobj_lookup(fileobj), events, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/selectors.py", line 225, in _fileobj_lookup return _fileobj_to_fd(fileobj) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/selectors.py", line 42, in _fileobj_to_fd raise ValueError("Invalid file descriptor: {}".format(fd)) ValueError: Invalid file descriptor: -1 ok test_logger (tests.sync.test_server.WebSocketServerTests.test_logger) WebSocketServer accepts a logger argument. ... ok test_shutdown (tests.sync.test_server.WebSocketServerTests.test_shutdown) WebSocketServer provides a shutdown method. ... ok test_no_timeout (tests.sync.test_utils.DeadlineTests.test_no_timeout) timeout returns None when no deadline is set. ... ok test_timeout_elapsed_exception (tests.sync.test_utils.DeadlineTests.test_timeout_elapsed_exception) timeout raises TimeoutError if deadline is in the past. ... ok test_timeout_elapsed_no_exception (tests.sync.test_utils.DeadlineTests.test_timeout_elapsed_no_exception) timeout doesn't raise TimeoutError when raise_if_elapsed is disabled. ... ok test_timeout_pending (tests.sync.test_utils.DeadlineTests.test_timeout_pending) timeout returns remaining time if deadline is in the future. ... ok test_accept_response (tests.test_client.AcceptRejectTests.test_accept_response) ... ok test_basic (tests.test_client.AcceptRejectTests.test_basic) ... ok test_extension (tests.test_client.AcceptRejectTests.test_extension) ... ok test_invalid_accept (tests.test_client.AcceptRejectTests.test_invalid_accept) ... ok test_invalid_connection (tests.test_client.AcceptRejectTests.test_invalid_connection) ... ok test_invalid_upgrade (tests.test_client.AcceptRejectTests.test_invalid_upgrade) ... ok test_missing_accept (tests.test_client.AcceptRejectTests.test_missing_accept) ... ok test_missing_connection (tests.test_client.AcceptRejectTests.test_missing_connection) ... ok test_missing_upgrade (tests.test_client.AcceptRejectTests.test_missing_upgrade) ... ok test_multiple_accept (tests.test_client.AcceptRejectTests.test_multiple_accept) ... ok test_multiple_extensions (tests.test_client.AcceptRejectTests.test_multiple_extensions) ... ok test_multiple_extensions_order (tests.test_client.AcceptRejectTests.test_multiple_extensions_order) ... ok test_multiple_subprotocols (tests.test_client.AcceptRejectTests.test_multiple_subprotocols) ... ok test_multiple_supported_extension_parameters (tests.test_client.AcceptRejectTests.test_multiple_supported_extension_parameters) ... ok test_no_extension (tests.test_client.AcceptRejectTests.test_no_extension) ... ok test_no_extensions (tests.test_client.AcceptRejectTests.test_no_extensions) ... ok test_no_response (tests.test_client.AcceptRejectTests.test_no_response) ... ok test_no_subprotocol (tests.test_client.AcceptRejectTests.test_no_subprotocol) ... ok test_no_subprotocols (tests.test_client.AcceptRejectTests.test_no_subprotocols) ... ok test_partial_response (tests.test_client.AcceptRejectTests.test_partial_response) ... ok test_random_response (tests.test_client.AcceptRejectTests.test_random_response) ... ok test_receive_accept (tests.test_client.AcceptRejectTests.test_receive_accept) ... ok test_receive_reject (tests.test_client.AcceptRejectTests.test_receive_reject) ... ok test_reject_response (tests.test_client.AcceptRejectTests.test_reject_response) ... ok test_subprotocol (tests.test_client.AcceptRejectTests.test_subprotocol) ... ok test_supported_extension_parameters (tests.test_client.AcceptRejectTests.test_supported_extension_parameters) ... ok test_supported_subprotocol (tests.test_client.AcceptRejectTests.test_supported_subprotocol) ... ok test_unexpected_extension (tests.test_client.AcceptRejectTests.test_unexpected_extension) ... ok test_unexpected_subprotocol (tests.test_client.AcceptRejectTests.test_unexpected_subprotocol) ... ok test_unsupported_extension (tests.test_client.AcceptRejectTests.test_unsupported_extension) ... ok test_unsupported_extension_parameters (tests.test_client.AcceptRejectTests.test_unsupported_extension_parameters) ... ok test_unsupported_subprotocol (tests.test_client.AcceptRejectTests.test_unsupported_subprotocol) ... ok test_client_connection_class (tests.test_client.BackwardsCompatibilityTests.test_client_connection_class) ... ok test_connect_request (tests.test_client.ConnectTests.test_connect_request) ... ok test_extensions (tests.test_client.ConnectTests.test_extensions) ... ok test_origin (tests.test_client.ConnectTests.test_origin) ... ok test_path (tests.test_client.ConnectTests.test_path) ... ok test_port (tests.test_client.ConnectTests.test_port) ... ok test_send_connect (tests.test_client.ConnectTests.test_send_connect) ... ok test_subprotocols (tests.test_client.ConnectTests.test_subprotocols) ... ok test_user_info (tests.test_client.ConnectTests.test_user_info) ... ok test_bypass_handshake (tests.test_client.MiscTests.test_bypass_handshake) ... ok test_custom_logger (tests.test_client.MiscTests.test_custom_logger) ... ok test_connection_class (tests.test_connection.BackwardsCompatibilityTests.test_connection_class) ... ok test_clear (tests.test_datastructures.HeadersTests.test_clear) ... ok test_contains (tests.test_datastructures.HeadersTests.test_contains) ... ok test_contains_case_insensitive (tests.test_datastructures.HeadersTests.test_contains_case_insensitive) ... ok test_contains_non_string_key (tests.test_datastructures.HeadersTests.test_contains_non_string_key) ... ok test_contains_not_found (tests.test_datastructures.HeadersTests.test_contains_not_found) ... ok test_copy (tests.test_datastructures.HeadersTests.test_copy) ... ok test_delitem (tests.test_datastructures.HeadersTests.test_delitem) ... ok test_delitem_case_insensitive (tests.test_datastructures.HeadersTests.test_delitem_case_insensitive) ... ok test_eq (tests.test_datastructures.HeadersTests.test_eq) ... ok test_eq_case_insensitive (tests.test_datastructures.HeadersTests.test_eq_case_insensitive) ... ok test_eq_not_equal (tests.test_datastructures.HeadersTests.test_eq_not_equal) ... ok test_eq_other_type (tests.test_datastructures.HeadersTests.test_eq_other_type) ... ok test_get_all (tests.test_datastructures.HeadersTests.test_get_all) ... ok test_get_all_case_insensitive (tests.test_datastructures.HeadersTests.test_get_all_case_insensitive) ... ok test_get_all_no_values (tests.test_datastructures.HeadersTests.test_get_all_no_values) ... ok test_getitem (tests.test_datastructures.HeadersTests.test_getitem) ... ok test_getitem_case_insensitive (tests.test_datastructures.HeadersTests.test_getitem_case_insensitive) ... ok test_getitem_key_error (tests.test_datastructures.HeadersTests.test_getitem_key_error) ... ok test_init (tests.test_datastructures.HeadersTests.test_init) ... ok test_init_from_headers (tests.test_datastructures.HeadersTests.test_init_from_headers) ... ok test_init_from_headers_and_kwargs (tests.test_datastructures.HeadersTests.test_init_from_headers_and_kwargs) ... ok test_init_from_iterable (tests.test_datastructures.HeadersTests.test_init_from_iterable) ... ok test_init_from_iterable_and_kwargs (tests.test_datastructures.HeadersTests.test_init_from_iterable_and_kwargs) ... ok test_init_from_kwargs (tests.test_datastructures.HeadersTests.test_init_from_kwargs) ... ok test_init_from_mapping (tests.test_datastructures.HeadersTests.test_init_from_mapping) ... ok test_init_from_mapping_and_kwargs (tests.test_datastructures.HeadersTests.test_init_from_mapping_and_kwargs) ... ok test_init_multiple_positional_arguments (tests.test_datastructures.HeadersTests.test_init_multiple_positional_arguments) ... ok test_iter (tests.test_datastructures.HeadersTests.test_iter) ... ok test_len (tests.test_datastructures.HeadersTests.test_len) ... ok test_raw_items (tests.test_datastructures.HeadersTests.test_raw_items) ... ok test_repr (tests.test_datastructures.HeadersTests.test_repr) ... ok test_serialize (tests.test_datastructures.HeadersTests.test_serialize) ... ok test_setitem (tests.test_datastructures.HeadersTests.test_setitem) ... ok test_setitem_case_insensitive (tests.test_datastructures.HeadersTests.test_setitem_case_insensitive) ... ok test_str (tests.test_datastructures.HeadersTests.test_str) ... ok test_copy (tests.test_datastructures.MultiValueHeadersTests.test_copy) ... ok test_delitem (tests.test_datastructures.MultiValueHeadersTests.test_delitem) ... ok test_get_all (tests.test_datastructures.MultiValueHeadersTests.test_get_all) ... ok test_getitem_multiple_values_error (tests.test_datastructures.MultiValueHeadersTests.test_getitem_multiple_values_error) ... ok test_init_from_headers (tests.test_datastructures.MultiValueHeadersTests.test_init_from_headers) ... ok test_init_from_headers_and_kwargs (tests.test_datastructures.MultiValueHeadersTests.test_init_from_headers_and_kwargs) ... ok test_iter (tests.test_datastructures.MultiValueHeadersTests.test_iter) ... ok test_len (tests.test_datastructures.MultiValueHeadersTests.test_len) ... ok test_raw_items (tests.test_datastructures.MultiValueHeadersTests.test_raw_items) ... ok test_repr (tests.test_datastructures.MultiValueHeadersTests.test_repr) ... ok test_serialize (tests.test_datastructures.MultiValueHeadersTests.test_serialize) ... ok test_setitem (tests.test_datastructures.MultiValueHeadersTests.test_setitem) ... ok test_str (tests.test_datastructures.MultiValueHeadersTests.test_str) ... ok test_multiple_values_error_str (tests.test_datastructures.MultipleValuesErrorTests.test_multiple_values_error_str) ... ok test_connection_closed_attributes_backwards_compatibility (tests.test_exceptions.ExceptionsTests.test_connection_closed_attributes_backwards_compatibility) ... ok test_connection_closed_attributes_backwards_compatibility_defaults (tests.test_exceptions.ExceptionsTests.test_connection_closed_attributes_backwards_compatibility_defaults) ... ok test_str (tests.test_exceptions.ExceptionsTests.test_str) ... ok test_submodule_exports_are_globally_unique (tests.test_exports.ExportsTests.test_submodule_exports_are_globally_unique) ... ok test_top_level_module_reexports_all_submodule_exports (tests.test_exports.ExportsTests.test_top_level_module_reexports_all_submodule_exports) ... ok test_parse_and_serialize (tests.test_frames.CloseTests.test_parse_and_serialize) ... ok test_parse_empty (tests.test_frames.CloseTests.test_parse_empty) ... ok test_parse_errors (tests.test_frames.CloseTests.test_parse_errors) ... ok test_serialize_errors (tests.test_frames.CloseTests.test_serialize_errors) ... ok test_str (tests.test_frames.CloseTests.test_str) ... ok test_bad_opcode (tests.test_frames.FrameTests.test_bad_opcode) ... ok test_bad_reserved_bits (tests.test_frames.FrameTests.test_bad_reserved_bits) ... ok test_binary_masked (tests.test_frames.FrameTests.test_binary_masked) ... ok test_binary_unmasked (tests.test_frames.FrameTests.test_binary_unmasked) ... ok test_close (tests.test_frames.FrameTests.test_close) ... ok test_control_frame_max_length (tests.test_frames.FrameTests.test_control_frame_max_length) ... ok test_extensions (tests.test_frames.FrameTests.test_extensions) ... ok test_fragmented_control_frame (tests.test_frames.FrameTests.test_fragmented_control_frame) ... ok test_good_opcode (tests.test_frames.FrameTests.test_good_opcode) ... ok test_long (tests.test_frames.FrameTests.test_long) ... ok test_mask_flag (tests.test_frames.FrameTests.test_mask_flag) ... ok test_non_ascii_text_masked (tests.test_frames.FrameTests.test_non_ascii_text_masked) ... ok test_non_ascii_text_unmasked (tests.test_frames.FrameTests.test_non_ascii_text_unmasked) ... ok test_payload_too_big (tests.test_frames.FrameTests.test_payload_too_big) ... ok test_ping (tests.test_frames.FrameTests.test_ping) ... ok test_pong (tests.test_frames.FrameTests.test_pong) ... ok test_text_masked (tests.test_frames.FrameTests.test_text_masked) ... ok test_text_unmasked (tests.test_frames.FrameTests.test_text_unmasked) ... ok test_very_long (tests.test_frames.FrameTests.test_very_long) ... ok test_prepare_ctrl_bytearray (tests.test_frames.PrepareCtrlTests.test_prepare_ctrl_bytearray) ... ok test_prepare_ctrl_bytes (tests.test_frames.PrepareCtrlTests.test_prepare_ctrl_bytes) ... ok test_prepare_ctrl_list (tests.test_frames.PrepareCtrlTests.test_prepare_ctrl_list) ... ok test_prepare_ctrl_memoryview (tests.test_frames.PrepareCtrlTests.test_prepare_ctrl_memoryview) ... ok test_prepare_ctrl_none (tests.test_frames.PrepareCtrlTests.test_prepare_ctrl_none) ... ok test_prepare_ctrl_str (tests.test_frames.PrepareCtrlTests.test_prepare_ctrl_str) ... ok test_prepare_data_bytearray (tests.test_frames.PrepareDataTests.test_prepare_data_bytearray) ... ok test_prepare_data_bytes (tests.test_frames.PrepareDataTests.test_prepare_data_bytes) ... ok test_prepare_data_list (tests.test_frames.PrepareDataTests.test_prepare_data_list) ... ok test_prepare_data_memoryview (tests.test_frames.PrepareDataTests.test_prepare_data_memoryview) ... ok test_prepare_data_none (tests.test_frames.PrepareDataTests.test_prepare_data_none) ... ok test_prepare_data_str (tests.test_frames.PrepareDataTests.test_prepare_data_str) ... ok test_binary (tests.test_frames.StrTests.test_binary) ... ok test_binary_from_memoryview (tests.test_frames.StrTests.test_binary_from_memoryview) ... ok test_binary_non_final (tests.test_frames.StrTests.test_binary_non_final) ... ok test_binary_non_final_from_memoryview (tests.test_frames.StrTests.test_binary_non_final_from_memoryview) ... ok test_binary_truncated (tests.test_frames.StrTests.test_binary_truncated) ... ok test_binary_truncated_from_memoryview (tests.test_frames.StrTests.test_binary_truncated_from_memoryview) ... ok test_close (tests.test_frames.StrTests.test_close) ... ok test_close_reason (tests.test_frames.StrTests.test_close_reason) ... ok test_cont_binary (tests.test_frames.StrTests.test_cont_binary) ... ok test_cont_binary_from_memoryview (tests.test_frames.StrTests.test_cont_binary_from_memoryview) ... ok test_cont_binary_truncated (tests.test_frames.StrTests.test_cont_binary_truncated) ... ok test_cont_binary_truncated_from_memoryview (tests.test_frames.StrTests.test_cont_binary_truncated_from_memoryview) ... ok test_cont_final_binary (tests.test_frames.StrTests.test_cont_final_binary) ... ok test_cont_final_binary_from_memoryview (tests.test_frames.StrTests.test_cont_final_binary_from_memoryview) ... ok test_cont_final_text (tests.test_frames.StrTests.test_cont_final_text) ... ok test_cont_text (tests.test_frames.StrTests.test_cont_text) ... ok test_cont_text_truncated (tests.test_frames.StrTests.test_cont_text_truncated) ... ok test_ping (tests.test_frames.StrTests.test_ping) ... ok test_ping_binary (tests.test_frames.StrTests.test_ping_binary) ... ok test_ping_text (tests.test_frames.StrTests.test_ping_text) ... ok test_ping_text_with_newline (tests.test_frames.StrTests.test_ping_text_with_newline) ... ok test_pong (tests.test_frames.StrTests.test_pong) ... ok test_pong_binary (tests.test_frames.StrTests.test_pong_binary) ... ok test_pong_text (tests.test_frames.StrTests.test_pong_text) ... ok test_pong_text_with_newline (tests.test_frames.StrTests.test_pong_text_with_newline) ... ok test_text (tests.test_frames.StrTests.test_text) ... ok test_text_non_final (tests.test_frames.StrTests.test_text_non_final) ... ok test_text_truncated (tests.test_frames.StrTests.test_text_truncated) ... ok test_text_with_newline (tests.test_frames.StrTests.test_text_with_newline) ... ok test_build_authorization_basic (tests.test_headers.HeadersTests.test_build_authorization_basic) ... ok test_build_authorization_basic_utf8 (tests.test_headers.HeadersTests.test_build_authorization_basic_utf8) ... ok test_build_host (tests.test_headers.HeadersTests.test_build_host) ... ok test_build_www_authenticate_basic (tests.test_headers.HeadersTests.test_build_www_authenticate_basic) ... ok test_build_www_authenticate_basic_invalid_realm (tests.test_headers.HeadersTests.test_build_www_authenticate_basic_invalid_realm) ... ok test_parse_authorization_basic (tests.test_headers.HeadersTests.test_parse_authorization_basic) ... ok test_parse_authorization_basic_invalid_header_format (tests.test_headers.HeadersTests.test_parse_authorization_basic_invalid_header_format) ... ok test_parse_authorization_basic_invalid_header_value (tests.test_headers.HeadersTests.test_parse_authorization_basic_invalid_header_value) ... ok test_parse_connection (tests.test_headers.HeadersTests.test_parse_connection) ... ok test_parse_connection_invalid_header_format (tests.test_headers.HeadersTests.test_parse_connection_invalid_header_format) ... ok test_parse_extension (tests.test_headers.HeadersTests.test_parse_extension) ... ok test_parse_extension_invalid_header_format (tests.test_headers.HeadersTests.test_parse_extension_invalid_header_format) ... ok test_parse_subprotocol (tests.test_headers.HeadersTests.test_parse_subprotocol) ... ok test_parse_subprotocol_invalid_header (tests.test_headers.HeadersTests.test_parse_subprotocol_invalid_header) ... ok test_parse_upgrade (tests.test_headers.HeadersTests.test_parse_upgrade) ... ok test_parse_upgrade_invalid_header_format (tests.test_headers.HeadersTests.test_parse_upgrade_invalid_header_format) ... ok test_validate_subprotocols (tests.test_headers.HeadersTests.test_validate_subprotocols) ... ok test_validate_subprotocols_invalid (tests.test_headers.HeadersTests.test_validate_subprotocols_invalid) ... ok test_parse_invalid_line_ending (tests.test_http11.HeadersTests.test_parse_invalid_line_ending) ... ok test_parse_invalid_name (tests.test_http11.HeadersTests.test_parse_invalid_name) ... ok test_parse_invalid_value (tests.test_http11.HeadersTests.test_parse_invalid_value) ... ok test_parse_too_long_line (tests.test_http11.HeadersTests.test_parse_too_long_line) ... ok test_parse_too_long_value (tests.test_http11.HeadersTests.test_parse_too_long_value) ... ok test_parse (tests.test_http11.RequestTests.test_parse) ... ok test_parse_body (tests.test_http11.RequestTests.test_parse_body) ... ok test_parse_body_with_transfer_encoding (tests.test_http11.RequestTests.test_parse_body_with_transfer_encoding) ... ok test_parse_empty (tests.test_http11.RequestTests.test_parse_empty) ... ok test_parse_invalid_header (tests.test_http11.RequestTests.test_parse_invalid_header) ... ok test_parse_invalid_request_line (tests.test_http11.RequestTests.test_parse_invalid_request_line) ... ok test_parse_unsupported_method (tests.test_http11.RequestTests.test_parse_unsupported_method) ... ok test_parse_unsupported_version (tests.test_http11.RequestTests.test_parse_unsupported_version) ... ok test_serialize (tests.test_http11.RequestTests.test_serialize) ... ok test_parse (tests.test_http11.ResponseTests.test_parse) ... ok test_parse_body_no_content (tests.test_http11.ResponseTests.test_parse_body_no_content) ... ok test_parse_body_not_modified (tests.test_http11.ResponseTests.test_parse_body_not_modified) ... ok test_parse_body_with_content_length (tests.test_http11.ResponseTests.test_parse_body_with_content_length) ... ok test_parse_body_with_content_length_too_long (tests.test_http11.ResponseTests.test_parse_body_with_content_length_too_long) ... ok test_parse_body_with_transfer_encoding (tests.test_http11.ResponseTests.test_parse_body_with_transfer_encoding) ... ok test_parse_body_without_content_length (tests.test_http11.ResponseTests.test_parse_body_without_content_length) ... ok test_parse_body_without_content_length_too_long (tests.test_http11.ResponseTests.test_parse_body_without_content_length_too_long) ... ok test_parse_empty (tests.test_http11.ResponseTests.test_parse_empty) ... ok test_parse_invalid_header (tests.test_http11.ResponseTests.test_parse_invalid_header) ... ok test_parse_invalid_reason (tests.test_http11.ResponseTests.test_parse_invalid_reason) ... ok test_parse_invalid_status (tests.test_http11.ResponseTests.test_parse_invalid_status) ... ok test_parse_invalid_status_line (tests.test_http11.ResponseTests.test_parse_invalid_status_line) ... ok test_parse_unsupported_status (tests.test_http11.ResponseTests.test_parse_unsupported_status) ... ok test_parse_unsupported_version (tests.test_http11.ResponseTests.test_parse_unsupported_version) ... ok test_serialize (tests.test_http11.ResponseTests.test_serialize) ... ok test_serialize_with_body (tests.test_http11.ResponseTests.test_serialize_with_body) ... ok test_attribute_error (tests.test_imports.ImportsTests.test_attribute_error) ... ok test_dir (tests.test_imports.ImportsTests.test_dir) ... ok test_get_alias (tests.test_imports.ImportsTests.test_get_alias) ... ok test_get_deprecated_alias (tests.test_imports.ImportsTests.test_get_deprecated_alias) ... ok test_client_receives_binary (tests.test_protocol.BinaryTests.test_client_receives_binary) ... ok test_client_receives_binary_after_receiving_close (tests.test_protocol.BinaryTests.test_client_receives_binary_after_receiving_close) ... ok test_client_receives_binary_over_size_limit (tests.test_protocol.BinaryTests.test_client_receives_binary_over_size_limit) ... ok test_client_receives_fragmented_binary (tests.test_protocol.BinaryTests.test_client_receives_fragmented_binary) ... ok test_client_receives_fragmented_binary_over_size_limit (tests.test_protocol.BinaryTests.test_client_receives_fragmented_binary_over_size_limit) ... ok test_client_receives_unexpected_binary (tests.test_protocol.BinaryTests.test_client_receives_unexpected_binary) ... ok test_client_sends_binary (tests.test_protocol.BinaryTests.test_client_sends_binary) ... ok test_client_sends_binary_after_sending_close (tests.test_protocol.BinaryTests.test_client_sends_binary_after_sending_close) ... ok test_client_sends_fragmented_binary (tests.test_protocol.BinaryTests.test_client_sends_fragmented_binary) ... ok test_client_sends_unexpected_binary (tests.test_protocol.BinaryTests.test_client_sends_unexpected_binary) ... ok test_server_receives_binary (tests.test_protocol.BinaryTests.test_server_receives_binary) ... ok test_server_receives_binary_after_receiving_close (tests.test_protocol.BinaryTests.test_server_receives_binary_after_receiving_close) ... ok test_server_receives_binary_over_size_limit (tests.test_protocol.BinaryTests.test_server_receives_binary_over_size_limit) ... ok test_server_receives_fragmented_binary (tests.test_protocol.BinaryTests.test_server_receives_fragmented_binary) ... ok test_server_receives_fragmented_binary_over_size_limit (tests.test_protocol.BinaryTests.test_server_receives_fragmented_binary_over_size_limit) ... ok test_server_receives_unexpected_binary (tests.test_protocol.BinaryTests.test_server_receives_unexpected_binary) ... ok test_server_sends_binary (tests.test_protocol.BinaryTests.test_server_sends_binary) ... ok test_server_sends_binary_after_sending_close (tests.test_protocol.BinaryTests.test_server_sends_binary_after_sending_close) ... ok test_server_sends_fragmented_binary (tests.test_protocol.BinaryTests.test_server_sends_fragmented_binary) ... ok test_server_sends_unexpected_binary (tests.test_protocol.BinaryTests.test_server_sends_unexpected_binary) ... ok test_client_receives_close (tests.test_protocol.CloseTests.test_client_receives_close) ... ok test_client_receives_close_then_sends_close (tests.test_protocol.CloseTests.test_client_receives_close_then_sends_close) ... ok test_client_receives_close_with_code (tests.test_protocol.CloseTests.test_client_receives_close_with_code) ... ok test_client_receives_close_with_code_and_reason (tests.test_protocol.CloseTests.test_client_receives_close_with_code_and_reason) ... ok test_client_receives_close_with_non_utf8_reason (tests.test_protocol.CloseTests.test_client_receives_close_with_non_utf8_reason) ... ok test_client_receives_close_with_truncated_code (tests.test_protocol.CloseTests.test_client_receives_close_with_truncated_code) ... ok test_client_sends_close (tests.test_protocol.CloseTests.test_client_sends_close) ... ok test_client_sends_close_then_receives_close (tests.test_protocol.CloseTests.test_client_sends_close_then_receives_close) ... ok test_client_sends_close_with_code (tests.test_protocol.CloseTests.test_client_sends_close_with_code) ... ok test_client_sends_close_with_code_and_reason (tests.test_protocol.CloseTests.test_client_sends_close_with_code_and_reason) ... ok test_client_sends_close_with_reason_only (tests.test_protocol.CloseTests.test_client_sends_close_with_reason_only) ... ok test_close_code (tests.test_protocol.CloseTests.test_close_code) ... ok test_close_code_not_available (tests.test_protocol.CloseTests.test_close_code_not_available) ... ok test_close_code_not_available_yet (tests.test_protocol.CloseTests.test_close_code_not_available_yet) ... ok test_close_code_not_provided (tests.test_protocol.CloseTests.test_close_code_not_provided) ... ok test_close_reason (tests.test_protocol.CloseTests.test_close_reason) ... ok test_close_reason_not_available (tests.test_protocol.CloseTests.test_close_reason_not_available) ... ok test_close_reason_not_available_yet (tests.test_protocol.CloseTests.test_close_reason_not_available_yet) ... ok test_close_reason_not_provided (tests.test_protocol.CloseTests.test_close_reason_not_provided) ... ok test_server_receives_close (tests.test_protocol.CloseTests.test_server_receives_close) ... ok test_server_receives_close_then_sends_close (tests.test_protocol.CloseTests.test_server_receives_close_then_sends_close) ... ok test_server_receives_close_with_code (tests.test_protocol.CloseTests.test_server_receives_close_with_code) ... ok test_server_receives_close_with_code_and_reason (tests.test_protocol.CloseTests.test_server_receives_close_with_code_and_reason) ... ok test_server_receives_close_with_non_utf8_reason (tests.test_protocol.CloseTests.test_server_receives_close_with_non_utf8_reason) ... ok test_server_receives_close_with_truncated_code (tests.test_protocol.CloseTests.test_server_receives_close_with_truncated_code) ... ok test_server_sends_close (tests.test_protocol.CloseTests.test_server_sends_close) ... ok test_server_sends_close_then_receives_close (tests.test_protocol.CloseTests.test_server_sends_close_then_receives_close) ... ok test_server_sends_close_with_code (tests.test_protocol.CloseTests.test_server_sends_close_with_code) ... ok test_server_sends_close_with_code_and_reason (tests.test_protocol.CloseTests.test_server_sends_close_with_code_and_reason) ... ok test_server_sends_close_with_reason_only (tests.test_protocol.CloseTests.test_server_sends_close_with_reason_only) ... ok test_client_receives_close_then_sends_close (tests.test_protocol.ConnectionClosedTests.test_client_receives_close_then_sends_close) ... ok test_client_receives_eof (tests.test_protocol.ConnectionClosedTests.test_client_receives_eof) ... ok test_client_sends_close_then_receives_close (tests.test_protocol.ConnectionClosedTests.test_client_sends_close_then_receives_close) ... ok test_client_sends_close_then_receives_eof (tests.test_protocol.ConnectionClosedTests.test_client_sends_close_then_receives_eof) ... ok test_server_receives_close_then_sends_close (tests.test_protocol.ConnectionClosedTests.test_server_receives_close_then_sends_close) ... ok test_server_receives_eof (tests.test_protocol.ConnectionClosedTests.test_server_receives_eof) ... ok test_server_sends_close_then_receives_close (tests.test_protocol.ConnectionClosedTests.test_server_sends_close_then_receives_close) ... ok test_server_sends_close_then_receives_eof (tests.test_protocol.ConnectionClosedTests.test_server_sends_close_then_receives_eof) ... ok test_client_receives_continuation_after_receiving_close (tests.test_protocol.ContinuationTests.test_client_receives_continuation_after_receiving_close) ... ok test_client_receives_unexpected_continuation (tests.test_protocol.ContinuationTests.test_client_receives_unexpected_continuation) ... ok test_client_sends_continuation_after_sending_close (tests.test_protocol.ContinuationTests.test_client_sends_continuation_after_sending_close) ... ok test_client_sends_unexpected_continuation (tests.test_protocol.ContinuationTests.test_client_sends_unexpected_continuation) ... ok test_server_receives_continuation_after_receiving_close (tests.test_protocol.ContinuationTests.test_server_receives_continuation_after_receiving_close) ... ok test_server_receives_unexpected_continuation (tests.test_protocol.ContinuationTests.test_server_receives_unexpected_continuation) ... ok test_server_sends_continuation_after_sending_close (tests.test_protocol.ContinuationTests.test_server_sends_continuation_after_sending_close) ... ok test_server_sends_unexpected_continuation (tests.test_protocol.ContinuationTests.test_server_sends_unexpected_continuation) ... ok test_client_receives_data_after_eof (tests.test_protocol.EOFTests.test_client_receives_data_after_eof) ... ok test_client_receives_data_after_exception (tests.test_protocol.EOFTests.test_client_receives_data_after_exception) ... ok test_client_receives_data_and_eof_after_exception (tests.test_protocol.EOFTests.test_client_receives_data_and_eof_after_exception) ... ok test_client_receives_eof (tests.test_protocol.EOFTests.test_client_receives_eof) ... ok test_client_receives_eof_after_eof (tests.test_protocol.EOFTests.test_client_receives_eof_after_eof) ... ok test_client_receives_eof_after_exception (tests.test_protocol.EOFTests.test_client_receives_eof_after_exception) ... ok test_client_receives_eof_between_frames (tests.test_protocol.EOFTests.test_client_receives_eof_between_frames) ... ok test_client_receives_eof_inside_frame (tests.test_protocol.EOFTests.test_client_receives_eof_inside_frame) ... ok test_server_receives_data_after_eof (tests.test_protocol.EOFTests.test_server_receives_data_after_eof) ... ok test_server_receives_data_after_exception (tests.test_protocol.EOFTests.test_server_receives_data_after_exception) ... ok test_server_receives_data_and_eof_after_exception (tests.test_protocol.EOFTests.test_server_receives_data_and_eof_after_exception) ... ok test_server_receives_eof (tests.test_protocol.EOFTests.test_server_receives_eof) ... ok test_server_receives_eof_after_eof (tests.test_protocol.EOFTests.test_server_receives_eof_after_eof) ... ok test_server_receives_eof_after_exception (tests.test_protocol.EOFTests.test_server_receives_eof_after_exception) ... ok test_server_receives_eof_between_frames (tests.test_protocol.EOFTests.test_server_receives_eof_between_frames) ... ok test_server_receives_eof_inside_frame (tests.test_protocol.EOFTests.test_server_receives_eof_inside_frame) ... ok test_client_hits_internal_error_reading_frame (tests.test_protocol.ErrorTests.test_client_hits_internal_error_reading_frame) ... ok test_server_hits_internal_error_reading_frame (tests.test_protocol.ErrorTests.test_server_hits_internal_error_reading_frame) ... ok test_client_extension_decodes_frame (tests.test_protocol.ExtensionsTests.test_client_extension_decodes_frame) ... ok test_client_extension_encodes_frame (tests.test_protocol.ExtensionsTests.test_client_extension_encodes_frame) ... ok test_server_extension_decodes_frame (tests.test_protocol.ExtensionsTests.test_server_extension_decodes_frame) ... ok test_server_extension_encodes_frame (tests.test_protocol.ExtensionsTests.test_server_extension_encodes_frame) ... ok test_client_stops_processing_frames_after_fail (tests.test_protocol.FailTests.test_client_stops_processing_frames_after_fail) ... ok test_server_stops_processing_frames_after_fail (tests.test_protocol.FailTests.test_server_stops_processing_frames_after_fail) ... ok test_client_receive_close_in_fragmented_message (tests.test_protocol.FragmentationTests.test_client_receive_close_in_fragmented_message) ... ok test_client_receive_ping_pong_in_fragmented_message (tests.test_protocol.FragmentationTests.test_client_receive_ping_pong_in_fragmented_message) ... ok test_client_send_close_in_fragmented_message (tests.test_protocol.FragmentationTests.test_client_send_close_in_fragmented_message) ... ok test_client_send_ping_pong_in_fragmented_message (tests.test_protocol.FragmentationTests.test_client_send_ping_pong_in_fragmented_message) ... ok test_server_receive_close_in_fragmented_message (tests.test_protocol.FragmentationTests.test_server_receive_close_in_fragmented_message) ... ok test_server_receive_ping_pong_in_fragmented_message (tests.test_protocol.FragmentationTests.test_server_receive_ping_pong_in_fragmented_message) ... ok test_server_send_close_in_fragmented_message (tests.test_protocol.FragmentationTests.test_server_send_close_in_fragmented_message) ... ok test_server_send_ping_pong_in_fragmented_message (tests.test_protocol.FragmentationTests.test_server_send_ping_pong_in_fragmented_message) ... ok test_client_receives_masked_frame (tests.test_protocol.MaskingTests.test_client_receives_masked_frame) ... ok test_client_receives_unmasked_frame (tests.test_protocol.MaskingTests.test_client_receives_unmasked_frame) ... ok test_client_sends_masked_frame (tests.test_protocol.MaskingTests.test_client_sends_masked_frame) ... ok test_server_receives_masked_frame (tests.test_protocol.MaskingTests.test_server_receives_masked_frame) ... ok test_server_receives_unmasked_frame (tests.test_protocol.MaskingTests.test_server_receives_unmasked_frame) ... ok test_server_sends_unmasked_frame (tests.test_protocol.MaskingTests.test_server_sends_unmasked_frame) ... ok test_client_custom_logger (tests.test_protocol.MiscTests.test_client_custom_logger) ... ok test_client_default_logger (tests.test_protocol.MiscTests.test_client_default_logger) ... ok test_server_custom_logger (tests.test_protocol.MiscTests.test_server_custom_logger) ... ok test_server_default_logger (tests.test_protocol.MiscTests.test_server_default_logger) ... ok test_client_receives_fragmented_ping_frame (tests.test_protocol.PingTests.test_client_receives_fragmented_ping_frame) ... ok test_client_receives_ping (tests.test_protocol.PingTests.test_client_receives_ping) ... ok test_client_receives_ping_after_receiving_close (tests.test_protocol.PingTests.test_client_receives_ping_after_receiving_close) ... ok test_client_receives_ping_with_data (tests.test_protocol.PingTests.test_client_receives_ping_with_data) ... ok test_client_sends_fragmented_ping_frame (tests.test_protocol.PingTests.test_client_sends_fragmented_ping_frame) ... ok test_client_sends_ping (tests.test_protocol.PingTests.test_client_sends_ping) ... ok test_client_sends_ping_after_sending_close (tests.test_protocol.PingTests.test_client_sends_ping_after_sending_close) ... ok test_client_sends_ping_with_data (tests.test_protocol.PingTests.test_client_sends_ping_with_data) ... ok test_server_receives_fragmented_ping_frame (tests.test_protocol.PingTests.test_server_receives_fragmented_ping_frame) ... ok test_server_receives_ping (tests.test_protocol.PingTests.test_server_receives_ping) ... ok test_server_receives_ping_after_receiving_close (tests.test_protocol.PingTests.test_server_receives_ping_after_receiving_close) ... ok test_server_receives_ping_with_data (tests.test_protocol.PingTests.test_server_receives_ping_with_data) ... ok test_server_sends_fragmented_ping_frame (tests.test_protocol.PingTests.test_server_sends_fragmented_ping_frame) ... ok test_server_sends_ping (tests.test_protocol.PingTests.test_server_sends_ping) ... ok test_server_sends_ping_after_sending_close (tests.test_protocol.PingTests.test_server_sends_ping_after_sending_close) ... ok test_server_sends_ping_with_data (tests.test_protocol.PingTests.test_server_sends_ping_with_data) ... ok test_client_receives_fragmented_pong_frame (tests.test_protocol.PongTests.test_client_receives_fragmented_pong_frame) ... ok test_client_receives_pong (tests.test_protocol.PongTests.test_client_receives_pong) ... ok test_client_receives_pong_after_receiving_close (tests.test_protocol.PongTests.test_client_receives_pong_after_receiving_close) ... ok test_client_receives_pong_with_data (tests.test_protocol.PongTests.test_client_receives_pong_with_data) ... ok test_client_sends_fragmented_pong_frame (tests.test_protocol.PongTests.test_client_sends_fragmented_pong_frame) ... ok test_client_sends_pong (tests.test_protocol.PongTests.test_client_sends_pong) ... ok test_client_sends_pong_after_sending_close (tests.test_protocol.PongTests.test_client_sends_pong_after_sending_close) ... ok test_client_sends_pong_with_data (tests.test_protocol.PongTests.test_client_sends_pong_with_data) ... ok test_server_receives_fragmented_pong_frame (tests.test_protocol.PongTests.test_server_receives_fragmented_pong_frame) ... ok test_server_receives_pong (tests.test_protocol.PongTests.test_server_receives_pong) ... ok test_server_receives_pong_after_receiving_close (tests.test_protocol.PongTests.test_server_receives_pong_after_receiving_close) ... ok test_server_receives_pong_with_data (tests.test_protocol.PongTests.test_server_receives_pong_with_data) ... ok test_server_sends_fragmented_pong_frame (tests.test_protocol.PongTests.test_server_sends_fragmented_pong_frame) ... ok test_server_sends_pong (tests.test_protocol.PongTests.test_server_sends_pong) ... ok test_server_sends_pong_after_sending_close (tests.test_protocol.PongTests.test_server_sends_pong_after_sending_close) ... ok test_server_sends_pong_with_data (tests.test_protocol.PongTests.test_server_sends_pong_with_data) ... ok test_client_default (tests.test_protocol.TCPCloseTests.test_client_default) ... ok test_client_fails_connection (tests.test_protocol.TCPCloseTests.test_client_fails_connection) ... ok test_client_receives_close (tests.test_protocol.TCPCloseTests.test_client_receives_close) ... ok test_client_receives_close_then_eof (tests.test_protocol.TCPCloseTests.test_client_receives_close_then_eof) ... ok test_client_sends_close (tests.test_protocol.TCPCloseTests.test_client_sends_close) ... ok test_server_default (tests.test_protocol.TCPCloseTests.test_server_default) ... ok test_server_fails_connection (tests.test_protocol.TCPCloseTests.test_server_fails_connection) ... ok test_server_receives_close (tests.test_protocol.TCPCloseTests.test_server_receives_close) ... ok test_server_receives_close_then_eof (tests.test_protocol.TCPCloseTests.test_server_receives_close_then_eof) ... ok test_server_sends_close (tests.test_protocol.TCPCloseTests.test_server_sends_close) ... ok test_client_receives_fragmented_text (tests.test_protocol.TextTests.test_client_receives_fragmented_text) ... ok test_client_receives_fragmented_text_over_size_limit (tests.test_protocol.TextTests.test_client_receives_fragmented_text_over_size_limit) ... ok test_client_receives_fragmented_text_without_size_limit (tests.test_protocol.TextTests.test_client_receives_fragmented_text_without_size_limit) ... ok test_client_receives_text (tests.test_protocol.TextTests.test_client_receives_text) ... ok test_client_receives_text_after_receiving_close (tests.test_protocol.TextTests.test_client_receives_text_after_receiving_close) ... ok test_client_receives_text_over_size_limit (tests.test_protocol.TextTests.test_client_receives_text_over_size_limit) ... ok test_client_receives_text_without_size_limit (tests.test_protocol.TextTests.test_client_receives_text_without_size_limit) ... ok test_client_receives_unexpected_text (tests.test_protocol.TextTests.test_client_receives_unexpected_text) ... ok test_client_sends_fragmented_text (tests.test_protocol.TextTests.test_client_sends_fragmented_text) ... ok test_client_sends_text (tests.test_protocol.TextTests.test_client_sends_text) ... ok test_client_sends_text_after_sending_close (tests.test_protocol.TextTests.test_client_sends_text_after_sending_close) ... ok test_client_sends_unexpected_text (tests.test_protocol.TextTests.test_client_sends_unexpected_text) ... ok test_server_receives_fragmented_text (tests.test_protocol.TextTests.test_server_receives_fragmented_text) ... ok test_server_receives_fragmented_text_over_size_limit (tests.test_protocol.TextTests.test_server_receives_fragmented_text_over_size_limit) ... ok test_server_receives_fragmented_text_without_size_limit (tests.test_protocol.TextTests.test_server_receives_fragmented_text_without_size_limit) ... ok test_server_receives_text (tests.test_protocol.TextTests.test_server_receives_text) ... ok test_server_receives_text_after_receiving_close (tests.test_protocol.TextTests.test_server_receives_text_after_receiving_close) ... ok test_server_receives_text_over_size_limit (tests.test_protocol.TextTests.test_server_receives_text_over_size_limit) ... ok test_server_receives_text_without_size_limit (tests.test_protocol.TextTests.test_server_receives_text_without_size_limit) ... ok test_server_receives_unexpected_text (tests.test_protocol.TextTests.test_server_receives_unexpected_text) ... ok test_server_sends_fragmented_text (tests.test_protocol.TextTests.test_server_sends_fragmented_text) ... ok test_server_sends_text (tests.test_protocol.TextTests.test_server_sends_text) ... ok test_server_sends_text_after_sending_close (tests.test_protocol.TextTests.test_server_sends_text_after_sending_close) ... ok test_server_sends_unexpected_text (tests.test_protocol.TextTests.test_server_sends_unexpected_text) ... ok test_accept_response (tests.test_server.AcceptRejectTests.test_accept_response) ... ok test_basic (tests.test_server.AcceptRejectTests.test_basic) ... ok test_extension (tests.test_server.AcceptRejectTests.test_extension) ... ok test_invalid_connection (tests.test_server.AcceptRejectTests.test_invalid_connection) ... ok test_invalid_key (tests.test_server.AcceptRejectTests.test_invalid_key) ... ok test_invalid_upgrade (tests.test_server.AcceptRejectTests.test_invalid_upgrade) ... ok test_invalid_version (tests.test_server.AcceptRejectTests.test_invalid_version) ... ok test_missing_connection (tests.test_server.AcceptRejectTests.test_missing_connection) ... ok test_missing_key (tests.test_server.AcceptRejectTests.test_missing_key) ... ok test_missing_upgrade (tests.test_server.AcceptRejectTests.test_missing_upgrade) ... ok test_missing_version (tests.test_server.AcceptRejectTests.test_missing_version) ... ok test_multiple_extensions (tests.test_server.AcceptRejectTests.test_multiple_extensions) ... ok test_multiple_extensions_order (tests.test_server.AcceptRejectTests.test_multiple_extensions_order) ... ok test_multiple_key (tests.test_server.AcceptRejectTests.test_multiple_key) ... ok test_multiple_origin (tests.test_server.AcceptRejectTests.test_multiple_origin) ... ok test_multiple_subprotocols (tests.test_server.AcceptRejectTests.test_multiple_subprotocols) ... ok test_multiple_supported_extension_parameters (tests.test_server.AcceptRejectTests.test_multiple_supported_extension_parameters) ... ok test_multiple_version (tests.test_server.AcceptRejectTests.test_multiple_version) ... ok test_no_extension (tests.test_server.AcceptRejectTests.test_no_extension) ... ok test_no_extensions (tests.test_server.AcceptRejectTests.test_no_extensions) ... ok test_no_origin (tests.test_server.AcceptRejectTests.test_no_origin) ... ok test_no_origin_accepted (tests.test_server.AcceptRejectTests.test_no_origin_accepted) ... ok test_no_subprotocol (tests.test_server.AcceptRejectTests.test_no_subprotocol) ... ok test_no_subprotocols (tests.test_server.AcceptRejectTests.test_no_subprotocols) ... ok test_origin (tests.test_server.AcceptRejectTests.test_origin) ... ok test_reject_response (tests.test_server.AcceptRejectTests.test_reject_response) ... ok test_reject_response_supports_int_status (tests.test_server.AcceptRejectTests.test_reject_response_supports_int_status) ... ok test_select_no_subprotocol (tests.test_server.AcceptRejectTests.test_select_no_subprotocol) ... ok test_select_subprotocol (tests.test_server.AcceptRejectTests.test_select_subprotocol) ... ok test_send_accept (tests.test_server.AcceptRejectTests.test_send_accept) ... ok test_send_reject (tests.test_server.AcceptRejectTests.test_send_reject) ... ok test_subprotocol (tests.test_server.AcceptRejectTests.test_subprotocol) ... ok test_supported_extension_parameters (tests.test_server.AcceptRejectTests.test_supported_extension_parameters) ... ok test_supported_origin (tests.test_server.AcceptRejectTests.test_supported_origin) ... ok test_supported_subprotocol (tests.test_server.AcceptRejectTests.test_supported_subprotocol) ... ok test_truncated_key (tests.test_server.AcceptRejectTests.test_truncated_key) ... ok test_unexpected_exception (tests.test_server.AcceptRejectTests.test_unexpected_exception) ... ok test_unexpected_extension (tests.test_server.AcceptRejectTests.test_unexpected_extension) ... ok test_unexpected_origin (tests.test_server.AcceptRejectTests.test_unexpected_origin) ... ok test_unexpected_subprotocol (tests.test_server.AcceptRejectTests.test_unexpected_subprotocol) ... ok test_unsupported_extension (tests.test_server.AcceptRejectTests.test_unsupported_extension) ... ok test_unsupported_extension_parameters (tests.test_server.AcceptRejectTests.test_unsupported_extension_parameters) ... ok test_unsupported_origin (tests.test_server.AcceptRejectTests.test_unsupported_origin) ... ok test_unsupported_subprotocol (tests.test_server.AcceptRejectTests.test_unsupported_subprotocol) ... ok test_server_connection_class (tests.test_server.BackwardsCompatibilityTests.test_server_connection_class) ... ok test_connect_request (tests.test_server.ConnectTests.test_connect_request) ... ok test_no_request (tests.test_server.ConnectTests.test_no_request) ... ok test_partial_request (tests.test_server.ConnectTests.test_partial_request) ... ok test_random_request (tests.test_server.ConnectTests.test_random_request) ... ok test_receive_connect (tests.test_server.ConnectTests.test_receive_connect) ... ok test_bypass_handshake (tests.test_server.MiscTests.test_bypass_handshake) ... ok test_custom_logger (tests.test_server.MiscTests.test_custom_logger) ... ok test_at_eof_after_feed_data (tests.test_streams.StreamReaderTests.test_at_eof_after_feed_data) ... ok test_at_eof_after_feed_eof (tests.test_streams.StreamReaderTests.test_at_eof_after_feed_eof) ... ok test_discard (tests.test_streams.StreamReaderTests.test_discard) ... ok test_feed_data_after_feed_data (tests.test_streams.StreamReaderTests.test_feed_data_after_feed_data) ... ok test_feed_data_after_feed_eof (tests.test_streams.StreamReaderTests.test_feed_data_after_feed_eof) ... ok test_feed_eof_after_feed_data (tests.test_streams.StreamReaderTests.test_feed_eof_after_feed_data) ... ok test_feed_eof_after_feed_eof (tests.test_streams.StreamReaderTests.test_feed_eof_after_feed_eof) ... ok test_read_exact (tests.test_streams.StreamReaderTests.test_read_exact) ... ok test_read_exact_need_more_data (tests.test_streams.StreamReaderTests.test_read_exact_need_more_data) ... ok test_read_exact_not_enough_data (tests.test_streams.StreamReaderTests.test_read_exact_not_enough_data) ... ok test_read_line (tests.test_streams.StreamReaderTests.test_read_line) ... ok test_read_line_need_more_data (tests.test_streams.StreamReaderTests.test_read_line_need_more_data) ... ok test_read_line_not_enough_data (tests.test_streams.StreamReaderTests.test_read_line_not_enough_data) ... ok test_read_line_too_long (tests.test_streams.StreamReaderTests.test_read_line_too_long) ... ok test_read_line_too_long_need_more_data (tests.test_streams.StreamReaderTests.test_read_line_too_long_need_more_data) ... ok test_read_to_eof (tests.test_streams.StreamReaderTests.test_read_to_eof) ... ok test_read_to_eof_at_eof (tests.test_streams.StreamReaderTests.test_read_to_eof_at_eof) ... ok test_read_to_eof_too_long (tests.test_streams.StreamReaderTests.test_read_to_eof_too_long) ... ok test_error (tests.test_uri.URITests.test_error) ... ok test_resource_name (tests.test_uri.URITests.test_resource_name) ... ok test_success (tests.test_uri.URITests.test_success) ... ok test_user_info (tests.test_uri.URITests.test_user_info) ... ok test_apply_mask (tests.test_utils.ApplyMaskTests.test_apply_mask) ... ok test_apply_mask_check_input_types (tests.test_utils.ApplyMaskTests.test_apply_mask_check_input_types) ... ok test_apply_mask_check_mask_length (tests.test_utils.ApplyMaskTests.test_apply_mask_check_mask_length) ... ok test_apply_mask_memoryview (tests.test_utils.ApplyMaskTests.test_apply_mask_memoryview) ... ok test_apply_mask_non_contiguous_memoryview (tests.test_utils.ApplyMaskTests.test_apply_mask_non_contiguous_memoryview) ... ok test_accept_key (tests.test_utils.UtilsTests.test_accept_key) ... ok test_generate_key (tests.test_utils.UtilsTests.test_generate_key) ... ok ====================================================================== ERROR: test_close_idempotency_race_condition (tests.sync.test_connection.ClientConnectionTests.test_close_idempotency_race_condition) close waits if the connection is already closing. ---------------------------------------------------------------------- TimeoutError: timed out while closing connection The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/startdir/src/websockets-12.0/tests/sync/test_connection.py", line 534, in test_close_idempotency_race_condition self.connection.recv(timeout=0) File "/startdir/src/websockets-12.0/src/websockets/sync/connection.py", line 201, in recv raise self.protocol.close_exc from self.recv_events_exc websockets.exceptions.ConnectionClosedError: sent 1000 (OK); no close frame received ====================================================================== ERROR: test_close_waits_for_close_frame (tests.sync.test_connection.ClientConnectionTests.test_close_waits_for_close_frame) close waits for a close frame (then EOF) before returning. ---------------------------------------------------------------------- TimeoutError: timed out while closing connection The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/startdir/src/websockets-12.0/tests/sync/test_connection.py", line 412, in test_close_waits_for_close_frame self.connection.recv() File "/startdir/src/websockets-12.0/src/websockets/sync/connection.py", line 201, in recv raise self.protocol.close_exc from self.recv_events_exc websockets.exceptions.ConnectionClosedError: sent 1000 (OK); no close frame received ====================================================================== ERROR: test_close_idempotency_race_condition (tests.sync.test_connection.ServerConnectionTests.test_close_idempotency_race_condition) close waits if the connection is already closing. ---------------------------------------------------------------------- Traceback (most recent call last): File "/startdir/src/websockets-12.0/tests/sync/test_connection.py", line 534, in test_close_idempotency_race_condition self.connection.recv(timeout=0) File "/startdir/src/websockets-12.0/src/websockets/sync/connection.py", line 201, in recv raise self.protocol.close_exc from self.recv_events_exc websockets.exceptions.ConnectionClosedOK: sent 1000 (OK); then received 1000 (OK) ====================================================================== ERROR: test_close_waits_for_close_frame (tests.sync.test_connection.ServerConnectionTests.test_close_waits_for_close_frame) close waits for a close frame (then EOF) before returning. ---------------------------------------------------------------------- TimeoutError: timed out while closing connection The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/startdir/src/websockets-12.0/tests/sync/test_connection.py", line 412, in test_close_waits_for_close_frame self.connection.recv() File "/startdir/src/websockets-12.0/src/websockets/sync/connection.py", line 201, in recv raise self.protocol.close_exc from self.recv_events_exc websockets.exceptions.ConnectionClosedError: sent 1000 (OK); no close frame received ====================================================================== FAIL: test_server_shuts_down_and_waits_until_handlers_terminate (tests.legacy.test_client_server.SecureClientServerTests.test_server_shuts_down_and_waits_until_handlers_terminate) ---------------------------------------------------------------------- Traceback (most recent call last): File "/startdir/src/websockets-12.0/tests/legacy/test_client_server.py", line 120, in _decorate return func(self, *_args, **_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/startdir/src/websockets-12.0/tests/legacy/test_client_server.py", line 1239, in test_server_shuts_down_and_waits_until_handlers_terminate self.assertFalse(server_ws.handler_task.done()) AssertionError: True is not false ====================================================================== FAIL: test_keepalive_ping_stops_when_connection_closing (tests.legacy.test_protocol.ClientTests.test_keepalive_ping_stops_when_connection_closing) ---------------------------------------------------------------------- Traceback (most recent call last): File "/startdir/src/websockets-12.0/tests/legacy/test_protocol.py", line 1269, in test_keepalive_ping_stops_when_connection_closing self.assertTrue(self.protocol.keepalive_ping_task.cancelled()) AssertionError: False is not true ====================================================================== FAIL: test_local_close_receive_close_frame_timeout (tests.legacy.test_protocol.ClientTests.test_local_close_receive_close_frame_timeout) ---------------------------------------------------------------------- Traceback (most recent call last): File "/startdir/src/websockets-12.0/tests/legacy/test_protocol.py", line 1659, in test_local_close_receive_close_frame_timeout with self.assertCompletesWithin(19 * MS, 29 * MS): File "/usr/lib/python3.12/contextlib.py", line 144, in __exit__ next(self.gen) File "/startdir/src/websockets-12.0/tests/legacy/test_protocol.py", line 338, in assertCompletesWithin self.assertLess(dt, max_time, f"Too slow: {dt} >= {max_time}") AssertionError: 0.029862596999919333 not less than 0.029 : Too slow: 0.029862596999919333 >= 0.029 ====================================================================== FAIL: test_keepalive_ping_stops_when_connection_closing (tests.legacy.test_protocol.ServerTests.test_keepalive_ping_stops_when_connection_closing) ---------------------------------------------------------------------- Traceback (most recent call last): File "/startdir/src/websockets-12.0/tests/legacy/test_protocol.py", line 1269, in test_keepalive_ping_stops_when_connection_closing self.assertTrue(self.protocol.keepalive_ping_task.cancelled()) AssertionError: False is not true ====================================================================== FAIL: test_close_waits_for_connection_closed (tests.sync.test_connection.ClientConnectionTests.test_close_waits_for_connection_closed) close waits for EOF before returning. ---------------------------------------------------------------------- Traceback (most recent call last): File "/startdir/src/websockets-12.0/tests/sync/test_connection.py", line 431, in test_close_waits_for_connection_closed self.assertIsNone(exc.__cause__) AssertionError: TimeoutError('timed out while closing connection') is not None ====================================================================== FAIL: test_close_waits_for_recv (tests.sync.test_connection.ClientConnectionTests.test_close_waits_for_recv) ---------------------------------------------------------------------- Traceback (most recent call last): File "/startdir/src/websockets-12.0/tests/sync/test_connection.py", line 469, in test_close_waits_for_recv self.assertTrue(close_thread.is_alive()) AssertionError: False is not true ====================================================================== FAIL: test_pong_explicit_binary (tests.sync.test_connection.ServerConnectionTests.test_pong_explicit_binary) pong sends a pong frame with a payload provided as binary. ---------------------------------------------------------------------- Traceback (most recent call last): File "/startdir/src/websockets-12.0/tests/sync/test_connection.py", line 647, in test_pong_explicit_binary self.assertFrameSent(Frame(Opcode.PONG, b"pong")) File "/startdir/src/websockets-12.0/tests/sync/test_connection.py", line 46, in assertFrameSent self.assertEqual(self.remote_connection.protocol.get_frames_rcvd(), [frame]) AssertionError: Lists differ: [] != [Frame(opcode=, data=b'po[46 chars]lse)] Second list contains 1 additional elements. First extra element 0: Frame(opcode=, data=b'pong', fin=True, rsv1=False, rsv2=False, rsv3=False) - [] + [Frame(opcode=, + data=b'pong', + fin=True, + rsv1=False, + rsv2=False, + rsv3=False)] ====================================================================== FAIL: test_put_fails_when_put_is_running (tests.sync.test_messages.AssemblerTests.test_put_fails_when_put_is_running) put cannot be called concurrently with itself. ---------------------------------------------------------------------- Traceback (most recent call last): File "/startdir/src/websockets-12.0/tests/sync/test_messages.py", line 418, in test_put_fails_when_put_is_running with self.run_in_thread(putter): File "/usr/lib/python3.12/contextlib.py", line 144, in __exit__ next(self.gen) File "/startdir/src/websockets-12.0/tests/sync/utils.py", line 26, in run_in_thread self.assertFalse(thread.is_alive()) AssertionError: True is not false ====================================================================== FAIL: test_put_fails_when_put_is_running (tests.sync.test_messages.AssemblerTests.test_put_fails_when_put_is_running) put cannot be called concurrently with itself. ---------------------------------------------------------------------- Traceback (most recent call last): File "/startdir/src/websockets-12.0/tests/sync/test_messages.py", line 41, in tearDown self.assertFalse(self.assembler.put_in_progress) AssertionError: True is not false ---------------------------------------------------------------------- Ran 1292 tests in 6.729s FAILED (failures=9, errors=4, skipped=6) ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_02eaa340-024c-44f4-b366-42ad47cf97db/build