Sourcing pytest-remove-bytecode-hook.sh Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing setuptools-build-hook Using setuptoolsBuildPhase Using setuptoolsShellHook Sourcing pip-install-hook Using pipInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing setuptools-check-hook Using setuptoolsCheckPhase Sourcing pytest-check-hook Using pytestCheckPhase Removing setuptoolsCheckPhase @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking sources unpacking source archive /nix/store/qq48vb25b5wnfh2hpp5magr2yqd8m6yf-aiohttp-3.7.4.post0.tar.gz source root is aiohttp-3.7.4.post0 setting SOURCE_DATE_EPOCH to timestamp 1615064360 of file aiohttp-3.7.4.post0/setup.cfg @nix { "action": "setPhase", "phase": "patchPhase" } patching sources @nix { "action": "setPhase", "phase": "configurePhase" } configuring no configure script, doing nothing @nix { "action": "setPhase", "phase": "buildPhase" } building Executing setuptoolsBuildPhase running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.9 creating build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/worker.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/web_ws.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/web_urldispatcher.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/web_server.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/web_runner.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/web_routedef.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/web_response.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/web_request.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/web_protocol.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/web_middlewares.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/web_log.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/web_fileresponse.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/web_exceptions.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/web_app.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/web.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/typedefs.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/tracing.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/test_utils.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/tcp_helpers.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/streams.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/signals.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/resolver.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/pytest_plugin.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/payload_streamer.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/payload.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/multipart.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/log.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/locks.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/http_writer.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/http_websocket.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/http_parser.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/http_exceptions.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/http.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/helpers.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/hdrs.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/frozenlist.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/formdata.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/cookiejar.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/connector.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/client_ws.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/client_reqrep.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/client_proto.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/client_exceptions.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/client.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/base_protocol.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/abc.py -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/__init__.py -> build/lib.linux-x86_64-3.9/aiohttp running egg_info writing aiohttp.egg-info/PKG-INFO writing dependency_links to aiohttp.egg-info/dependency_links.txt writing requirements to aiohttp.egg-info/requires.txt writing top-level names to aiohttp.egg-info/top_level.txt reading manifest file 'aiohttp.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'aiohttp' anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.pyd' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution warning: no previously-included files matching '*.lib' found anywhere in distribution warning: no previously-included files matching '*.dll' found anywhere in distribution warning: no previously-included files matching '*.a' found anywhere in distribution warning: no previously-included files matching '*.obj' found anywhere in distribution warning: no previously-included files found matching 'aiohttp/*.html' no previously-included directories found matching 'docs/_build' adding license file 'LICENSE.txt' writing manifest file 'aiohttp.egg-info/SOURCES.txt' copying aiohttp/_cparser.pxd -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/_find_header.c -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/_find_header.h -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/_find_header.pxd -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/_frozenlist.c -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/_frozenlist.pyx -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/_headers.pxi -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/_helpers.c -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/_helpers.pyi -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/_helpers.pyx -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/_http_parser.c -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/_http_parser.pyx -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/_http_writer.c -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/_http_writer.pyx -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/_websocket.c -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/_websocket.pyx -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/frozenlist.pyi -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/py.typed -> build/lib.linux-x86_64-3.9/aiohttp copying aiohttp/signals.pyi -> build/lib.linux-x86_64-3.9/aiohttp creating build/lib.linux-x86_64-3.9/aiohttp/.hash copying aiohttp/.hash/_cparser.pxd.hash -> build/lib.linux-x86_64-3.9/aiohttp/.hash copying aiohttp/.hash/_find_header.pxd.hash -> build/lib.linux-x86_64-3.9/aiohttp/.hash copying aiohttp/.hash/_frozenlist.pyx.hash -> build/lib.linux-x86_64-3.9/aiohttp/.hash copying aiohttp/.hash/_helpers.pyi.hash -> build/lib.linux-x86_64-3.9/aiohttp/.hash copying aiohttp/.hash/_helpers.pyx.hash -> build/lib.linux-x86_64-3.9/aiohttp/.hash copying aiohttp/.hash/_http_parser.pyx.hash -> build/lib.linux-x86_64-3.9/aiohttp/.hash copying aiohttp/.hash/_http_writer.pyx.hash -> build/lib.linux-x86_64-3.9/aiohttp/.hash copying aiohttp/.hash/_websocket.pyx.hash -> build/lib.linux-x86_64-3.9/aiohttp/.hash copying aiohttp/.hash/frozenlist.pyi.hash -> build/lib.linux-x86_64-3.9/aiohttp/.hash copying aiohttp/.hash/hdrs.py.hash -> build/lib.linux-x86_64-3.9/aiohttp/.hash copying aiohttp/.hash/signals.pyi.hash -> build/lib.linux-x86_64-3.9/aiohttp/.hash running build_ext building 'aiohttp._websocket' extension creating build/temp.linux-x86_64-3.9 creating build/temp.linux-x86_64-3.9/aiohttp gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/include/python3.9 -c aiohttp/_websocket.c -o build/temp.linux-x86_64-3.9/aiohttp/_websocket.o gcc -shared -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.11/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.6.0.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.4.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.2.5/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.20/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.36.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-6.3p08/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-1.1.1l/lib -L/nix/store/j6hq0a9knw0q8ajw4bd5q1k5gh4hixcv-tzdata-2021c/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.11/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.6.0.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.4.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.2.5/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.20/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.36.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-6.3p08/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-1.1.1l/lib -L/nix/store/j6hq0a9knw0q8ajw4bd5q1k5gh4hixcv-tzdata-2021c/lib build/temp.linux-x86_64-3.9/aiohttp/_websocket.o -L/nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib -o build/lib.linux-x86_64-3.9/aiohttp/_websocket.cpython-39-x86_64-linux-gnu.so building 'aiohttp._http_parser' extension creating build/temp.linux-x86_64-3.9/vendor creating build/temp.linux-x86_64-3.9/vendor/http-parser gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DHTTP_PARSER_STRICT=0 -I/nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/include/python3.9 -c aiohttp/_find_header.c -o build/temp.linux-x86_64-3.9/aiohttp/_find_header.o aiohttp/_find_header.c: In function ‘find_header’: aiohttp/_find_header.c:21:19: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 21 | char *pchar = str; | ^~~ aiohttp/_find_header.c:9867:1: warning: label ‘missing’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-label-Wunused-label]8;;] 9867 | missing: | ^~~~~~~ gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DHTTP_PARSER_STRICT=0 -I/nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/include/python3.9 -c aiohttp/_http_parser.c -o build/temp.linux-x86_64-3.9/aiohttp/_http_parser.o aiohttp/_http_parser.c: In function ‘__pyx_f_7aiohttp_12_http_parser_cb_on_header_field’: aiohttp/_http_parser.c:11890:34: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 11890 | __pyx_t_6 = ((__pyx_v_size > __pyx_v_pyparser->_max_field_size) != 0); | ^ aiohttp/_http_parser.c:11986:148: warning: passing argument 2 of ‘__pyx_v_pyparser->__pyx_vtab->_on_header_field’ discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 11986 | __pyx_t_1 = ((struct __pyx_vtabstruct_7aiohttp_12_http_parser_HttpParser *)__pyx_v_pyparser->__pyx_vtab)->_on_header_field(__pyx_v_pyparser, __pyx_v_at, __pyx_v_length); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 664, __pyx_L3_error) | ^~~~~~~~~~ aiohttp/_http_parser.c:11986:148: note: expected ‘char *’ but argument is of type ‘const char *’ aiohttp/_http_parser.c: In function ‘__pyx_f_7aiohttp_12_http_parser_cb_on_header_value’: aiohttp/_http_parser.c:12211:34: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 12211 | __pyx_t_6 = ((__pyx_v_size > __pyx_v_pyparser->_max_field_size) != 0); | ^ aiohttp/_http_parser.c:12307:148: warning: passing argument 2 of ‘__pyx_v_pyparser->__pyx_vtab->_on_header_value’ discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 12307 | __pyx_t_1 = ((struct __pyx_vtabstruct_7aiohttp_12_http_parser_HttpParser *)__pyx_v_pyparser->__pyx_vtab)->_on_header_value(__pyx_v_pyparser, __pyx_v_at, __pyx_v_length); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 681, __pyx_L3_error) | ^~~~~~~~~~ aiohttp/_http_parser.c:12307:148: note: expected ‘char *’ but argument is of type ‘const char *’ gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DHTTP_PARSER_STRICT=0 -I/nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/include/python3.9 -c vendor/http-parser/http_parser.c -o build/temp.linux-x86_64-3.9/vendor/http-parser/http_parser.o gcc -shared -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.11/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.6.0.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.4.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.2.5/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.20/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.36.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-6.3p08/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-1.1.1l/lib -L/nix/store/j6hq0a9knw0q8ajw4bd5q1k5gh4hixcv-tzdata-2021c/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.11/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.6.0.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.4.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.2.5/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.20/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.36.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-6.3p08/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-1.1.1l/lib -L/nix/store/j6hq0a9knw0q8ajw4bd5q1k5gh4hixcv-tzdata-2021c/lib build/temp.linux-x86_64-3.9/aiohttp/_find_header.o build/temp.linux-x86_64-3.9/aiohttp/_http_parser.o build/temp.linux-x86_64-3.9/vendor/http-parser/http_parser.o -L/nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib -o build/lib.linux-x86_64-3.9/aiohttp/_http_parser.cpython-39-x86_64-linux-gnu.so building 'aiohttp._frozenlist' extension gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/include/python3.9 -c aiohttp/_frozenlist.c -o build/temp.linux-x86_64-3.9/aiohttp/_frozenlist.o gcc -shared -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.11/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.6.0.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.4.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.2.5/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.20/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.36.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-6.3p08/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-1.1.1l/lib -L/nix/store/j6hq0a9knw0q8ajw4bd5q1k5gh4hixcv-tzdata-2021c/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.11/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.6.0.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.4.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.2.5/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.20/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.36.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-6.3p08/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-1.1.1l/lib -L/nix/store/j6hq0a9knw0q8ajw4bd5q1k5gh4hixcv-tzdata-2021c/lib build/temp.linux-x86_64-3.9/aiohttp/_frozenlist.o -L/nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib -o build/lib.linux-x86_64-3.9/aiohttp/_frozenlist.cpython-39-x86_64-linux-gnu.so building 'aiohttp._helpers' extension gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/include/python3.9 -c aiohttp/_helpers.c -o build/temp.linux-x86_64-3.9/aiohttp/_helpers.o gcc -shared -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.11/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.6.0.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.4.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.2.5/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.20/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.36.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-6.3p08/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-1.1.1l/lib -L/nix/store/j6hq0a9knw0q8ajw4bd5q1k5gh4hixcv-tzdata-2021c/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.11/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.6.0.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.4.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.2.5/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.20/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.36.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-6.3p08/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-1.1.1l/lib -L/nix/store/j6hq0a9knw0q8ajw4bd5q1k5gh4hixcv-tzdata-2021c/lib build/temp.linux-x86_64-3.9/aiohttp/_helpers.o -L/nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib -o build/lib.linux-x86_64-3.9/aiohttp/_helpers.cpython-39-x86_64-linux-gnu.so building 'aiohttp._http_writer' extension gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/include/python3.9 -c aiohttp/_http_writer.c -o build/temp.linux-x86_64-3.9/aiohttp/_http_writer.o gcc -shared -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.11/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.6.0.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.4.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.2.5/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.20/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.36.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-6.3p08/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-1.1.1l/lib -L/nix/store/j6hq0a9knw0q8ajw4bd5q1k5gh4hixcv-tzdata-2021c/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.11/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.6.0.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.4.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.2.5/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.20/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.36.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-6.3p08/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.2/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-1.1.1l/lib -L/nix/store/j6hq0a9knw0q8ajw4bd5q1k5gh4hixcv-tzdata-2021c/lib build/temp.linux-x86_64-3.9/aiohttp/_http_writer.o -L/nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib -o build/lib.linux-x86_64-3.9/aiohttp/_http_writer.cpython-39-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/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_http_writer.cpython-39-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_helpers.cpython-39-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_frozenlist.cpython-39-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_http_parser.cpython-39-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_websocket.cpython-39-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/aiohttp creating build/bdist.linux-x86_64/wheel/aiohttp/.hash copying build/lib.linux-x86_64-3.9/aiohttp/.hash/signals.pyi.hash -> build/bdist.linux-x86_64/wheel/aiohttp/.hash copying build/lib.linux-x86_64-3.9/aiohttp/.hash/hdrs.py.hash -> build/bdist.linux-x86_64/wheel/aiohttp/.hash copying build/lib.linux-x86_64-3.9/aiohttp/.hash/frozenlist.pyi.hash -> build/bdist.linux-x86_64/wheel/aiohttp/.hash copying build/lib.linux-x86_64-3.9/aiohttp/.hash/_websocket.pyx.hash -> build/bdist.linux-x86_64/wheel/aiohttp/.hash copying build/lib.linux-x86_64-3.9/aiohttp/.hash/_http_writer.pyx.hash -> build/bdist.linux-x86_64/wheel/aiohttp/.hash copying build/lib.linux-x86_64-3.9/aiohttp/.hash/_http_parser.pyx.hash -> build/bdist.linux-x86_64/wheel/aiohttp/.hash copying build/lib.linux-x86_64-3.9/aiohttp/.hash/_helpers.pyx.hash -> build/bdist.linux-x86_64/wheel/aiohttp/.hash copying build/lib.linux-x86_64-3.9/aiohttp/.hash/_helpers.pyi.hash -> build/bdist.linux-x86_64/wheel/aiohttp/.hash copying build/lib.linux-x86_64-3.9/aiohttp/.hash/_frozenlist.pyx.hash -> build/bdist.linux-x86_64/wheel/aiohttp/.hash copying build/lib.linux-x86_64-3.9/aiohttp/.hash/_find_header.pxd.hash -> build/bdist.linux-x86_64/wheel/aiohttp/.hash copying build/lib.linux-x86_64-3.9/aiohttp/.hash/_cparser.pxd.hash -> build/bdist.linux-x86_64/wheel/aiohttp/.hash copying build/lib.linux-x86_64-3.9/aiohttp/signals.pyi -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/py.typed -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/frozenlist.pyi -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_websocket.pyx -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_websocket.c -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_http_writer.pyx -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_http_writer.c -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_http_parser.pyx -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_http_parser.c -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_helpers.pyx -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_helpers.pyi -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_helpers.c -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_headers.pxi -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_frozenlist.pyx -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_frozenlist.c -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_find_header.pxd -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_find_header.h -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_find_header.c -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/_cparser.pxd -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/__init__.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/abc.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/base_protocol.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/client.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/client_exceptions.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/client_proto.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/client_reqrep.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/client_ws.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/connector.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/cookiejar.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/formdata.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/frozenlist.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/hdrs.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/helpers.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/http.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/http_exceptions.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/http_parser.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/http_websocket.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/http_writer.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/locks.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/log.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/multipart.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/payload.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/payload_streamer.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/pytest_plugin.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/resolver.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/signals.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/streams.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/tcp_helpers.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/test_utils.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/tracing.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/typedefs.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/web.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/web_app.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/web_exceptions.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/web_fileresponse.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/web_log.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/web_middlewares.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/web_protocol.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/web_request.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/web_response.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/web_routedef.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/web_runner.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/web_server.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/web_urldispatcher.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/web_ws.py -> build/bdist.linux-x86_64/wheel/aiohttp copying build/lib.linux-x86_64-3.9/aiohttp/worker.py -> build/bdist.linux-x86_64/wheel/aiohttp running install_egg_info Copying aiohttp.egg-info to build/bdist.linux-x86_64/wheel/aiohttp-3.7.4.post0-py3.9.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/aiohttp-3.7.4.post0.dist-info/WHEEL creating 'dist/aiohttp-3.7.4.post0-cp39-cp39-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'aiohttp/__init__.py' adding 'aiohttp/_cparser.pxd' adding 'aiohttp/_find_header.c' adding 'aiohttp/_find_header.h' adding 'aiohttp/_find_header.pxd' adding 'aiohttp/_frozenlist.c' adding 'aiohttp/_frozenlist.cpython-39-x86_64-linux-gnu.so' adding 'aiohttp/_frozenlist.pyx' adding 'aiohttp/_headers.pxi' adding 'aiohttp/_helpers.c' adding 'aiohttp/_helpers.cpython-39-x86_64-linux-gnu.so' adding 'aiohttp/_helpers.pyi' adding 'aiohttp/_helpers.pyx' adding 'aiohttp/_http_parser.c' adding 'aiohttp/_http_parser.cpython-39-x86_64-linux-gnu.so' adding 'aiohttp/_http_parser.pyx' adding 'aiohttp/_http_writer.c' adding 'aiohttp/_http_writer.cpython-39-x86_64-linux-gnu.so' adding 'aiohttp/_http_writer.pyx' adding 'aiohttp/_websocket.c' adding 'aiohttp/_websocket.cpython-39-x86_64-linux-gnu.so' adding 'aiohttp/_websocket.pyx' adding 'aiohttp/abc.py' adding 'aiohttp/base_protocol.py' adding 'aiohttp/client.py' adding 'aiohttp/client_exceptions.py' adding 'aiohttp/client_proto.py' adding 'aiohttp/client_reqrep.py' adding 'aiohttp/client_ws.py' adding 'aiohttp/connector.py' adding 'aiohttp/cookiejar.py' adding 'aiohttp/formdata.py' adding 'aiohttp/frozenlist.py' adding 'aiohttp/frozenlist.pyi' adding 'aiohttp/hdrs.py' adding 'aiohttp/helpers.py' adding 'aiohttp/http.py' adding 'aiohttp/http_exceptions.py' adding 'aiohttp/http_parser.py' adding 'aiohttp/http_websocket.py' adding 'aiohttp/http_writer.py' adding 'aiohttp/locks.py' adding 'aiohttp/log.py' adding 'aiohttp/multipart.py' adding 'aiohttp/payload.py' adding 'aiohttp/payload_streamer.py' adding 'aiohttp/py.typed' adding 'aiohttp/pytest_plugin.py' adding 'aiohttp/resolver.py' adding 'aiohttp/signals.py' adding 'aiohttp/signals.pyi' adding 'aiohttp/streams.py' adding 'aiohttp/tcp_helpers.py' adding 'aiohttp/test_utils.py' adding 'aiohttp/tracing.py' adding 'aiohttp/typedefs.py' adding 'aiohttp/web.py' adding 'aiohttp/web_app.py' adding 'aiohttp/web_exceptions.py' adding 'aiohttp/web_fileresponse.py' adding 'aiohttp/web_log.py' adding 'aiohttp/web_middlewares.py' adding 'aiohttp/web_protocol.py' adding 'aiohttp/web_request.py' adding 'aiohttp/web_response.py' adding 'aiohttp/web_routedef.py' adding 'aiohttp/web_runner.py' adding 'aiohttp/web_server.py' adding 'aiohttp/web_urldispatcher.py' adding 'aiohttp/web_ws.py' adding 'aiohttp/worker.py' adding 'aiohttp/.hash/_cparser.pxd.hash' adding 'aiohttp/.hash/_find_header.pxd.hash' adding 'aiohttp/.hash/_frozenlist.pyx.hash' adding 'aiohttp/.hash/_helpers.pyi.hash' adding 'aiohttp/.hash/_helpers.pyx.hash' adding 'aiohttp/.hash/_http_parser.pyx.hash' adding 'aiohttp/.hash/_http_writer.pyx.hash' adding 'aiohttp/.hash/_websocket.pyx.hash' adding 'aiohttp/.hash/frozenlist.pyi.hash' adding 'aiohttp/.hash/hdrs.py.hash' adding 'aiohttp/.hash/signals.pyi.hash' adding 'aiohttp-3.7.4.post0.dist-info/LICENSE.txt' adding 'aiohttp-3.7.4.post0.dist-info/METADATA' adding 'aiohttp-3.7.4.post0.dist-info/WHEEL' adding 'aiohttp-3.7.4.post0.dist-info/top_level.txt' adding 'aiohttp-3.7.4.post0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Finished executing setuptoolsBuildPhase @nix { "action": "setPhase", "phase": "installPhase" } installing Executing pipInstallPhase /build/aiohttp-3.7.4.post0/dist /build/aiohttp-3.7.4.post0 Processing ./aiohttp-3.7.4.post0-cp39-cp39-linux_x86_64.whl Requirement already satisfied: chardet<5.0,>=2.0 in /nix/store/r44pv12zmap9ariklq9plbyf4pk13sxl-python3.9-chardet-4.0.0/lib/python3.9/site-packages (from aiohttp==3.7.4.post0) (4.0.0) Requirement already satisfied: multidict<7.0,>=4.5 in /nix/store/fdvkz2jvqc8ra426yp3m74ynq71g13vz-python3.9-multidict-5.1.0/lib/python3.9/site-packages (from aiohttp==3.7.4.post0) (5.1.0) Requirement already satisfied: async-timeout<4.0,>=3.0 in /nix/store/y9miipmfdw1lw5gszgkdxfqn8qzbld8m-python3.9-async-timeout-3.0.1/lib/python3.9/site-packages (from aiohttp==3.7.4.post0) (3.0.1) Requirement already satisfied: typing-extensions>=3.6.5 in /nix/store/2ld62f5jqkrimsjhl1frb1d7ngbz5xfg-python3.9-typing_extensions-3.10.0.2/lib/python3.9/site-packages (from aiohttp==3.7.4.post0) (3.10.0.2) Requirement already satisfied: attrs>=17.3.0 in /nix/store/6icc5zkmpfa6zyp1kyazl852j2mb969c-python3.9-attrs-21.2.0/lib/python3.9/site-packages (from aiohttp==3.7.4.post0) (21.2.0) Requirement already satisfied: yarl<2.0,>=1.0 in /nix/store/x5xcb256wikwbh2p443ximbbdn9l7h2h-python3.9-yarl-1.6.3/lib/python3.9/site-packages (from aiohttp==3.7.4.post0) (1.6.3) Requirement already satisfied: idna>=2.0 in /nix/store/sa3dcdv25kzl1wb8f92q79k0dc781k6w-python3.9-idna-3.2/lib/python3.9/site-packages (from yarl<2.0,>=1.0->aiohttp==3.7.4.post0) (3.2) Installing collected packages: aiohttp Successfully installed aiohttp-3.7.4.post0 /build/aiohttp-3.7.4.post0 Finished executing pipInstallPhase @nix { "action": "setPhase", "phase": "fixupPhase" } post-installation fixup shrinking RPATHs of ELF executables and libraries in /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0 shrinking /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/_frozenlist.cpython-39-x86_64-linux-gnu.so shrinking /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/_helpers.cpython-39-x86_64-linux-gnu.so shrinking /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/_http_parser.cpython-39-x86_64-linux-gnu.so shrinking /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/_http_writer.cpython-39-x86_64-linux-gnu.so shrinking /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/_websocket.cpython-39-x86_64-linux-gnu.so strip is /nix/store/p8cwgxcxqqg57kr66f3m81p2fyalnjkk-binutils-2.35.1/bin/strip stripping (with command strip and flags -S) in /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib patching script interpreter paths in /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0 checking for references to /build/ in /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0... Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir @nix { "action": "setPhase", "phase": "installCheckPhase" } running install tests no Makefile or custom installCheckPhase, doing nothing @nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } pythonCatchConflictsPhase @nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } pythonRemoveBinBytecodePhase @nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } pythonImportsCheckPhase Executing pythonImportsCheckPhase @nix { "action": "setPhase", "phase": "pytestCheckPhase" } pytestCheckPhase Executing pytestCheckPhase ============================= test session starts ============================== platform linux -- Python 3.9.7, pytest-6.1.2, py-1.10.0, pluggy-1.0.0 -- /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/bin/python3.9 cachedir: .pytest_cache rootdir: /build/aiohttp-3.7.4.post0, configfile: setup.cfg plugins: mock-3.6.1 collecting ...  collecting 522 items  collecting 1357 items  collecting 2151 items  collected 2544 items / 1 deselected / 2543 selected  test_base_protocol.py::test_loop PASSED [ 0%] test_base_protocol.py::test_pause_writing PASSED [ 0%] test_base_protocol.py::test_resume_writing_no_waiters PASSED [ 0%] test_base_protocol.py::test_connection_made PASSED [ 0%] test_base_protocol.py::test_connection_lost_not_paused PASSED [ 0%] test_base_protocol.py::test_connection_lost_paused_without_waiter PASSED [ 0%] test_base_protocol.py::test_drain_lost PASSED [ 0%] test_base_protocol.py::test_drain_not_paused PASSED [ 0%] test_base_protocol.py::test_resume_drain_waited PASSED [ 0%] test_base_protocol.py::test_lost_drain_waited_ok PASSED [ 0%] test_base_protocol.py::test_lost_drain_waited_exception PASSED [ 0%] test_base_protocol.py::test_lost_drain_cancelled PASSED [ 0%] test_base_protocol.py::test_resume_drain_cancelled PASSED [ 0%] test_classbasedview.py::test_ctor PASSED [ 0%] test_classbasedview.py::test_render_ok PASSED [ 0%] test_classbasedview.py::test_render_unknown_method PASSED [ 0%] test_classbasedview.py::test_render_unsupported_method PASSED [ 0%] test_client_connection.py::test_ctor PASSED [ 0%] test_client_connection.py::test_callbacks_on_close PASSED [ 0%] test_client_connection.py::test_callbacks_on_release PASSED [ 0%] test_client_connection.py::test_callbacks_exception PASSED [ 0%] test_client_connection.py::test_del PASSED [ 0%] test_client_connection.py::test_close PASSED [ 0%] test_client_connection.py::test_release PASSED [ 0%] test_client_connection.py::test_release_proto_should_close PASSED [ 0%] test_client_connection.py::test_release_released PASSED [ 1%] test_client_exceptions.py::TestClientResponseError::test_default_status PASSED [ 1%] test_client_exceptions.py::TestClientResponseError::test_status PASSED [ 1%] test_client_exceptions.py::TestClientResponseError::test_pickle PASSED [ 1%] test_client_exceptions.py::TestClientResponseError::test_repr PASSED [ 1%] test_client_exceptions.py::TestClientResponseError::test_str PASSED [ 1%] test_client_exceptions.py::test_response_status PASSED [ 1%] test_client_exceptions.py::test_response_deprecated_code_property PASSED [ 1%] test_client_exceptions.py::test_response_both_code_and_status PASSED [ 1%] test_client_exceptions.py::TestClientConnectorError::test_ctor PASSED [ 1%] test_client_exceptions.py::TestClientConnectorError::test_pickle PASSED [ 1%] test_client_exceptions.py::TestClientConnectorError::test_repr PASSED [ 1%] test_client_exceptions.py::TestClientConnectorError::test_str PASSED [ 1%] test_client_exceptions.py::TestClientConnectorCertificateError::test_ctor PASSED [ 1%] test_client_exceptions.py::TestClientConnectorCertificateError::test_pickle PASSED [ 1%] test_client_exceptions.py::TestClientConnectorCertificateError::test_repr PASSED [ 1%] test_client_exceptions.py::TestClientConnectorCertificateError::test_str PASSED [ 1%] test_client_exceptions.py::TestServerDisconnectedError::test_ctor PASSED [ 1%] test_client_exceptions.py::TestServerDisconnectedError::test_pickle PASSED [ 1%] test_client_exceptions.py::TestServerDisconnectedError::test_repr PASSED [ 1%] test_client_exceptions.py::TestServerDisconnectedError::test_str PASSED [ 1%] test_client_exceptions.py::TestServerFingerprintMismatch::test_ctor PASSED [ 1%] test_client_exceptions.py::TestServerFingerprintMismatch::test_pickle PASSED [ 1%] test_client_exceptions.py::TestServerFingerprintMismatch::test_repr PASSED [ 1%] test_client_exceptions.py::TestInvalidURL::test_ctor PASSED [ 1%] test_client_exceptions.py::TestInvalidURL::test_pickle PASSED [ 2%] test_client_exceptions.py::TestInvalidURL::test_repr PASSED [ 2%] test_client_exceptions.py::TestInvalidURL::test_str PASSED [ 2%] test_client_fingerprint.py::test_fingerprint_sha256 PASSED [ 2%] test_client_fingerprint.py::test_fingerprint_sha1 PASSED [ 2%] test_client_fingerprint.py::test_fingerprint_md5 PASSED [ 2%] test_client_fingerprint.py::test_fingerprint_check_no_ssl PASSED [ 2%] test_client_fingerprint.py::test__merge_ssl_params_verify_ssl PASSED [ 2%] test_client_fingerprint.py::test__merge_ssl_params_verify_ssl_conflict PASSED [ 2%] test_client_fingerprint.py::test__merge_ssl_params_ssl_context PASSED [ 2%] test_client_fingerprint.py::test__merge_ssl_params_ssl_context_conflict PASSED [ 2%] test_client_fingerprint.py::test__merge_ssl_params_fingerprint PASSED [ 2%] test_client_fingerprint.py::test__merge_ssl_params_fingerprint_conflict PASSED [ 2%] test_client_fingerprint.py::test__merge_ssl_params_ssl PASSED [ 2%] test_client_fingerprint.py::test__merge_ssl_params_invlid PASSED [ 2%] test_client_functional.py::test_keepalive_two_requests_success[pyloop] FAILED [ 2%] test_client_functional.py::test_keepalive_after_head_requests_success[pyloop] FAILED [ 2%] test_client_functional.py::test_keepalive_response_released[pyloop] FAILED [ 2%] test_client_functional.py::test_keepalive_server_force_close_connection[pyloop] FAILED [ 2%] test_client_functional.py::test_release_early[pyloop] FAILED [ 2%] test_client_functional.py::test_HTTP_304[pyloop] FAILED [ 2%] test_client_functional.py::test_HTTP_304_WITH_BODY[pyloop] FAILED [ 2%] test_client_functional.py::test_auto_header_user_agent[pyloop] FAILED [ 2%] test_client_functional.py::test_skip_auto_headers_user_agent[pyloop] FAILED [ 2%] test_client_functional.py::test_skip_default_auto_headers_user_agent[pyloop] FAILED [ 2%] test_client_functional.py::test_skip_auto_headers_content_type[pyloop] FAILED [ 2%] test_client_functional.py::test_post_data_bytesio[pyloop] FAILED [ 3%] test_client_functional.py::test_post_data_with_bytesio_file[pyloop] FAILED [ 3%] test_client_functional.py::test_post_data_stringio[pyloop] FAILED [ 3%] test_client_functional.py::test_post_data_textio_encoding[pyloop] FAILED [ 3%] test_client_functional.py::test_ssl_client[pyloop] FAILED [ 3%] test_client_functional.py::test_tcp_connector_fingerprint_ok[pyloop] FAILED [ 3%] test_client_functional.py::test_tcp_connector_fingerprint_fail[pyloop] FAILED [ 3%] test_client_functional.py::test_format_task_get[pyloop] FAILED [ 3%] test_client_functional.py::test_str_params[pyloop] FAILED [ 3%] test_client_functional.py::test_drop_params_on_redirect[pyloop] FAILED [ 3%] test_client_functional.py::test_drop_fragment_on_redirect[pyloop] FAILED [ 3%] test_client_functional.py::test_drop_fragment[pyloop] FAILED [ 3%] test_client_functional.py::test_history[pyloop] FAILED [ 3%] test_client_functional.py::test_keepalive_closed_by_server[pyloop] FAILED [ 3%] test_client_functional.py::test_wait_for[pyloop] FAILED [ 3%] test_client_functional.py::test_raw_headers[pyloop] FAILED [ 3%] test_client_functional.py::test_host_header_first[pyloop] FAILED [ 3%] test_client_functional.py::test_empty_header_values[pyloop] FAILED [ 3%] test_client_functional.py::test_204_with_gzipped_content_encoding[pyloop] FAILED [ 3%] test_client_functional.py::test_timeout_on_reading_headers[pyloop] FAILED [ 3%] test_client_functional.py::test_timeout_on_conn_reading_headers[pyloop] FAILED [ 3%] test_client_functional.py::test_timeout_on_session_read_timeout[pyloop] FAILED [ 3%] test_client_functional.py::test_read_timeout_between_chunks[pyloop] FAILED [ 3%] test_client_functional.py::test_read_timeout_on_reading_chunks[pyloop] FAILED [ 3%] test_client_functional.py::test_timeout_on_reading_data[pyloop] FAILED [ 3%] test_client_functional.py::test_timeout_none[pyloop] FAILED [ 4%] test_client_functional.py::test_readline_error_on_conn_close[pyloop] FAILED [ 4%] test_client_functional.py::test_no_error_on_conn_close_if_eof[pyloop] FAILED [ 4%] test_client_functional.py::test_error_not_overwrote_on_conn_close[pyloop] FAILED [ 4%] test_client_functional.py::test_HTTP_200_OK_METHOD[pyloop] FAILED [ 4%] test_client_functional.py::test_HTTP_200_OK_METHOD_connector[pyloop] FAILED [ 4%] test_client_functional.py::test_HTTP_302_REDIRECT_GET[pyloop] FAILED [ 4%] test_client_functional.py::test_HTTP_302_REDIRECT_HEAD[pyloop] FAILED [ 4%] test_client_functional.py::test_HTTP_302_REDIRECT_NON_HTTP[pyloop] FAILED [ 4%] test_client_functional.py::test_HTTP_302_REDIRECT_POST[pyloop] FAILED [ 4%] test_client_functional.py::test_HTTP_302_REDIRECT_POST_with_content_length_hdr[pyloop] FAILED [ 4%] test_client_functional.py::test_HTTP_307_REDIRECT_POST[pyloop] FAILED [ 4%] test_client_functional.py::test_HTTP_308_PERMANENT_REDIRECT_POST[pyloop] FAILED [ 4%] test_client_functional.py::test_HTTP_302_max_redirects[pyloop] FAILED [ 4%] test_client_functional.py::test_HTTP_200_GET_WITH_PARAMS[pyloop] FAILED [ 4%] test_client_functional.py::test_HTTP_200_GET_WITH_MultiDict_PARAMS[pyloop] FAILED [ 4%] test_client_functional.py::test_HTTP_200_GET_WITH_MIXED_PARAMS[pyloop] FAILED [ 4%] test_client_functional.py::test_POST_DATA[pyloop] FAILED [ 4%] test_client_functional.py::test_POST_DATA_with_explicit_formdata[pyloop] FAILED [ 4%] test_client_functional.py::test_POST_DATA_with_charset[pyloop] FAILED [ 4%] test_client_functional.py::test_POST_DATA_formdats_with_charset[pyloop] FAILED [ 4%] test_client_functional.py::test_POST_DATA_with_charset_post[pyloop] FAILED [ 4%] test_client_functional.py::test_POST_DATA_with_context_transfer_encoding[pyloop] FAILED [ 4%] test_client_functional.py::test_POST_DATA_with_content_type_context_transfer_encoding[pyloop] FAILED [ 4%] test_client_functional.py::test_POST_MultiDict[pyloop] FAILED [ 4%] test_client_functional.py::test_POST_DATA_DEFLATE[pyloop] FAILED [ 4%] test_client_functional.py::test_POST_FILES[pyloop] FAILED [ 5%] test_client_functional.py::test_POST_FILES_DEFLATE[pyloop] FAILED [ 5%] test_client_functional.py::test_POST_bytes[pyloop] FAILED [ 5%] test_client_functional.py::test_POST_bytes_too_large[pyloop] FAILED [ 5%] test_client_functional.py::test_POST_FILES_STR[pyloop] FAILED [ 5%] test_client_functional.py::test_POST_FILES_STR_SIMPLE[pyloop] FAILED [ 5%] test_client_functional.py::test_POST_FILES_LIST[pyloop] FAILED [ 5%] test_client_functional.py::test_POST_FILES_CT[pyloop] FAILED [ 5%] test_client_functional.py::test_POST_FILES_SINGLE[pyloop] FAILED [ 5%] test_client_functional.py::test_POST_FILES_SINGLE_content_disposition[pyloop] FAILED [ 5%] test_client_functional.py::test_POST_FILES_SINGLE_BINARY[pyloop] FAILED [ 5%] test_client_functional.py::test_POST_FILES_IO[pyloop] FAILED [ 5%] test_client_functional.py::test_POST_FILES_IO_WITH_PARAMS[pyloop] FAILED [ 5%] test_client_functional.py::test_POST_FILES_WITH_DATA[pyloop] FAILED [ 5%] test_client_functional.py::test_POST_STREAM_DATA[pyloop] FAILED [ 5%] test_client_functional.py::test_POST_STREAM_DATA_no_params[pyloop] FAILED [ 5%] test_client_functional.py::test_json[pyloop] FAILED [ 5%] test_client_functional.py::test_json_custom[pyloop] FAILED [ 5%] test_client_functional.py::test_expect_continue[pyloop] FAILED [ 5%] test_client_functional.py::test_encoding_deflate[pyloop] FAILED [ 5%] test_client_functional.py::test_encoding_deflate_nochunk[pyloop] FAILED [ 5%] test_client_functional.py::test_encoding_gzip[pyloop] FAILED [ 5%] test_client_functional.py::test_encoding_gzip_write_by_chunks[pyloop] FAILED [ 5%] test_client_functional.py::test_encoding_gzip_nochunk[pyloop] FAILED [ 5%] test_client_functional.py::test_bad_payload_compression[pyloop] FAILED [ 5%] test_client_functional.py::test_bad_payload_chunked_encoding[pyloop] FAILED [ 6%] test_client_functional.py::test_bad_payload_content_length[pyloop] FAILED [ 6%] test_client_functional.py::test_payload_content_length_by_chunks[pyloop] FAILED [ 6%] test_client_functional.py::test_chunked[pyloop] FAILED [ 6%] test_client_functional.py::test_shortcuts[pyloop] FAILED [ 6%] test_client_functional.py::test_cookies[pyloop] FAILED [ 6%] test_client_functional.py::test_cookies_per_request[pyloop] FAILED [ 6%] test_client_functional.py::test_cookies_redirect[pyloop] FAILED [ 6%] test_client_functional.py::test_cookies_on_empty_session_jar[pyloop] FAILED [ 6%] test_client_functional.py::test_morsel_with_attributes[pyloop] FAILED [ 6%] test_client_functional.py::test_set_cookies[pyloop] FAILED [ 6%] test_client_functional.py::test_set_cookies_expired[pyloop] FAILED [ 6%] test_client_functional.py::test_set_cookies_max_age[pyloop] FAILED [ 6%] test_client_functional.py::test_set_cookies_max_age_overflow[pyloop] FAILED [ 6%] test_client_functional.py::test_request_conn_error PASSED [ 6%] test_client_functional.py::test_broken_connection[pyloop] XFAIL [ 6%] test_client_functional.py::test_broken_connection_2[pyloop] FAILED [ 6%] test_client_functional.py::test_custom_headers[pyloop] FAILED [ 6%] test_client_functional.py::test_redirect_to_absolute_url[pyloop] FAILED [ 6%] test_client_functional.py::test_redirect_without_location_header[pyloop] FAILED [ 6%] test_client_functional.py::test_chunked_deprecated[pyloop] FAILED [ 6%] test_client_functional.py::test_ok_from_status[pyloop-200-True] FAILED [ 6%] test_client_functional.py::test_ok_from_status[pyloop-201-True] FAILED [ 6%] test_client_functional.py::test_ok_from_status[pyloop-301-True] FAILED [ 6%] test_client_functional.py::test_ok_from_status[pyloop-400-False] FAILED [ 6%] test_client_functional.py::test_ok_from_status[pyloop-403-False] FAILED [ 6%] test_client_functional.py::test_ok_from_status[pyloop-500-False] FAILED [ 7%] test_client_functional.py::test_raise_for_status[pyloop] FAILED [ 7%] test_client_functional.py::test_raise_for_status_per_request[pyloop] FAILED [ 7%] test_client_functional.py::test_raise_for_status_disable_per_request[pyloop] FAILED [ 7%] test_client_functional.py::test_request_raise_for_status_default[pyloop] FAILED [ 7%] test_client_functional.py::test_request_raise_for_status_disabled[pyloop] FAILED [ 7%] test_client_functional.py::test_request_raise_for_status_enabled[pyloop] FAILED [ 7%] test_client_functional.py::test_invalid_idna PASSED [ 7%] test_client_functional.py::test_creds_in_auth_and_url PASSED [ 7%] test_client_functional.py::test_drop_auth_on_redirect_to_other_host[pyloop] FAILED [ 7%] test_client_functional.py::test_async_with_session PASSED [ 7%] test_client_functional.py::test_session_close_awaitable PASSED [ 7%] test_client_functional.py::test_close_run_until_complete_not_deprecated PASSED [ 7%] test_client_functional.py::test_close_resp_on_error_async_with_session[pyloop] FAILED [ 7%] test_client_functional.py::test_release_resp_on_normal_exit_from_cm[pyloop] FAILED [ 7%] test_client_functional.py::test_non_close_detached_session_on_error_cm[pyloop] FAILED [ 7%] test_client_functional.py::test_close_detached_session_on_non_existing_addr PASSED [ 7%] test_client_functional.py::test_aiohttp_request_context_manager[pyloop] FAILED [ 7%] test_client_functional.py::test_aiohttp_request_ctx_manager_close_sess_on_error[pyloop] FAILED [ 7%] test_client_functional.py::test_aiohttp_request_ctx_manager_not_found PASSED [ 7%] test_client_functional.py::test_aiohttp_request_coroutine[pyloop] FAILED [ 7%] test_client_functional.py::test_yield_from_in_session_request[pyloop] FAILED [ 7%] test_client_functional.py::test_close_context_manager[pyloop] FAILED [ 7%] test_client_functional.py::test_session_auth[pyloop] FAILED [ 7%] test_client_functional.py::test_session_auth_override[pyloop] FAILED [ 7%] test_client_functional.py::test_session_auth_header_conflict[pyloop] FAILED [ 8%] test_client_functional.py::test_session_headers[pyloop] FAILED [ 8%] test_client_functional.py::test_session_headers_merge[pyloop] FAILED [ 8%] test_client_functional.py::test_multidict_headers[pyloop] FAILED [ 8%] test_client_functional.py::test_request_conn_closed[pyloop] FAILED [ 8%] test_client_functional.py::test_dont_close_explicit_connector[pyloop] FAILED [ 8%] test_client_functional.py::test_server_close_keepalive_connection FAILED [ 8%] test_client_functional.py::test_handle_keepalive_on_closed_connection FAILED [ 8%] test_client_functional.py::test_error_in_performing_request[pyloop] FAILED [ 8%] test_client_functional.py::test_await_after_cancelling[pyloop] FAILED [ 8%] test_client_functional.py::test_async_payload_generator[pyloop] FAILED [ 8%] test_client_functional.py::test_read_from_closed_response[pyloop] FAILED [ 8%] test_client_functional.py::test_read_from_closed_response2[pyloop] FAILED [ 8%] test_client_functional.py::test_read_from_closed_content[pyloop] FAILED [ 8%] test_client_functional.py::test_read_timeout[pyloop] FAILED [ 8%] test_client_functional.py::test_read_timeout_on_prepared_response[pyloop] FAILED [ 8%] test_client_functional.py::test_read_bufsize_session_default[pyloop] FAILED [ 8%] test_client_functional.py::test_read_bufsize_explicit[pyloop] FAILED [ 8%] test_client_proto.py::test_oserror[pyloop] PASSED [ 8%] test_client_proto.py::test_pause_resume_on_error[pyloop] PASSED [ 8%] test_client_proto.py::test_client_proto_bad_message[pyloop] PASSED [ 8%] test_client_proto.py::test_uncompleted_message[pyloop] PASSED [ 8%] test_client_proto.py::test_client_protocol_readuntil_eof[pyloop] PASSED [ 8%] test_client_proto.py::test_empty_data[pyloop] PASSED [ 8%] test_client_proto.py::test_schedule_timeout[pyloop] PASSED [ 8%] test_client_proto.py::test_drop_timeout[pyloop] PASSED [ 9%] test_client_proto.py::test_reschedule_timeout[pyloop] PASSED [ 9%] test_client_proto.py::test_eof_received[pyloop] PASSED [ 9%] test_client_request.py::test_method1[pyloop] PASSED [ 9%] test_client_request.py::test_method2[pyloop] PASSED [ 9%] test_client_request.py::test_method3[pyloop] PASSED [ 9%] test_client_request.py::test_version_1_0[pyloop] PASSED [ 9%] test_client_request.py::test_version_default[pyloop] PASSED [ 9%] test_client_request.py::test_request_info[pyloop] PASSED [ 9%] test_client_request.py::test_request_info_with_fragment[pyloop] PASSED [ 9%] test_client_request.py::test_version_err[pyloop] PASSED [ 9%] test_client_request.py::test_https_proxy[pyloop] PASSED [ 9%] test_client_request.py::test_keep_alive[pyloop] PASSED [ 9%] test_client_request.py::test_host_port_default_http[pyloop] PASSED [ 9%] test_client_request.py::test_host_port_default_https[pyloop] PASSED [ 9%] test_client_request.py::test_host_port_nondefault_http[pyloop] PASSED [ 9%] test_client_request.py::test_host_port_nondefault_https[pyloop] PASSED [ 9%] test_client_request.py::test_host_port_default_ws[pyloop] PASSED [ 9%] test_client_request.py::test_host_port_default_wss[pyloop] PASSED [ 9%] test_client_request.py::test_host_port_nondefault_ws[pyloop] PASSED [ 9%] test_client_request.py::test_host_port_nondefault_wss[pyloop] PASSED [ 9%] test_client_request.py::test_host_port_none_port[pyloop] PASSED [ 9%] test_client_request.py::test_host_port_err[pyloop] PASSED [ 9%] test_client_request.py::test_hostname_err[pyloop] PASSED [ 9%] test_client_request.py::test_host_header_host_first[pyloop] PASSED [ 9%] test_client_request.py::test_host_header_host_without_port[pyloop] PASSED [ 9%] test_client_request.py::test_host_header_host_with_default_port[pyloop] PASSED [ 10%] test_client_request.py::test_host_header_host_with_nondefault_port[pyloop] PASSED [ 10%] test_client_request.py::test_host_header_host_idna_encode[pyloop] PASSED [ 10%] test_client_request.py::test_host_header_host_unicode[pyloop] PASSED [ 10%] test_client_request.py::test_host_header_explicit_host[pyloop] PASSED [ 10%] test_client_request.py::test_host_header_explicit_host_with_port[pyloop] PASSED [ 10%] test_client_request.py::test_host_header_ipv4[pyloop] PASSED [ 10%] test_client_request.py::test_host_header_ipv6[pyloop] PASSED [ 10%] test_client_request.py::test_host_header_ipv4_with_port[pyloop] PASSED [ 10%] test_client_request.py::test_host_header_ipv6_with_port[pyloop] PASSED [ 10%] test_client_request.py::test_default_loop[pyloop] PASSED [ 10%] test_client_request.py::test_default_headers_useragent[pyloop] PASSED [ 10%] test_client_request.py::test_default_headers_useragent_custom[pyloop] PASSED [ 10%] test_client_request.py::test_skip_default_useragent_header[pyloop] PASSED [ 10%] test_client_request.py::test_headers[pyloop] PASSED [ 10%] test_client_request.py::test_headers_list[pyloop] PASSED [ 10%] test_client_request.py::test_headers_default[pyloop] PASSED [ 10%] test_client_request.py::test_invalid_url[pyloop] PASSED [ 10%] test_client_request.py::test_no_path[pyloop] PASSED [ 10%] test_client_request.py::test_ipv6_default_http_port[pyloop] PASSED [ 10%] test_client_request.py::test_ipv6_default_https_port[pyloop] PASSED [ 10%] test_client_request.py::test_ipv6_nondefault_http_port[pyloop] PASSED [ 10%] test_client_request.py::test_ipv6_nondefault_https_port[pyloop] PASSED [ 10%] test_client_request.py::test_basic_auth[pyloop] PASSED [ 10%] test_client_request.py::test_basic_auth_utf8[pyloop] PASSED [ 10%] test_client_request.py::test_basic_auth_tuple_forbidden[pyloop] PASSED [ 11%] test_client_request.py::test_basic_auth_from_url[pyloop] PASSED [ 11%] test_client_request.py::test_basic_auth_from_url_overridden[pyloop] PASSED [ 11%] test_client_request.py::test_path_is_not_double_encoded1[pyloop] PASSED [ 11%] test_client_request.py::test_path_is_not_double_encoded2[pyloop] PASSED [ 11%] test_client_request.py::test_path_is_not_double_encoded3[pyloop] PASSED [ 11%] test_client_request.py::test_path_safe_chars_preserved[pyloop] PASSED [ 11%] test_client_request.py::test_params_are_added_before_fragment1[pyloop] PASSED [ 11%] test_client_request.py::test_params_are_added_before_fragment2[pyloop] PASSED [ 11%] test_client_request.py::test_path_not_contain_fragment1[pyloop] PASSED [ 11%] test_client_request.py::test_path_not_contain_fragment2[pyloop] PASSED [ 11%] test_client_request.py::test_cookies[pyloop] PASSED [ 11%] test_client_request.py::test_cookies_is_quoted_with_special_characters[pyloop] PASSED [ 11%] test_client_request.py::test_cookies_merge_with_headers[pyloop] PASSED [ 11%] test_client_request.py::test_unicode_get1[pyloop] PASSED [ 11%] test_client_request.py::test_unicode_get2[pyloop] PASSED [ 11%] test_client_request.py::test_unicode_get3[pyloop] PASSED [ 11%] test_client_request.py::test_unicode_get4[pyloop] PASSED [ 11%] test_client_request.py::test_query_multivalued_param[pyloop] PASSED [ 11%] test_client_request.py::test_query_str_param[pyloop] PASSED [ 11%] test_client_request.py::test_query_bytes_param_raises[pyloop] PASSED [ 11%] test_client_request.py::test_query_str_param_is_not_encoded[pyloop] PASSED [ 11%] test_client_request.py::test_params_update_path_and_url[pyloop] PASSED [ 11%] test_client_request.py::test_params_empty_path_and_url[pyloop] PASSED [ 11%] test_client_request.py::test_gen_netloc_all[pyloop] PASSED [ 11%] test_client_request.py::test_gen_netloc_no_port[pyloop] PASSED [ 11%] test_client_request.py::test_connection_header[pyloop] PASSED [ 12%] test_client_request.py::test_no_content_length[pyloop] PASSED [ 12%] test_client_request.py::test_no_content_length_head[pyloop] PASSED [ 12%] test_client_request.py::test_content_type_auto_header_get[pyloop] PASSED [ 12%] test_client_request.py::test_content_type_auto_header_form[pyloop] PASSED [ 12%] test_client_request.py::test_content_type_auto_header_bytes[pyloop] PASSED [ 12%] test_client_request.py::test_content_type_skip_auto_header_bytes[pyloop] PASSED [ 12%] test_client_request.py::test_content_type_skip_auto_header_form[pyloop] PASSED [ 12%] test_client_request.py::test_content_type_auto_header_content_length_no_skip[pyloop] PASSED [ 12%] test_client_request.py::test_urlencoded_formdata_charset[pyloop] PASSED [ 12%] test_client_request.py::test_post_data[pyloop] PASSED [ 12%] test_client_request.py::test_pass_falsy_data[pyloop] PASSED [ 12%] test_client_request.py::test_pass_falsy_data_file[pyloop] PASSED [ 12%] test_client_request.py::test_get_with_data[pyloop] PASSED [ 12%] test_client_request.py::test_bytes_data[pyloop] PASSED [ 12%] test_client_request.py::test_content_encoding[pyloop] PASSED [ 12%] test_client_request.py::test_content_encoding_dont_set_headers_if_no_body[pyloop] PASSED [ 12%] test_client_request.py::test_content_encoding_header[pyloop] PASSED [ 12%] test_client_request.py::test_compress_and_content_encoding[pyloop] PASSED [ 12%] test_client_request.py::test_chunked[pyloop] PASSED [ 12%] test_client_request.py::test_chunked2[pyloop] PASSED [ 12%] test_client_request.py::test_chunked_explicit[pyloop] PASSED [ 12%] test_client_request.py::test_chunked_length[pyloop] PASSED [ 12%] test_client_request.py::test_chunked_transfer_encoding[pyloop] PASSED [ 12%] test_client_request.py::test_file_upload_not_chunked[pyloop] PASSED [ 12%] test_client_request.py::test_precompressed_data_stays_intact[pyloop] PASSED [ 13%] test_client_request.py::test_file_upload_not_chunked_seek[pyloop] PASSED [ 13%] test_client_request.py::test_file_upload_force_chunked[pyloop] PASSED [ 13%] test_client_request.py::test_expect100[pyloop] PASSED [ 13%] test_client_request.py::test_expect_100_continue_header[pyloop] PASSED [ 13%] test_client_request.py::test_data_stream[pyloop] PASSED [ 13%] test_client_request.py::test_data_stream_deprecated[pyloop] PASSED [ 13%] test_client_request.py::test_data_file[pyloop] PASSED [ 13%] test_client_request.py::test_data_stream_exc[pyloop] PASSED [ 13%] test_client_request.py::test_data_stream_exc_chain[pyloop] PASSED [ 13%] test_client_request.py::test_data_stream_continue[pyloop] PASSED [ 13%] test_client_request.py::test_data_continue[pyloop] PASSED [ 13%] test_client_request.py::test_close[pyloop] PASSED [ 13%] test_client_request.py::test_custom_response_class[pyloop] PASSED [ 13%] test_client_request.py::test_oserror_on_write_bytes[pyloop] PASSED [ 13%] test_client_request.py::test_terminate[pyloop] PASSED [ 13%] test_client_request.py::test_terminate_with_closed_loop[pyloop] PASSED [ 13%] test_client_request.py::test_terminate_without_writer[pyloop] PASSED [ 13%] test_client_request.py::test_custom_req_rep[pyloop] PASSED [ 13%] test_client_request.py::test_verify_ssl_false_with_ssl_context[pyloop] PASSED [ 13%] test_client_request.py::test_bad_fingerprint[pyloop] PASSED [ 13%] test_client_request.py::test_insecure_fingerprint_md5[pyloop] PASSED [ 13%] test_client_request.py::test_insecure_fingerprint_sha1[pyloop] PASSED [ 13%] test_client_request.py::test_loose_cookies_types[pyloop] PASSED [ 13%] test_client_response.py::test_http_processing_error PASSED [ 13%] test_client_response.py::test_del PASSED [ 13%] test_client_response.py::test_close[pyloop] PASSED [ 14%] test_client_response.py::test_wait_for_100_1[pyloop] PASSED [ 14%] test_client_response.py::test_wait_for_100_2[pyloop] PASSED [ 14%] test_client_response.py::test_repr[pyloop] PASSED [ 14%] test_client_response.py::test_repr_non_ascii_url PASSED [ 14%] test_client_response.py::test_repr_non_ascii_reason PASSED [ 14%] test_client_response.py::test_url_obj_deprecated PASSED [ 14%] test_client_response.py::test_read_and_release_connection[pyloop] PASSED [ 14%] test_client_response.py::test_read_and_release_connection_with_error[pyloop] PASSED [ 14%] test_client_response.py::test_release[pyloop] PASSED [ 14%] test_client_response.py::test_release_on_del[pyloop] PASSED [ 14%] test_client_response.py::test_response_eof[pyloop] PASSED [ 14%] test_client_response.py::test_response_eof_upgraded[pyloop] PASSED [ 14%] test_client_response.py::test_response_eof_after_connection_detach[pyloop] PASSED [ 14%] test_client_response.py::test_text[pyloop] PASSED [ 14%] test_client_response.py::test_text_bad_encoding[pyloop] PASSED [ 14%] test_client_response.py::test_text_custom_encoding[pyloop] PASSED [ 14%] test_client_response.py::test_text_detect_encoding[pyloop] PASSED [ 14%] test_client_response.py::test_text_detect_encoding_if_invalid_charset[pyloop] PASSED [ 14%] test_client_response.py::test_get_encoding_body_none[pyloop] PASSED [ 14%] test_client_response.py::test_text_after_read[pyloop] PASSED [ 14%] test_client_response.py::test_json[pyloop] PASSED [ 14%] test_client_response.py::test_json_extended_content_type[pyloop] PASSED [ 14%] test_client_response.py::test_json_custom_content_type[pyloop] PASSED [ 14%] test_client_response.py::test_json_custom_loader[pyloop] PASSED [ 14%] test_client_response.py::test_json_invalid_content_type[pyloop] PASSED [ 15%] test_client_response.py::test_json_no_content[pyloop] PASSED [ 15%] test_client_response.py::test_json_override_encoding[pyloop] PASSED [ 15%] test_client_response.py::test_get_encoding_unknown[pyloop] PASSED [ 15%] test_client_response.py::test_raise_for_status_2xx PASSED [ 15%] test_client_response.py::test_raise_for_status_4xx PASSED [ 15%] test_client_response.py::test_raise_for_status_4xx_without_reason PASSED [ 15%] test_client_response.py::test_resp_host PASSED [ 15%] test_client_response.py::test_content_type PASSED [ 15%] test_client_response.py::test_content_type_no_header PASSED [ 15%] test_client_response.py::test_charset PASSED [ 15%] test_client_response.py::test_charset_no_header PASSED [ 15%] test_client_response.py::test_charset_no_charset PASSED [ 15%] test_client_response.py::test_content_disposition_full PASSED [ 15%] test_client_response.py::test_content_disposition_no_parameters PASSED [ 15%] test_client_response.py::test_content_disposition_no_header PASSED [ 15%] test_client_response.py::test_response_request_info PASSED [ 15%] test_client_response.py::test_request_info_in_exception PASSED [ 15%] test_client_response.py::test_no_redirect_history_in_exception PASSED [ 15%] test_client_response.py::test_redirect_history_in_exception PASSED [ 15%] test_client_response.py::test_response_read_triggers_callback[pyloop] PASSED [ 15%] test_client_response.py::test_response_real_url[pyloop] PASSED [ 15%] test_client_response.py::test_response_links_comma_separated[pyloop] PASSED [ 15%] test_client_response.py::test_response_links_multiple_headers[pyloop] PASSED [ 15%] test_client_response.py::test_response_links_no_rel[pyloop] PASSED [ 15%] test_client_response.py::test_response_links_quoted[pyloop] PASSED [ 16%] test_client_response.py::test_response_links_relative[pyloop] PASSED [ 16%] test_client_response.py::test_response_links_empty[pyloop] PASSED [ 16%] test_client_session.py::test_close_coro[pyloop] PASSED [ 16%] test_client_session.py::test_init_headers_simple_dict[pyloop] PASSED [ 16%] test_client_session.py::test_init_headers_list_of_tuples[pyloop] PASSED [ 16%] test_client_session.py::test_init_headers_MultiDict[pyloop] PASSED [ 16%] test_client_session.py::test_init_headers_list_of_tuples_with_duplicates[pyloop] PASSED [ 16%] test_client_session.py::test_init_cookies_with_simple_dict[pyloop] PASSED [ 16%] test_client_session.py::test_init_cookies_with_list_of_tuples[pyloop] PASSED [ 16%] test_client_session.py::test_merge_headers[pyloop] PASSED [ 16%] test_client_session.py::test_merge_headers_with_multi_dict[pyloop] PASSED [ 16%] test_client_session.py::test_merge_headers_with_list_of_tuples[pyloop] PASSED [ 16%] test_client_session.py::test_merge_headers_with_list_of_tuples_duplicated_names[pyloop] PASSED [ 16%] test_client_session.py::test_http_GET[pyloop] PASSED [ 16%] test_client_session.py::test_http_OPTIONS[pyloop] PASSED [ 16%] test_client_session.py::test_http_HEAD[pyloop] PASSED [ 16%] test_client_session.py::test_http_POST[pyloop] PASSED [ 16%] test_client_session.py::test_http_PUT[pyloop] PASSED [ 16%] test_client_session.py::test_http_PATCH[pyloop] PASSED [ 16%] test_client_session.py::test_http_DELETE[pyloop] PASSED [ 16%] test_client_session.py::test_close[pyloop] PASSED [ 16%] test_client_session.py::test_closed[pyloop] PASSED [ 16%] test_client_session.py::test_connector[pyloop] PASSED [ 16%] test_client_session.py::test_create_connector[pyloop] PASSED [ 16%] test_client_session.py::test_connector_loop[pyloop] PASSED [ 16%] test_client_session.py::test_detach[pyloop] PASSED [ 17%] test_client_session.py::test_request_closed_session[pyloop] PASSED [ 17%] test_client_session.py::test_close_flag_for_closed_connector[pyloop] PASSED [ 17%] test_client_session.py::test_double_close[pyloop] PASSED [ 17%] test_client_session.py::test_del[pyloop] PASSED [ 17%] test_client_session.py::test_del_debug[pyloop] PASSED [ 17%] test_client_session.py::test_context_manager[pyloop] PASSED [ 17%] test_client_session.py::test_borrow_connector_loop[pyloop] PASSED [ 17%] test_client_session.py::test_reraise_os_error[pyloop] PASSED [ 17%] test_client_session.py::test_close_conn_on_error[pyloop] PASSED [ 17%] test_client_session.py::test_cookie_jar_usage[pyloop] FAILED [ 17%] test_client_session.py::test_session_default_version[pyloop] PASSED [ 17%] test_client_session.py::test_session_loop[pyloop] PASSED [ 17%] test_client_session.py::test_proxy_str[pyloop] PASSED [ 17%] test_client_session.py::test_request_tracing[pyloop] FAILED [ 17%] test_client_session.py::test_request_tracing_exception PASSED [ 17%] test_client_session.py::test_request_tracing_interpose_headers[pyloop] FAILED [ 17%] test_client_session.py::test_client_session_inheritance PASSED [ 17%] test_client_session.py::test_client_session_custom_attr[pyloop] SKIPPED [ 17%] test_client_session.py::test_client_session_timeout_args[pyloop] PASSED [ 17%] test_client_session.py::test_client_session_timeout_default_args[pyloop] PASSED [ 17%] test_client_session.py::test_client_session_timeout_argument PASSED [ 17%] test_client_session.py::test_requote_redirect_url_default PASSED [ 17%] test_client_session.py::test_requote_redirect_url_default_disable PASSED [ 17%] test_client_session.py::test_requote_redirect_setter PASSED [ 17%] test_client_ws.py::test_ws_connect[pyloop] PASSED [ 18%] test_client_ws.py::test_ws_connect_with_origin[pyloop] PASSED [ 18%] test_client_ws.py::test_ws_connect_custom_response[pyloop] PASSED [ 18%] test_client_ws.py::test_ws_connect_err_status[pyloop] PASSED [ 18%] test_client_ws.py::test_ws_connect_err_upgrade[pyloop] PASSED [ 18%] test_client_ws.py::test_ws_connect_err_conn[pyloop] PASSED [ 18%] test_client_ws.py::test_ws_connect_err_challenge[pyloop] PASSED [ 18%] test_client_ws.py::test_ws_connect_common_headers[pyloop] PASSED [ 18%] test_client_ws.py::test_close[pyloop] PASSED [ 18%] test_client_ws.py::test_close_eofstream[pyloop] PASSED [ 18%] test_client_ws.py::test_close_exc[pyloop] PASSED [ 18%] test_client_ws.py::test_close_exc2[pyloop] PASSED [ 18%] test_client_ws.py::test_send_data_after_close[pyloop] PASSED [ 18%] test_client_ws.py::test_send_data_type_errors[pyloop] PASSED [ 18%] test_client_ws.py::test_reader_read_exception[pyloop] PASSED [ 18%] test_client_ws.py::test_receive_runtime_err[pyloop] PASSED [ 18%] test_client_ws.py::test_ws_connect_close_resp_on_err[pyloop] PASSED [ 18%] test_client_ws.py::test_ws_connect_non_overlapped_protocols[pyloop] PASSED [ 18%] test_client_ws.py::test_ws_connect_non_overlapped_protocols_2[pyloop] PASSED [ 18%] test_client_ws.py::test_ws_connect_deflate[pyloop] PASSED [ 18%] test_client_ws.py::test_ws_connect_deflate_per_message[pyloop] PASSED [ 18%] test_client_ws.py::test_ws_connect_deflate_server_not_support[pyloop] PASSED [ 18%] test_client_ws.py::test_ws_connect_deflate_notakeover[pyloop] PASSED [ 18%] test_client_ws.py::test_ws_connect_deflate_client_wbits[pyloop] PASSED [ 18%] test_client_ws.py::test_ws_connect_deflate_client_wbits_bad[pyloop] PASSED [ 18%] test_client_ws.py::test_ws_connect_deflate_server_ext_bad[pyloop] PASSED [ 18%] test_client_ws_functional.py::test_send_recv_text[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_send_recv_bytes_bad_type[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_send_recv_bytes[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_send_recv_text_bad_type[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_send_recv_json[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_ping_pong[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_ping_pong_manual[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_close[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_concurrent_close[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_close_from_server[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_close_manual[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_close_timeout[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_close_cancel[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_override_default_headers[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_additional_headers[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_recv_protocol_error[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_recv_timeout[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_receive_timeout[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_custom_receive_timeout[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_heartbeat[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_heartbeat_no_pong[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_send_recv_compress[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_send_recv_compress_wbits[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_send_recv_compress_wbit_error[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_ws_client_async_for[pyloop] FAILED [ 19%] test_client_ws_functional.py::test_ws_async_with[pyloop] FAILED [ 20%] test_client_ws_functional.py::test_ws_async_with_send[pyloop] FAILED [ 20%] test_client_ws_functional.py::test_ws_async_with_shortcut[pyloop] FAILED [ 20%] test_client_ws_functional.py::test_closed_async_for[pyloop] FAILED [ 20%] test_client_ws_functional.py::test_peer_connection_lost[pyloop] FAILED [ 20%] test_client_ws_functional.py::test_peer_connection_lost_iter[pyloop] FAILED [ 20%] test_connector.py::test_connection_del[pyloop] PASSED [ 20%] test_connector.py::test_connection_del_loop_debug[pyloop] PASSED [ 20%] test_connector.py::test_connection_del_loop_closed[pyloop] PASSED [ 20%] test_connector.py::test_del[pyloop] PASSED [ 20%] test_connector.py::test_del_with_scheduled_cleanup[pyloop] XFAIL [ 20%] test_connector.py::test_del_with_closed_loop[pyloop] PASSED [ 20%] test_connector.py::test_del_empty_connector[pyloop] PASSED [ 20%] test_connector.py::test_create_conn[pyloop] PASSED [ 20%] test_connector.py::test_context_manager[pyloop] PASSED [ 20%] test_connector.py::test_async_context_manager[pyloop] PASSED [ 20%] test_connector.py::test_close[pyloop] PASSED [ 20%] test_connector.py::test_get[pyloop] PASSED [ 20%] test_connector.py::test_get_unconnected_proto[pyloop] PASSED [ 20%] test_connector.py::test_get_unconnected_proto_ssl[pyloop] PASSED [ 20%] test_connector.py::test_get_expired[pyloop] PASSED [ 20%] test_connector.py::test_get_expired_ssl[pyloop] PASSED [ 20%] test_connector.py::test_release_acquired[pyloop] PASSED [ 20%] test_connector.py::test_release_acquired_closed[pyloop] PASSED [ 20%] test_connector.py::test_release[pyloop] PASSED [ 20%] test_connector.py::test_release_ssl_transport[pyloop] PASSED [ 20%] test_connector.py::test_release_already_closed[pyloop] PASSED [ 21%] test_connector.py::test_release_waiter_no_limit[pyloop] PASSED [ 21%] test_connector.py::test_release_waiter_first_available[pyloop] PASSED [ 21%] test_connector.py::test_release_waiter_release_first[pyloop] PASSED [ 21%] test_connector.py::test_release_waiter_skip_done_waiter[pyloop] PASSED [ 21%] test_connector.py::test_release_waiter_per_host[pyloop] PASSED [ 21%] test_connector.py::test_release_waiter_no_available[pyloop] PASSED [ 21%] test_connector.py::test_release_close[pyloop] PASSED [ 21%] test_connector.py::test__drop_acquire_per_host1[pyloop] PASSED [ 21%] test_connector.py::test__drop_acquire_per_host2[pyloop] PASSED [ 21%] test_connector.py::test__drop_acquire_per_host3[pyloop] PASSED [ 21%] test_connector.py::test_tcp_connector_certificate_error[pyloop] PASSED [ 21%] test_connector.py::test_tcp_connector_multiple_hosts_errors[pyloop] PASSED [ 21%] test_connector.py::test_tcp_connector_resolve_host[pyloop] PASSED [ 21%] test_connector.py::test_tcp_connector_dns_cache_not_expired[pyloop] PASSED [ 21%] test_connector.py::test_tcp_connector_dns_cache_forever[pyloop] PASSED [ 21%] test_connector.py::test_tcp_connector_use_dns_cache_disabled[pyloop] PASSED [ 21%] test_connector.py::test_tcp_connector_dns_throttle_requests[pyloop] PASSED [ 21%] test_connector.py::test_tcp_connector_dns_throttle_requests_exception_spread[pyloop] PASSED [ 21%] test_connector.py::test_tcp_connector_dns_throttle_requests_cancelled_when_close[pyloop] PASSED [ 21%] test_connector.py::test_tcp_connector_cancel_dns_error_captured[pyloop] PASSED [ 21%] test_connector.py::test_tcp_connector_dns_tracing[pyloop] PASSED [ 21%] test_connector.py::test_tcp_connector_dns_tracing_cache_disabled[pyloop] PASSED [ 21%] test_connector.py::test_tcp_connector_dns_tracing_throttle_requests[pyloop] PASSED [ 21%] test_connector.py::test_dns_error[pyloop] PASSED [ 21%] test_connector.py::test_get_pop_empty_conns[pyloop] PASSED [ 22%] test_connector.py::test_release_close_do_not_add_to_pool[pyloop] PASSED [ 22%] test_connector.py::test_release_close_do_not_delete_existing_connections PASSED [ 22%] test_connector.py::test_release_not_started[pyloop] PASSED [ 22%] test_connector.py::test_release_not_opened[pyloop] PASSED [ 22%] test_connector.py::test_connect[pyloop] PASSED [ 22%] test_connector.py::test_connect_tracing[pyloop] PASSED [ 22%] test_connector.py::test_close_during_connect[pyloop] PASSED [ 22%] test_connector.py::test_ctor_cleanup PASSED [ 22%] test_connector.py::test_cleanup PASSED [ 22%] test_connector.py::test_cleanup_close_ssl_transport PASSED [ 22%] test_connector.py::test_cleanup2 PASSED [ 22%] test_connector.py::test_cleanup3 PASSED [ 22%] test_connector.py::test_cleanup_closed[pyloop] PASSED [ 22%] test_connector.py::test_cleanup_closed_disabled[pyloop] PASSED [ 22%] test_connector.py::test_tcp_connector_ctor[pyloop] PASSED [ 22%] test_connector.py::test_tcp_connector_ctor_fingerprint_valid[pyloop] PASSED [ 22%] test_connector.py::test_insecure_fingerprint_md5[pyloop] PASSED [ 22%] test_connector.py::test_insecure_fingerprint_sha1[pyloop] PASSED [ 22%] test_connector.py::test_tcp_connector_clear_dns_cache[pyloop] PASSED [ 22%] test_connector.py::test_tcp_connector_clear_dns_cache_bad_args[pyloop] PASSED [ 22%] test_connector.py::test_dont_recreate_ssl_context[pyloop] PASSED [ 22%] test_connector.py::test_dont_recreate_ssl_context2[pyloop] PASSED [ 22%] test_connector.py::test___get_ssl_context1[pyloop] PASSED [ 22%] test_connector.py::test___get_ssl_context2[pyloop] PASSED [ 22%] test_connector.py::test___get_ssl_context3[pyloop] PASSED [ 23%] test_connector.py::test___get_ssl_context4[pyloop] PASSED [ 23%] test_connector.py::test___get_ssl_context5[pyloop] PASSED [ 23%] test_connector.py::test___get_ssl_context6[pyloop] PASSED [ 23%] test_connector.py::test_close_twice[pyloop] PASSED [ 23%] test_connector.py::test_close_cancels_cleanup_handle[pyloop] PASSED [ 23%] test_connector.py::test_close_abort_closed_transports[pyloop] PASSED [ 23%] test_connector.py::test_close_cancels_cleanup_closed_handle[pyloop] PASSED [ 23%] test_connector.py::test_ctor_with_default_loop[pyloop] PASSED [ 23%] test_connector.py::test_connect_with_limit[pyloop] PASSED [ 23%] test_connector.py::test_connect_queued_operation_tracing[pyloop] PASSED [ 23%] test_connector.py::test_connect_reuseconn_tracing[pyloop] PASSED [ 23%] test_connector.py::test_connect_with_limit_and_limit_per_host[pyloop] PASSED [ 23%] test_connector.py::test_connect_with_no_limit_and_limit_per_host[pyloop] PASSED [ 23%] test_connector.py::test_connect_with_no_limits[pyloop] PASSED [ 23%] test_connector.py::test_connect_with_limit_cancelled[pyloop] PASSED [ 23%] test_connector.py::test_connect_with_capacity_release_waiters[pyloop] PASSED [ 23%] test_connector.py::test_connect_with_limit_concurrent[pyloop] PASSED [ 23%] test_connector.py::test_connect_waiters_cleanup[pyloop] PASSED [ 23%] test_connector.py::test_connect_waiters_cleanup_key_error[pyloop] PASSED [ 23%] test_connector.py::test_close_with_acquired_connection[pyloop] PASSED [ 23%] test_connector.py::test_default_force_close[pyloop] PASSED [ 23%] test_connector.py::test_limit_property[pyloop] PASSED [ 23%] test_connector.py::test_limit_per_host_property[pyloop] PASSED [ 23%] test_connector.py::test_limit_property_default[pyloop] PASSED [ 23%] test_connector.py::test_limit_per_host_property_default[pyloop] PASSED [ 23%] test_connector.py::test_force_close_and_explicit_keep_alive[pyloop] PASSED [ 24%] test_connector.py::test_error_on_connection[pyloop] PASSED [ 24%] test_connector.py::test_cancelled_waiter[pyloop] PASSED [ 24%] test_connector.py::test_error_on_connection_with_cancelled_waiter[pyloop] PASSED [ 24%] test_connector.py::test_tcp_connector[pyloop] FAILED [ 24%] test_connector.py::test_unix_connector_not_found[pyloop] PASSED [ 24%] test_connector.py::test_unix_connector_permission[pyloop] PASSED [ 24%] test_connector.py::test_named_pipe_connector_wrong_loop SKIPPED [ 24%] test_connector.py::test_named_pipe_connector_not_found SKIPPED [ 24%] test_connector.py::test_named_pipe_connector_permission SKIPPED [ 24%] test_connector.py::test_default_use_dns_cache PASSED [ 24%] test_connector.py::test_resolver_not_called_with_address_is_ip[pyloop] PASSED [ 24%] test_connector.py::test_tcp_connector_raise_connector_ssl_error[pyloop] FAILED [ 24%] test_connector.py::test_tcp_connector_do_not_raise_connector_ssl_error[pyloop] FAILED [ 24%] test_connector.py::test_tcp_connector_uses_provided_local_addr[pyloop] FAILED [ 24%] test_connector.py::test_unix_connector[pyloop] FAILED [ 24%] test_connector.py::test_named_pipe_connector SKIPPED [ 24%] test_connector.py::TestDNSCacheTable::test_next_addrs_basic PASSED [ 24%] test_connector.py::TestDNSCacheTable::test_remove PASSED [ 24%] test_connector.py::TestDNSCacheTable::test_clear PASSED [ 24%] test_connector.py::TestDNSCacheTable::test_not_expired_ttl_None PASSED [ 24%] test_connector.py::TestDNSCacheTable::test_not_expired_ttl PASSED [ 24%] test_connector.py::TestDNSCacheTable::test_expired_ttl[pyloop] PASSED [ 24%] test_connector.py::TestDNSCacheTable::test_next_addrs PASSED [ 24%] test_connector.py::TestDNSCacheTable::test_next_addrs_single PASSED [ 24%] test_connector.py::test_connector_cache_trace_race PASSED [ 25%] test_connector.py::test_connector_throttle_trace_race[pyloop] PASSED [ 25%] test_connector.py::test_connector_does_not_remove_needed_waiters[pyloop] PASSED [ 25%] test_cookiejar.py::test_date_parsing PASSED [ 25%] test_cookiejar.py::test_domain_matching PASSED [ 25%] test_cookiejar.py::test_path_matching PASSED [ 25%] test_cookiejar.py::test_constructor[pyloop] PASSED [ 25%] test_cookiejar.py::test_constructor_with_expired[pyloop] PASSED [ 25%] test_cookiejar.py::test_save_load[pyloop] PASSED [ 25%] test_cookiejar.py::test_update_cookie_with_unicode_domain[pyloop] PASSED [ 25%] test_cookiejar.py::test_filter_cookie_with_unicode_domain[pyloop] PASSED [ 25%] test_cookiejar.py::test_domain_filter_ip_cookie_send[pyloop] PASSED [ 25%] test_cookiejar.py::test_domain_filter_ip_cookie_receive PASSED [ 25%] test_cookiejar.py::test_quotes_correctly_based_on_input[pyloop-IP domain preserved] PASSED [ 25%] test_cookiejar.py::test_quotes_correctly_based_on_input[pyloop-no shared cookie] PASSED [ 25%] test_cookiejar.py::test_quotes_correctly_based_on_input[pyloop-quoted cookie with special char] PASSED [ 25%] test_cookiejar.py::test_quotes_correctly_based_on_input[pyloop-quoted cookie w/o special char] PASSED [ 25%] test_cookiejar.py::test_quotes_correctly_based_on_input[pyloop-unquoted cookie with special char] PASSED [ 25%] test_cookiejar.py::test_ignore_domain_ending_with_dot[pyloop] PASSED [ 25%] test_cookiejar.py::TestCookieJarSafe::test_cookie_not_expired_when_added_after_removal PASSED [ 25%] test_cookiejar.py::TestCookieJarSafe::test_domain_filter_diff_host PASSED [ 25%] test_cookiejar.py::TestCookieJarSafe::test_domain_filter_host_only PASSED [ 25%] test_cookiejar.py::TestCookieJarSafe::test_domain_filter_same_host PASSED [ 25%] test_cookiejar.py::TestCookieJarSafe::test_domain_filter_same_host_and_subdomain PASSED [ 25%] test_cookiejar.py::TestCookieJarSafe::test_domain_filter_same_host_diff_subdomain PASSED [ 25%] test_cookiejar.py::TestCookieJarSafe::test_expires PASSED [ 25%] test_cookiejar.py::TestCookieJarSafe::test_invalid_values PASSED [ 26%] test_cookiejar.py::TestCookieJarSafe::test_max_age PASSED [ 26%] test_cookiejar.py::TestCookieJarSafe::test_path_filter_different_folder PASSED [ 26%] test_cookiejar.py::TestCookieJarSafe::test_path_filter_file PASSED [ 26%] test_cookiejar.py::TestCookieJarSafe::test_path_filter_folder PASSED [ 26%] test_cookiejar.py::TestCookieJarSafe::test_path_filter_root PASSED [ 26%] test_cookiejar.py::TestCookieJarSafe::test_path_filter_subfolder PASSED [ 26%] test_cookiejar.py::TestCookieJarSafe::test_path_filter_subsubfolder PASSED [ 26%] test_cookiejar.py::TestCookieJarSafe::test_path_value PASSED [ 26%] test_cookiejar.py::TestCookieJarSafe::test_secure_filter PASSED [ 26%] test_cookiejar.py::test_dummy_cookie_jar PASSED [ 26%] test_cookiejar.py::test_loose_cookies_types PASSED [ 26%] test_flowcontrol_streams.py::TestFlowControlStreamReader::test_read[pyloop] PASSED [ 26%] test_flowcontrol_streams.py::TestFlowControlStreamReader::test_read_resume_paused[pyloop] PASSED [ 26%] test_flowcontrol_streams.py::TestFlowControlStreamReader::test_readline[pyloop] PASSED [ 26%] test_flowcontrol_streams.py::TestFlowControlStreamReader::test_readline_resume_paused[pyloop] PASSED [ 26%] test_flowcontrol_streams.py::TestFlowControlStreamReader::test_readany[pyloop] PASSED [ 26%] test_flowcontrol_streams.py::TestFlowControlStreamReader::test_readany_resume_paused[pyloop] PASSED [ 26%] test_flowcontrol_streams.py::TestFlowControlStreamReader::test_readchunk[pyloop] PASSED [ 26%] test_flowcontrol_streams.py::TestFlowControlStreamReader::test_readchunk_resume_paused[pyloop] PASSED [ 26%] test_flowcontrol_streams.py::TestFlowControlStreamReader::test_readexactly[pyloop] PASSED [ 26%] test_flowcontrol_streams.py::TestFlowControlStreamReader::test_feed_data[pyloop] PASSED [ 26%] test_flowcontrol_streams.py::TestFlowControlStreamReader::test_read_nowait[pyloop] PASSED [ 26%] test_flowcontrol_streams.py::TestFlowControlDataQueue::test_feed_pause[pyloop] PASSED [ 26%] test_flowcontrol_streams.py::TestFlowControlDataQueue::test_resume_on_read[pyloop] PASSED [ 26%] test_formdata.py::test_formdata_multipart PASSED [ 27%] test_formdata.py::test_invalid_formdata_payload PASSED [ 27%] test_formdata.py::test_invalid_formdata_params PASSED [ 27%] test_formdata.py::test_invalid_formdata_params2 PASSED [ 27%] test_formdata.py::test_invalid_formdata_content_type PASSED [ 27%] test_formdata.py::test_invalid_formdata_filename PASSED [ 27%] test_formdata.py::test_invalid_formdata_content_transfer_encoding PASSED [ 27%] test_formdata.py::test_formdata_field_name_is_quoted PASSED [ 27%] test_formdata.py::test_formdata_field_name_is_not_quoted PASSED [ 27%] test_frozenlist.py::TestFrozenList::test_subclass PASSED [ 27%] test_frozenlist.py::TestFrozenList::test_iface PASSED [ 27%] test_frozenlist.py::TestFrozenList::test_ctor_default PASSED [ 27%] test_frozenlist.py::TestFrozenList::test_ctor PASSED [ 27%] test_frozenlist.py::TestFrozenList::test_ctor_copy_list PASSED [ 27%] test_frozenlist.py::TestFrozenList::test_freeze PASSED [ 27%] test_frozenlist.py::TestFrozenList::test_repr PASSED [ 27%] test_frozenlist.py::TestFrozenList::test_getitem PASSED [ 27%] test_frozenlist.py::TestFrozenList::test_setitem PASSED [ 27%] test_frozenlist.py::TestFrozenList::test_delitem PASSED [ 27%] test_frozenlist.py::TestFrozenList::test_len PASSED [ 27%] test_frozenlist.py::TestFrozenList::test_iter PASSED [ 27%] test_frozenlist.py::TestFrozenList::test_reversed PASSED [ 27%] test_frozenlist.py::TestFrozenList::test_eq PASSED [ 27%] test_frozenlist.py::TestFrozenList::test_ne PASSED [ 27%] test_frozenlist.py::TestFrozenList::test_le PASSED [ 27%] test_frozenlist.py::TestFrozenList::test_lt PASSED [ 27%] test_frozenlist.py::TestFrozenList::test_ge PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_gt PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_insert PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_frozen_setitem PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_frozen_delitem PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_frozen_insert PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_contains PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_iadd PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_iadd_frozen PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_index PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_remove PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_remove_frozen PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_clear PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_clear_frozen PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_extend PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_extend_frozen PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_reverse PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_reverse_frozen PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_pop PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_pop_default PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_pop_frozen PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_append PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_append_frozen PASSED [ 28%] test_frozenlist.py::TestFrozenList::test_count PASSED [ 28%] test_frozenlist.py::TestFrozenListPy::test_subclass PASSED [ 28%] test_frozenlist.py::TestFrozenListPy::test_iface PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_ctor_default PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_ctor PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_ctor_copy_list PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_freeze PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_repr PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_getitem PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_setitem PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_delitem PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_len PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_iter PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_reversed PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_eq PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_ne PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_le PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_lt PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_ge PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_gt PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_insert PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_frozen_setitem PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_frozen_delitem PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_frozen_insert PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_contains PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_iadd PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_iadd_frozen PASSED [ 29%] test_frozenlist.py::TestFrozenListPy::test_index PASSED [ 30%] test_frozenlist.py::TestFrozenListPy::test_remove PASSED [ 30%] test_frozenlist.py::TestFrozenListPy::test_remove_frozen PASSED [ 30%] test_frozenlist.py::TestFrozenListPy::test_clear PASSED [ 30%] test_frozenlist.py::TestFrozenListPy::test_clear_frozen PASSED [ 30%] test_frozenlist.py::TestFrozenListPy::test_extend PASSED [ 30%] test_frozenlist.py::TestFrozenListPy::test_extend_frozen PASSED [ 30%] test_frozenlist.py::TestFrozenListPy::test_reverse PASSED [ 30%] test_frozenlist.py::TestFrozenListPy::test_reverse_frozen PASSED [ 30%] test_frozenlist.py::TestFrozenListPy::test_pop PASSED [ 30%] test_frozenlist.py::TestFrozenListPy::test_pop_default PASSED [ 30%] test_frozenlist.py::TestFrozenListPy::test_pop_frozen PASSED [ 30%] test_frozenlist.py::TestFrozenListPy::test_append PASSED [ 30%] test_frozenlist.py::TestFrozenListPy::test_append_frozen PASSED [ 30%] test_frozenlist.py::TestFrozenListPy::test_count PASSED [ 30%] test_helpers.py::test_parse_mimetype[-expected0] PASSED [ 30%] test_helpers.py::test_parse_mimetype[*-expected1] PASSED [ 30%] test_helpers.py::test_parse_mimetype[application/json-expected2] PASSED [ 30%] test_helpers.py::test_parse_mimetype[application/json; charset=utf-8-expected3] PASSED [ 30%] test_helpers.py::test_parse_mimetype[application/json; charset=utf-8;-expected4] PASSED [ 30%] test_helpers.py::test_parse_mimetype[ApPlIcAtIoN/JSON;ChaRseT="UTF-8"-expected5] PASSED [ 30%] test_helpers.py::test_parse_mimetype[application/rss+xml-expected6] PASSED [ 30%] test_helpers.py::test_parse_mimetype[text/plain;base64-expected7] PASSED [ 30%] test_helpers.py::test_guess_filename_with_tempfile PASSED [ 30%] test_helpers.py::test_basic_auth1 PASSED [ 30%] test_helpers.py::test_basic_auth2 PASSED [ 30%] test_helpers.py::test_basic_with_auth_colon_in_login PASSED [ 31%] test_helpers.py::test_basic_auth3 PASSED [ 31%] test_helpers.py::test_basic_auth4 PASSED [ 31%] test_helpers.py::test_basic_auth_decode[Basic bmtpbTpwd2Q=] PASSED [ 31%] test_helpers.py::test_basic_auth_decode[basic bmtpbTpwd2Q=] PASSED [ 31%] test_helpers.py::test_basic_auth_invalid PASSED [ 31%] test_helpers.py::test_basic_auth_decode_not_basic PASSED [ 31%] test_helpers.py::test_basic_auth_decode_bad_base64 PASSED [ 31%] test_helpers.py::test_basic_auth_decode_illegal_chars_base64[Basic ???] PASSED [ 31%] test_helpers.py::test_basic_auth_decode_illegal_chars_base64[Basic ] PASSED [ 31%] test_helpers.py::test_basic_auth_decode_invalid_credentials PASSED [ 31%] test_helpers.py::test_basic_auth_decode_blank_username[:-expected_auth0] PASSED [ 31%] test_helpers.py::test_basic_auth_decode_blank_username[username:-expected_auth1] PASSED [ 31%] test_helpers.py::test_basic_auth_decode_blank_username[:password-expected_auth2] PASSED [ 31%] test_helpers.py::test_basic_auth_decode_blank_username[username:password-expected_auth3] PASSED [ 31%] test_helpers.py::test_basic_auth_from_url PASSED [ 31%] test_helpers.py::test_basic_auth_from_not_url PASSED [ 31%] test_helpers.py::TestPyReify::test_reify PASSED [ 31%] test_helpers.py::TestPyReify::test_reify_class PASSED [ 31%] test_helpers.py::TestPyReify::test_reify_assignment PASSED [ 31%] test_helpers.py::TestCReify::test_reify PASSED [ 31%] test_helpers.py::TestCReify::test_reify_class PASSED [ 31%] test_helpers.py::TestCReify::test_reify_assignment PASSED [ 31%] test_helpers.py::test_is_ip_address PASSED [ 31%] test_helpers.py::test_is_ip_address_bytes PASSED [ 31%] test_helpers.py::test_ipv4_addresses PASSED [ 32%] test_helpers.py::test_ipv6_addresses PASSED [ 32%] test_helpers.py::test_host_addresses PASSED [ 32%] test_helpers.py::test_is_ip_address_invalid_type PASSED [ 32%] test_helpers.py::test_timeout_handle[pyloop] PASSED [ 32%] test_helpers.py::test_when_timeout_smaller_second[pyloop] PASSED [ 32%] test_helpers.py::test_timeout_handle_cb_exc[pyloop] PASSED [ 32%] test_helpers.py::test_timer_context_cancelled PASSED [ 32%] test_helpers.py::test_timer_context_no_task[pyloop] PASSED [ 32%] test_helpers.py::test_weakref_handle[pyloop] PASSED [ 32%] test_helpers.py::test_weakref_handle_weak[pyloop] PASSED [ 32%] test_helpers.py::test_ceil_call_later PASSED [ 32%] test_helpers.py::test_ceil_call_later_no_timeout PASSED [ 32%] test_helpers.py::test_ceil_timeout[pyloop] PASSED [ 32%] test_helpers.py::test_ceil_timeout_no_task[pyloop] PASSED [ 32%] test_helpers.py::test_ceil_timeout_round[pyloop] PASSED [ 32%] test_helpers.py::test_ceil_timeout_small[pyloop] PASSED [ 32%] test_helpers.py::test_content_disposition PASSED [ 32%] test_helpers.py::test_content_disposition_bad_type PASSED [ 32%] test_helpers.py::test_set_content_disposition_bad_param PASSED [ 32%] test_helpers.py::test_proxies_from_env_http PASSED [ 32%] test_helpers.py::test_proxies_from_env_http_proxy_for_https_proto PASSED [ 32%] test_helpers.py::test_proxies_from_env_https_proxy_skipped PASSED [ 32%] test_helpers.py::test_proxies_from_env_http_with_auth PASSED [ 32%] test_helpers.py::test_get_running_loop_not_running[pyloop] PASSED [ 32%] test_helpers.py::test_get_running_loop_ok[pyloop] PASSED [ 32%] test_helpers.py::test_set_result[pyloop] PASSED [ 33%] test_helpers.py::test_set_result_cancelled[pyloop] PASSED [ 33%] test_helpers.py::test_set_exception[pyloop] PASSED [ 33%] test_helpers.py::test_set_exception_cancelled[pyloop] PASSED [ 33%] test_helpers.py::TestChainMapProxy::test_inheritance PASSED [ 33%] test_helpers.py::TestChainMapProxy::test_getitem PASSED [ 33%] test_helpers.py::TestChainMapProxy::test_getitem_not_found PASSED [ 33%] test_helpers.py::TestChainMapProxy::test_get PASSED [ 33%] test_helpers.py::TestChainMapProxy::test_get_default PASSED [ 33%] test_helpers.py::TestChainMapProxy::test_get_non_default PASSED [ 33%] test_helpers.py::TestChainMapProxy::test_len PASSED [ 33%] test_helpers.py::TestChainMapProxy::test_iter PASSED [ 33%] test_helpers.py::TestChainMapProxy::test_contains PASSED [ 33%] test_helpers.py::TestChainMapProxy::test_bool PASSED [ 33%] test_helpers.py::TestChainMapProxy::test_repr PASSED [ 33%] test_http_exceptions.py::TestHttpProcessingError::test_ctor PASSED [ 33%] test_http_exceptions.py::TestHttpProcessingError::test_pickle PASSED [ 33%] test_http_exceptions.py::TestHttpProcessingError::test_str PASSED [ 33%] test_http_exceptions.py::TestHttpProcessingError::test_repr PASSED [ 33%] test_http_exceptions.py::TestBadHttpMessage::test_ctor PASSED [ 33%] test_http_exceptions.py::TestBadHttpMessage::test_pickle PASSED [ 33%] test_http_exceptions.py::TestBadHttpMessage::test_str PASSED [ 33%] test_http_exceptions.py::TestBadHttpMessage::test_repr PASSED [ 33%] test_http_exceptions.py::TestLineTooLong::test_ctor PASSED [ 33%] test_http_exceptions.py::TestLineTooLong::test_pickle PASSED [ 33%] test_http_exceptions.py::TestLineTooLong::test_str PASSED [ 34%] test_http_exceptions.py::TestLineTooLong::test_repr PASSED [ 34%] test_http_exceptions.py::TestInvalidHeader::test_ctor PASSED [ 34%] test_http_exceptions.py::TestInvalidHeader::test_pickle PASSED [ 34%] test_http_exceptions.py::TestInvalidHeader::test_str PASSED [ 34%] test_http_exceptions.py::TestInvalidHeader::test_repr PASSED [ 34%] test_http_exceptions.py::TestBadStatusLine::test_ctor PASSED [ 34%] test_http_exceptions.py::TestBadStatusLine::test_ctor2 PASSED [ 34%] test_http_exceptions.py::TestBadStatusLine::test_pickle PASSED [ 34%] test_http_parser.py::test_parse_headers[HttpRequestParser0-pyloop] PASSED [ 34%] test_http_parser.py::test_parse_headers[HttpRequestParser1-pyloop] PASSED [ 34%] test_http_parser.py::test_parse[HttpRequestParser0-pyloop] PASSED [ 34%] test_http_parser.py::test_parse[HttpRequestParser1-pyloop] PASSED [ 34%] test_http_parser.py::test_parse_body[HttpRequestParser0-pyloop] PASSED [ 34%] test_http_parser.py::test_parse_body[HttpRequestParser1-pyloop] PASSED [ 34%] test_http_parser.py::test_parse_body_with_CRLF[HttpRequestParser0-pyloop] PASSED [ 34%] test_http_parser.py::test_parse_body_with_CRLF[HttpRequestParser1-pyloop] PASSED [ 34%] test_http_parser.py::test_parse_delayed[HttpRequestParser0-pyloop] PASSED [ 34%] test_http_parser.py::test_parse_delayed[HttpRequestParser1-pyloop] PASSED [ 34%] test_http_parser.py::test_headers_multi_feed[HttpRequestParser0-pyloop] PASSED [ 34%] test_http_parser.py::test_headers_multi_feed[HttpRequestParser1-pyloop] PASSED [ 34%] test_http_parser.py::test_headers_split_field[HttpRequestParser0-pyloop] PASSED [ 34%] test_http_parser.py::test_headers_split_field[HttpRequestParser1-pyloop] PASSED [ 34%] test_http_parser.py::test_parse_headers_multi[HttpRequestParser0-pyloop] PASSED [ 34%] test_http_parser.py::test_parse_headers_multi[HttpRequestParser1-pyloop] PASSED [ 34%] test_http_parser.py::test_conn_default_1_0[HttpRequestParser0-pyloop] PASSED [ 34%] test_http_parser.py::test_conn_default_1_0[HttpRequestParser1-pyloop] PASSED [ 35%] test_http_parser.py::test_conn_default_1_1[HttpRequestParser0-pyloop] PASSED [ 35%] test_http_parser.py::test_conn_default_1_1[HttpRequestParser1-pyloop] PASSED [ 35%] test_http_parser.py::test_conn_close[HttpRequestParser0-pyloop] PASSED [ 35%] test_http_parser.py::test_conn_close[HttpRequestParser1-pyloop] PASSED [ 35%] test_http_parser.py::test_conn_close_1_0[HttpRequestParser0-pyloop] PASSED [ 35%] test_http_parser.py::test_conn_close_1_0[HttpRequestParser1-pyloop] PASSED [ 35%] test_http_parser.py::test_conn_keep_alive_1_0[HttpRequestParser0-pyloop] PASSED [ 35%] test_http_parser.py::test_conn_keep_alive_1_0[HttpRequestParser1-pyloop] PASSED [ 35%] test_http_parser.py::test_conn_keep_alive_1_1[HttpRequestParser0-pyloop] PASSED [ 35%] test_http_parser.py::test_conn_keep_alive_1_1[HttpRequestParser1-pyloop] PASSED [ 35%] test_http_parser.py::test_conn_other_1_0[HttpRequestParser0-pyloop] PASSED [ 35%] test_http_parser.py::test_conn_other_1_0[HttpRequestParser1-pyloop] PASSED [ 35%] test_http_parser.py::test_conn_other_1_1[HttpRequestParser0-pyloop] PASSED [ 35%] test_http_parser.py::test_conn_other_1_1[HttpRequestParser1-pyloop] PASSED [ 35%] test_http_parser.py::test_request_chunked[HttpRequestParser0-pyloop] PASSED [ 35%] test_http_parser.py::test_request_chunked[HttpRequestParser1-pyloop] PASSED [ 35%] test_http_parser.py::test_conn_upgrade[HttpRequestParser0-pyloop] PASSED [ 35%] test_http_parser.py::test_conn_upgrade[HttpRequestParser1-pyloop] PASSED [ 35%] test_http_parser.py::test_compression_empty[HttpRequestParser0-pyloop] PASSED [ 35%] test_http_parser.py::test_compression_empty[HttpRequestParser1-pyloop] PASSED [ 35%] test_http_parser.py::test_compression_deflate[HttpRequestParser0-pyloop] PASSED [ 35%] test_http_parser.py::test_compression_deflate[HttpRequestParser1-pyloop] PASSED [ 35%] test_http_parser.py::test_compression_gzip[HttpRequestParser0-pyloop] PASSED [ 35%] test_http_parser.py::test_compression_gzip[HttpRequestParser1-pyloop] PASSED [ 35%] test_http_parser.py::test_compression_brotli[HttpRequestParser0-pyloop] PASSED [ 36%] test_http_parser.py::test_compression_brotli[HttpRequestParser1-pyloop] PASSED [ 36%] test_http_parser.py::test_compression_unknown[HttpRequestParser0-pyloop] PASSED [ 36%] test_http_parser.py::test_compression_unknown[HttpRequestParser1-pyloop] PASSED [ 36%] test_http_parser.py::test_headers_connect[HttpRequestParser0-pyloop] PASSED [ 36%] test_http_parser.py::test_headers_connect[HttpRequestParser1-pyloop] PASSED [ 36%] test_http_parser.py::test_headers_old_websocket_key1[HttpRequestParser0-pyloop] PASSED [ 36%] test_http_parser.py::test_headers_old_websocket_key1[HttpRequestParser1-pyloop] PASSED [ 36%] test_http_parser.py::test_headers_content_length_err_1[HttpRequestParser0-pyloop] PASSED [ 36%] test_http_parser.py::test_headers_content_length_err_1[HttpRequestParser1-pyloop] PASSED [ 36%] test_http_parser.py::test_headers_content_length_err_2[HttpRequestParser0-pyloop] PASSED [ 36%] test_http_parser.py::test_headers_content_length_err_2[HttpRequestParser1-pyloop] PASSED [ 36%] test_http_parser.py::test_invalid_header[HttpRequestParser0-pyloop] PASSED [ 36%] test_http_parser.py::test_invalid_header[HttpRequestParser1-pyloop] PASSED [ 36%] test_http_parser.py::test_invalid_name[HttpRequestParser0-pyloop] PASSED [ 36%] test_http_parser.py::test_invalid_name[HttpRequestParser1-pyloop] PASSED [ 36%] test_http_parser.py::test_max_header_field_size[HttpRequestParser0-pyloop-40960] PASSED [ 36%] test_http_parser.py::test_max_header_field_size[HttpRequestParser0-pyloop-8191] PASSED [ 36%] test_http_parser.py::test_max_header_field_size[HttpRequestParser1-pyloop-40960] PASSED [ 36%] test_http_parser.py::test_max_header_field_size[HttpRequestParser1-pyloop-8191] PASSED [ 36%] test_http_parser.py::test_max_header_field_size_under_limit[HttpRequestParser0-pyloop] PASSED [ 36%] test_http_parser.py::test_max_header_field_size_under_limit[HttpRequestParser1-pyloop] PASSED [ 36%] test_http_parser.py::test_max_header_value_size[HttpRequestParser0-pyloop-40960] PASSED [ 36%] test_http_parser.py::test_max_header_value_size[HttpRequestParser0-pyloop-8191] PASSED [ 36%] test_http_parser.py::test_max_header_value_size[HttpRequestParser1-pyloop-40960] PASSED [ 36%] test_http_parser.py::test_max_header_value_size[HttpRequestParser1-pyloop-8191] PASSED [ 37%] test_http_parser.py::test_max_header_value_size_under_limit[HttpRequestParser0-pyloop] PASSED [ 37%] test_http_parser.py::test_max_header_value_size_under_limit[HttpRequestParser1-pyloop] PASSED [ 37%] test_http_parser.py::test_max_header_value_size_continuation[HttpRequestParser0-pyloop-40965] PASSED [ 37%] test_http_parser.py::test_max_header_value_size_continuation[HttpRequestParser0-pyloop-8191] PASSED [ 37%] test_http_parser.py::test_max_header_value_size_continuation[HttpRequestParser1-pyloop-40965] PASSED [ 37%] test_http_parser.py::test_max_header_value_size_continuation[HttpRequestParser1-pyloop-8191] PASSED [ 37%] test_http_parser.py::test_max_header_value_size_continuation_under_limit[HttpRequestParser0-pyloop] PASSED [ 37%] test_http_parser.py::test_max_header_value_size_continuation_under_limit[HttpRequestParser1-pyloop] PASSED [ 37%] test_http_parser.py::test_http_request_parser[HttpRequestParser0-pyloop] PASSED [ 37%] test_http_parser.py::test_http_request_parser[HttpRequestParser1-pyloop] PASSED [ 37%] test_http_parser.py::test_http_request_bad_status_line[HttpRequestParser0-pyloop] PASSED [ 37%] test_http_parser.py::test_http_request_bad_status_line[HttpRequestParser1-pyloop] PASSED [ 37%] test_http_parser.py::test_http_request_upgrade[HttpRequestParser0-pyloop] PASSED [ 37%] test_http_parser.py::test_http_request_upgrade[HttpRequestParser1-pyloop] PASSED [ 37%] test_http_parser.py::test_http_request_parser_utf8[HttpRequestParser0-pyloop] PASSED [ 37%] test_http_parser.py::test_http_request_parser_utf8[HttpRequestParser1-pyloop] PASSED [ 37%] test_http_parser.py::test_http_request_parser_non_utf8[HttpRequestParser0-pyloop] PASSED [ 37%] test_http_parser.py::test_http_request_parser_non_utf8[HttpRequestParser1-pyloop] PASSED [ 37%] test_http_parser.py::test_http_request_parser_two_slashes[HttpRequestParser0-pyloop] PASSED [ 37%] test_http_parser.py::test_http_request_parser_two_slashes[HttpRequestParser1-pyloop] PASSED [ 37%] test_http_parser.py::test_http_request_parser_bad_method[HttpRequestParser0-pyloop] PASSED [ 37%] test_http_parser.py::test_http_request_parser_bad_method[HttpRequestParser1-pyloop] PASSED [ 37%] test_http_parser.py::test_http_request_parser_bad_version[HttpRequestParser0-pyloop] PASSED [ 37%] test_http_parser.py::test_http_request_parser_bad_version[HttpRequestParser1-pyloop] PASSED [ 37%] test_http_parser.py::test_http_request_max_status_line[HttpRequestParser0-pyloop-40965] PASSED [ 37%] test_http_parser.py::test_http_request_max_status_line[HttpRequestParser0-pyloop-8191] PASSED [ 38%] test_http_parser.py::test_http_request_max_status_line[HttpRequestParser1-pyloop-40965] PASSED [ 38%] test_http_parser.py::test_http_request_max_status_line[HttpRequestParser1-pyloop-8191] PASSED [ 38%] test_http_parser.py::test_http_request_max_status_line_under_limit[HttpRequestParser0-pyloop] PASSED [ 38%] test_http_parser.py::test_http_request_max_status_line_under_limit[HttpRequestParser1-pyloop] PASSED [ 38%] test_http_parser.py::test_http_response_parser_utf8[HttpResponseParser0-pyloop] PASSED [ 38%] test_http_parser.py::test_http_response_parser_utf8[HttpResponseParser1-pyloop] PASSED [ 38%] test_http_parser.py::test_http_response_parser_bad_status_line_too_long[HttpResponseParser0-pyloop-40962] PASSED [ 38%] test_http_parser.py::test_http_response_parser_bad_status_line_too_long[HttpResponseParser0-pyloop-8191] PASSED [ 38%] test_http_parser.py::test_http_response_parser_bad_status_line_too_long[HttpResponseParser1-pyloop-40962] PASSED [ 38%] test_http_parser.py::test_http_response_parser_bad_status_line_too_long[HttpResponseParser1-pyloop-8191] PASSED [ 38%] test_http_parser.py::test_http_response_parser_status_line_under_limit[HttpResponseParser0-pyloop] PASSED [ 38%] test_http_parser.py::test_http_response_parser_status_line_under_limit[HttpResponseParser1-pyloop] PASSED [ 38%] test_http_parser.py::test_http_response_parser_bad_version[HttpResponseParser0-pyloop] PASSED [ 38%] test_http_parser.py::test_http_response_parser_bad_version[HttpResponseParser1-pyloop] PASSED [ 38%] test_http_parser.py::test_http_response_parser_no_reason[HttpResponseParser0-pyloop] PASSED [ 38%] test_http_parser.py::test_http_response_parser_no_reason[HttpResponseParser1-pyloop] PASSED [ 38%] test_http_parser.py::test_http_response_parser_bad[HttpResponseParser0-pyloop] PASSED [ 38%] test_http_parser.py::test_http_response_parser_bad[HttpResponseParser1-pyloop] PASSED [ 38%] test_http_parser.py::test_http_response_parser_code_under_100[HttpResponseParser0-pyloop] PASSED [ 38%] test_http_parser.py::test_http_response_parser_code_under_100[HttpResponseParser1-pyloop] PASSED [ 38%] test_http_parser.py::test_http_response_parser_code_above_999[HttpResponseParser0-pyloop] PASSED [ 38%] test_http_parser.py::test_http_response_parser_code_above_999[HttpResponseParser1-pyloop] PASSED [ 38%] test_http_parser.py::test_http_response_parser_code_not_int[HttpResponseParser0-pyloop] PASSED [ 38%] test_http_parser.py::test_http_response_parser_code_not_int[HttpResponseParser1-pyloop] PASSED [ 38%] test_http_parser.py::test_http_request_chunked_payload[HttpRequestParser0-pyloop] PASSED [ 39%] test_http_parser.py::test_http_request_chunked_payload[HttpRequestParser1-pyloop] PASSED [ 39%] test_http_parser.py::test_http_request_chunked_payload_and_next_message[HttpRequestParser0-pyloop] PASSED [ 39%] test_http_parser.py::test_http_request_chunked_payload_and_next_message[HttpRequestParser1-pyloop] PASSED [ 39%] test_http_parser.py::test_http_request_chunked_payload_chunks[HttpRequestParser0-pyloop] PASSED [ 39%] test_http_parser.py::test_http_request_chunked_payload_chunks[HttpRequestParser1-pyloop] PASSED [ 39%] test_http_parser.py::test_parse_chunked_payload_chunk_extension[HttpRequestParser0-pyloop] PASSED [ 39%] test_http_parser.py::test_parse_chunked_payload_chunk_extension[HttpRequestParser1-pyloop] PASSED [ 39%] test_http_parser.py::test_parse_payload_response_without_body[HttpResponseParser0-pyloop] PASSED [ 39%] test_http_parser.py::test_parse_payload_response_without_body[HttpResponseParser1-pyloop] PASSED [ 39%] test_http_parser.py::test_parse_length_payload[HttpResponseParser0-pyloop] PASSED [ 39%] test_http_parser.py::test_parse_length_payload[HttpResponseParser1-pyloop] PASSED [ 39%] test_http_parser.py::test_parse_no_length_payload[HttpRequestParser0-pyloop] PASSED [ 39%] test_http_parser.py::test_parse_no_length_payload[HttpRequestParser1-pyloop] PASSED [ 39%] test_http_parser.py::test_partial_url[HttpRequestParser0-pyloop] PASSED [ 39%] test_http_parser.py::test_partial_url[HttpRequestParser1-pyloop] PASSED [ 39%] test_http_parser.py::test_url_parse_non_strict_mode[HttpRequestParser0-pyloop] PASSED [ 39%] test_http_parser.py::test_url_parse_non_strict_mode[HttpRequestParser1-pyloop] PASSED [ 39%] test_http_parser.py::test_parse_uri_percent_encoded[HttpRequestParser0-pyloop-/path%23frag-/path#frag-query0-] PASSED [ 39%] test_http_parser.py::test_parse_uri_percent_encoded[HttpRequestParser0-pyloop-/path%2523frag-/path%23frag-query1-] PASSED [ 39%] test_http_parser.py::test_parse_uri_percent_encoded[HttpRequestParser0-pyloop-/path?key=value%23frag-/path-query2-] PASSED [ 39%] test_http_parser.py::test_parse_uri_percent_encoded[HttpRequestParser0-pyloop-/path?key=value%2523frag-/path-query3-] PASSED [ 39%] test_http_parser.py::test_parse_uri_percent_encoded[HttpRequestParser0-pyloop-/path#frag%20-/path-query4-frag ] PASSED [ 39%] test_http_parser.py::test_parse_uri_percent_encoded[HttpRequestParser0-pyloop-/path#frag%2520-/path-query5-frag%20] PASSED [ 39%] test_http_parser.py::test_parse_uri_percent_encoded[HttpRequestParser1-pyloop-/path%23frag-/path#frag-query0-] PASSED [ 39%] test_http_parser.py::test_parse_uri_percent_encoded[HttpRequestParser1-pyloop-/path%2523frag-/path%23frag-query1-] PASSED [ 39%] test_http_parser.py::test_parse_uri_percent_encoded[HttpRequestParser1-pyloop-/path?key=value%23frag-/path-query2-] PASSED [ 40%] test_http_parser.py::test_parse_uri_percent_encoded[HttpRequestParser1-pyloop-/path?key=value%2523frag-/path-query3-] PASSED [ 40%] test_http_parser.py::test_parse_uri_percent_encoded[HttpRequestParser1-pyloop-/path#frag%20-/path-query4-frag ] PASSED [ 40%] test_http_parser.py::test_parse_uri_percent_encoded[HttpRequestParser1-pyloop-/path#frag%2520-/path-query5-frag%20] PASSED [ 40%] test_http_parser.py::test_parse_uri_utf8[HttpRequestParser0-pyloop] PASSED [ 40%] test_http_parser.py::test_parse_uri_utf8[HttpRequestParser1-pyloop] PASSED [ 40%] test_http_parser.py::test_parse_uri_utf8_percent_encoded[HttpRequestParser0-pyloop] PASSED [ 40%] test_http_parser.py::test_parse_uri_utf8_percent_encoded[HttpRequestParser1-pyloop] PASSED [ 40%] test_http_parser.py::test_parse_bad_method_for_c_parser_raises[pyloop] PASSED [ 40%] test_http_parser.py::TestParsePayload::test_parse_eof_payload PASSED [ 40%] test_http_parser.py::TestParsePayload::test_parse_no_body PASSED [ 40%] test_http_parser.py::TestParsePayload::test_parse_length_payload_eof PASSED [ 40%] test_http_parser.py::TestParsePayload::test_parse_chunked_payload_size_error PASSED [ 40%] test_http_parser.py::TestParsePayload::test_parse_chunked_payload_split_end PASSED [ 40%] test_http_parser.py::TestParsePayload::test_parse_chunked_payload_split_end2 PASSED [ 40%] test_http_parser.py::TestParsePayload::test_parse_chunked_payload_split_end_trailers PASSED [ 40%] test_http_parser.py::TestParsePayload::test_parse_chunked_payload_split_end_trailers2 PASSED [ 40%] test_http_parser.py::TestParsePayload::test_parse_chunked_payload_split_end_trailers3 PASSED [ 40%] test_http_parser.py::TestParsePayload::test_parse_chunked_payload_split_end_trailers4 PASSED [ 40%] test_http_parser.py::TestParsePayload::test_http_payload_parser_length PASSED [ 40%] test_http_parser.py::TestParsePayload::test_http_payload_parser_deflate PASSED [ 40%] test_http_parser.py::TestParsePayload::test_http_payload_parser_deflate_no_hdrs PASSED [ 40%] test_http_parser.py::TestParsePayload::test_http_payload_parser_deflate_light PASSED [ 40%] test_http_parser.py::TestParsePayload::test_http_payload_parser_deflate_split PASSED [ 40%] test_http_parser.py::TestParsePayload::test_http_payload_parser_deflate_split_err PASSED [ 40%] test_http_parser.py::TestParsePayload::test_http_payload_parser_length_zero PASSED [ 41%] test_http_parser.py::TestParsePayload::test_http_payload_brotli PASSED [ 41%] test_http_parser.py::TestDeflateBuffer::test_feed_data PASSED [ 41%] test_http_parser.py::TestDeflateBuffer::test_feed_data_err PASSED [ 41%] test_http_parser.py::TestDeflateBuffer::test_feed_eof PASSED [ 41%] test_http_parser.py::TestDeflateBuffer::test_feed_eof_err_deflate PASSED [ 41%] test_http_parser.py::TestDeflateBuffer::test_feed_eof_no_err_gzip PASSED [ 41%] test_http_parser.py::TestDeflateBuffer::test_feed_eof_no_err_brotli PASSED [ 41%] test_http_parser.py::TestDeflateBuffer::test_empty_body PASSED [ 41%] test_http_writer.py::test_payloadwriter_properties[pyloop] PASSED [ 41%] test_http_writer.py::test_write_payload_eof[pyloop] PASSED [ 41%] test_http_writer.py::test_write_payload_chunked[pyloop] PASSED [ 41%] test_http_writer.py::test_write_payload_chunked_multiple[pyloop] PASSED [ 41%] test_http_writer.py::test_write_payload_length[pyloop] PASSED [ 41%] test_http_writer.py::test_write_payload_chunked_filter[pyloop] PASSED [ 41%] test_http_writer.py::test_write_payload_chunked_filter_mutiple_chunks[pyloop] PASSED [ 41%] test_http_writer.py::test_write_payload_deflate_compression[pyloop] PASSED [ 41%] test_http_writer.py::test_write_payload_deflate_and_chunked[pyloop] PASSED [ 41%] test_http_writer.py::test_write_payload_bytes_memoryview[pyloop] PASSED [ 41%] test_http_writer.py::test_write_payload_short_ints_memoryview[pyloop] PASSED [ 41%] test_http_writer.py::test_write_payload_2d_shape_memoryview[pyloop] PASSED [ 41%] test_http_writer.py::test_write_payload_slicing_long_memoryview[pyloop] PASSED [ 41%] test_http_writer.py::test_write_drain[pyloop] PASSED [ 41%] test_http_writer.py::test_write_calls_callback[pyloop] PASSED [ 41%] test_http_writer.py::test_write_eof_calls_callback[pyloop] PASSED [ 41%] test_http_writer.py::test_write_to_closing_transport[pyloop] PASSED [ 41%] test_http_writer.py::test_drain[pyloop] PASSED [ 42%] test_http_writer.py::test_drain_no_transport[pyloop] PASSED [ 42%] test_locks.py::TestEventResultOrError::test_set_exception[pyloop] FAILED [ 42%] test_locks.py::TestEventResultOrError::test_set[pyloop] FAILED [ 42%] test_locks.py::TestEventResultOrError::test_cancel_waiters[pyloop] FAILED [ 42%] test_loop.py::test_subprocess_co[pyloop] PASSED [ 42%] test_loop.py::TestCase::test_default_loop FAILED [ 42%] test_loop.py::TestCase::test_on_startup_hook FAILED [ 42%] test_loop.py::test_default_loop[pyloop] PASSED [ 42%] test_multipart.py::TestMultipartResponseWrapper::test_at_eof PASSED [ 42%] test_multipart.py::TestMultipartResponseWrapper::test_next PASSED [ 42%] test_multipart.py::TestMultipartResponseWrapper::test_release PASSED [ 42%] test_multipart.py::TestMultipartResponseWrapper::test_release_when_stream_at_eof PASSED [ 42%] test_multipart.py::TestPartReader::test_next PASSED [ 42%] test_multipart.py::TestPartReader::test_next_next PASSED [ 42%] test_multipart.py::TestPartReader::test_read PASSED [ 42%] test_multipart.py::TestPartReader::test_read_chunk_at_eof PASSED [ 42%] test_multipart.py::TestPartReader::test_read_chunk_without_content_length PASSED [ 42%] test_multipart.py::TestPartReader::test_read_incomplete_chunk PASSED [ 42%] test_multipart.py::TestPartReader::test_read_all_at_once PASSED [ 42%] test_multipart.py::TestPartReader::test_read_incomplete_body_chunked PASSED [ 42%] test_multipart.py::TestPartReader::test_read_boundary_with_incomplete_chunk PASSED [ 42%] test_multipart.py::TestPartReader::test_multi_read_chunk PASSED [ 42%] test_multipart.py::TestPartReader::test_read_chunk_properly_counts_read_bytes PASSED [ 42%] test_multipart.py::TestPartReader::test_read_does_not_read_boundary PASSED [ 42%] test_multipart.py::TestPartReader::test_multiread PASSED [ 43%] test_multipart.py::TestPartReader::test_read_multiline PASSED [ 43%] test_multipart.py::TestPartReader::test_read_respects_content_length PASSED [ 43%] test_multipart.py::TestPartReader::test_read_with_content_encoding_gzip PASSED [ 43%] test_multipart.py::TestPartReader::test_read_with_content_encoding_deflate PASSED [ 43%] test_multipart.py::TestPartReader::test_read_with_content_encoding_identity PASSED [ 43%] test_multipart.py::TestPartReader::test_read_with_content_encoding_unknown PASSED [ 43%] test_multipart.py::TestPartReader::test_read_with_content_transfer_encoding_base64 PASSED [ 43%] test_multipart.py::TestPartReader::test_read_with_content_transfer_encoding_quoted_printable PASSED [ 43%] test_multipart.py::TestPartReader::test_read_with_content_transfer_encoding_binary[binary] PASSED [ 43%] test_multipart.py::TestPartReader::test_read_with_content_transfer_encoding_binary[8bit] PASSED [ 43%] test_multipart.py::TestPartReader::test_read_with_content_transfer_encoding_binary[7bit] PASSED [ 43%] test_multipart.py::TestPartReader::test_read_with_content_transfer_encoding_unknown PASSED [ 43%] test_multipart.py::TestPartReader::test_read_text PASSED [ 43%] test_multipart.py::TestPartReader::test_read_text_default_encoding PASSED [ 43%] test_multipart.py::TestPartReader::test_read_text_encoding PASSED [ 43%] test_multipart.py::TestPartReader::test_read_text_guess_encoding PASSED [ 43%] test_multipart.py::TestPartReader::test_read_text_compressed PASSED [ 43%] test_multipart.py::TestPartReader::test_read_text_while_closed PASSED [ 43%] test_multipart.py::TestPartReader::test_read_json PASSED [ 43%] test_multipart.py::TestPartReader::test_read_json_encoding PASSED [ 43%] test_multipart.py::TestPartReader::test_read_json_guess_encoding PASSED [ 43%] test_multipart.py::TestPartReader::test_read_json_compressed PASSED [ 43%] test_multipart.py::TestPartReader::test_read_json_while_closed PASSED [ 43%] test_multipart.py::TestPartReader::test_read_form PASSED [ 43%] test_multipart.py::TestPartReader::test_read_form_encoding PASSED [ 44%] test_multipart.py::TestPartReader::test_read_form_guess_encoding PASSED [ 44%] test_multipart.py::TestPartReader::test_read_form_while_closed PASSED [ 44%] test_multipart.py::TestPartReader::test_readline PASSED [ 44%] test_multipart.py::TestPartReader::test_release PASSED [ 44%] test_multipart.py::TestPartReader::test_release_respects_content_length PASSED [ 44%] test_multipart.py::TestPartReader::test_release_release PASSED [ 44%] test_multipart.py::TestPartReader::test_filename PASSED [ 44%] test_multipart.py::TestPartReader::test_reading_long_part PASSED [ 44%] test_multipart.py::TestMultipartReader::test_from_response PASSED [ 44%] test_multipart.py::TestMultipartReader::test_bad_boundary PASSED [ 44%] test_multipart.py::TestMultipartReader::test_dispatch PASSED [ 44%] test_multipart.py::TestMultipartReader::test_dispatch_bodypart PASSED [ 44%] test_multipart.py::TestMultipartReader::test_dispatch_multipart PASSED [ 44%] test_multipart.py::TestMultipartReader::test_dispatch_custom_multipart_reader PASSED [ 44%] test_multipart.py::TestMultipartReader::test_emit_next PASSED [ 44%] test_multipart.py::TestMultipartReader::test_invalid_boundary PASSED [ 44%] test_multipart.py::TestMultipartReader::test_release PASSED [ 44%] test_multipart.py::TestMultipartReader::test_release_release PASSED [ 44%] test_multipart.py::TestMultipartReader::test_release_next PASSED [ 44%] test_multipart.py::TestMultipartReader::test_second_next_releases_previous_object PASSED [ 44%] test_multipart.py::TestMultipartReader::test_release_without_read_the_last_object PASSED [ 44%] test_multipart.py::TestMultipartReader::test_read_chunk_by_length_doesnt_breaks_reader PASSED [ 44%] test_multipart.py::TestMultipartReader::test_read_chunk_from_stream_doesnt_breaks_reader PASSED [ 44%] test_multipart.py::TestMultipartReader::test_reading_skips_prelude PASSED [ 44%] test_multipart.py::test_writer PASSED [ 44%] test_multipart.py::test_writer_serialize_io_chunk PASSED [ 45%] test_multipart.py::test_writer_serialize_json PASSED [ 45%] test_multipart.py::test_writer_serialize_form PASSED [ 45%] test_multipart.py::test_writer_serialize_form_dict PASSED [ 45%] test_multipart.py::test_writer_write PASSED [ 45%] test_multipart.py::test_writer_write_no_close_boundary PASSED [ 45%] test_multipart.py::test_writer_write_no_parts PASSED [ 45%] test_multipart.py::test_writer_serialize_with_content_encoding_gzip PASSED [ 45%] test_multipart.py::test_writer_serialize_with_content_encoding_deflate PASSED [ 45%] test_multipart.py::test_writer_serialize_with_content_encoding_identity PASSED [ 45%] test_multipart.py::test_writer_serialize_with_content_encoding_unknown PASSED [ 45%] test_multipart.py::test_writer_with_content_transfer_encoding_base64 PASSED [ 45%] test_multipart.py::test_writer_content_transfer_encoding_quote_printable PASSED [ 45%] test_multipart.py::test_writer_content_transfer_encoding_unknown PASSED [ 45%] test_multipart.py::TestMultipartWriter::test_default_subtype PASSED [ 45%] test_multipart.py::TestMultipartWriter::test_unquoted_boundary PASSED [ 45%] test_multipart.py::TestMultipartWriter::test_quoted_boundary PASSED [ 45%] test_multipart.py::TestMultipartWriter::test_bad_boundary PASSED [ 45%] test_multipart.py::TestMultipartWriter::test_default_headers PASSED [ 45%] test_multipart.py::TestMultipartWriter::test_iter_parts PASSED [ 45%] test_multipart.py::TestMultipartWriter::test_append PASSED [ 45%] test_multipart.py::TestMultipartWriter::test_append_with_headers PASSED [ 45%] test_multipart.py::TestMultipartWriter::test_append_json PASSED [ 45%] test_multipart.py::TestMultipartWriter::test_append_part PASSED [ 45%] test_multipart.py::TestMultipartWriter::test_append_json_overrides_content_type PASSED [ 45%] test_multipart.py::TestMultipartWriter::test_append_form PASSED [ 46%] test_multipart.py::TestMultipartWriter::test_append_multipart PASSED [ 46%] test_multipart.py::TestMultipartWriter::test_with PASSED [ 46%] test_multipart.py::TestMultipartWriter::test_append_int_not_allowed PASSED [ 46%] test_multipart.py::TestMultipartWriter::test_append_float_not_allowed PASSED [ 46%] test_multipart.py::TestMultipartWriter::test_append_none_not_allowed PASSED [ 46%] test_multipart.py::TestMultipartWriter::test_write_preserves_content_disposition PASSED [ 46%] test_multipart.py::TestMultipartWriter::test_preserve_content_disposition_header PASSED [ 46%] test_multipart.py::TestMultipartWriter::test_set_content_disposition_override PASSED [ 46%] test_multipart.py::TestMultipartWriter::test_reset_content_disposition_header PASSED [ 46%] test_multipart.py::test_async_for_reader PASSED [ 46%] test_multipart.py::test_async_for_bodypart PASSED [ 46%] test_multipart_helpers.py::TestParseContentDisposition::test_parse_empty PASSED [ 46%] test_multipart_helpers.py::TestParseContentDisposition::test_inlonly PASSED [ 46%] test_multipart_helpers.py::TestParseContentDisposition::test_inlonlyquoted PASSED [ 46%] test_multipart_helpers.py::TestParseContentDisposition::test_semicolon PASSED [ 46%] test_multipart_helpers.py::TestParseContentDisposition::test_inlwithasciifilename PASSED [ 46%] test_multipart_helpers.py::TestParseContentDisposition::test_inlwithfnattach PASSED [ 46%] test_multipart_helpers.py::TestParseContentDisposition::test_attonly PASSED [ 46%] test_multipart_helpers.py::TestParseContentDisposition::test_attonlyquoted PASSED [ 46%] test_multipart_helpers.py::TestParseContentDisposition::test_attonlyucase PASSED [ 46%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithasciifilename PASSED [ 46%] test_multipart_helpers.py::TestParseContentDisposition::test_inlwithasciifilenamepdf PASSED [ 46%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithasciifilename25 PASSED [ 46%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithasciifilename35 PASSED [ 46%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithasciifnescapedchar PASSED [ 46%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithasciifnescapedquote PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithquotedsemicolon SKIPPED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfilenameandextparam PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfilenameandextparamescaped PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithasciifilenameucase PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithasciifilenamenq PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithtokfncommanq PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithasciifilenamenqs PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attemptyparam PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithasciifilenamenqws PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfntokensq PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithisofnplain PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithutf8fnplain PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfnrawpctenca PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfnusingpct PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfnrawpctencaq PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithnamepct PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfilenamepctandiso PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfnrawpctenclong PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithasciifilenamews1 PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attwith2filenames PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attfnbrokentoken PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attfnbrokentokeniso PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attfnbrokentokenutf PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attmissingdisposition PASSED [ 47%] test_multipart_helpers.py::TestParseContentDisposition::test_attmissingdisposition2 PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attmissingdisposition3 PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attmissingdisposition4 PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_emptydisposition PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_doublecolon PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attandinline PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attandinline2 PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attbrokenquotedfn PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attbrokenquotedfn2 PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attbrokenquotedfn3 PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attmultinstances PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attmissingdelim PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attmissingdelim2 PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attmissingdelim3 PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attreversed PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attconfusedparam PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attabspath PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attabspathwin PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attcdate PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attmdate PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_dispext PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_dispextbadfn PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithisofn2231iso PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfn2231utf8 PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfn2231noc PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfn2231utf8comp PASSED [ 48%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfn2231utf8_bad SKIPPED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfn2231iso_bad SKIPPED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfn2231ws1 PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfn2231ws2 PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfn2231ws3 PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfn2231quot PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfn2231quot2 PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfn2231singleqmissing PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfn2231nbadpct1 SKIPPED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfn2231nbadpct2 SKIPPED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfn2231dpct PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attwithfn2231abspathdisguised PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attfncont PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attfncontqs PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attfncontenc PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attfncontlz PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attfncontnc PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attfnconts1 PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attfncontord PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attfnboth PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attfnboth2 PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attfnboth3 PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attnewandfn PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attrfc2047token PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_attrfc2047quoted PASSED [ 49%] test_multipart_helpers.py::TestParseContentDisposition::test_bad_continuous_param PASSED [ 50%] test_multipart_helpers.py::TestContentDispositionFilename::test_no_filename PASSED [ 50%] test_multipart_helpers.py::TestContentDispositionFilename::test_filename PASSED [ 50%] test_multipart_helpers.py::TestContentDispositionFilename::test_filename_ext PASSED [ 50%] test_multipart_helpers.py::TestContentDispositionFilename::test_attfncont PASSED [ 50%] test_multipart_helpers.py::TestContentDispositionFilename::test_attfncontqs PASSED [ 50%] test_multipart_helpers.py::TestContentDispositionFilename::test_attfncontenc PASSED [ 50%] test_multipart_helpers.py::TestContentDispositionFilename::test_attfncontlz PASSED [ 50%] test_multipart_helpers.py::TestContentDispositionFilename::test_attfncontnc PASSED [ 50%] test_multipart_helpers.py::TestContentDispositionFilename::test_attfnconts1 PASSED [ 50%] test_multipart_helpers.py::TestContentDispositionFilename::test_attfnboth PASSED [ 50%] test_multipart_helpers.py::TestContentDispositionFilename::test_attfnboth3 PASSED [ 50%] test_multipart_helpers.py::TestContentDispositionFilename::test_attrfc2047quoted PASSED [ 50%] test_payload.py::test_register_type PASSED [ 50%] test_payload.py::test_register_unsupported_order PASSED [ 50%] test_payload.py::test_payload_ctor PASSED [ 50%] test_payload.py::test_payload_content_type PASSED [ 50%] test_payload.py::test_bytes_payload_default_content_type PASSED [ 50%] test_payload.py::test_bytes_payload_explicit_content_type PASSED [ 50%] test_payload.py::test_bytes_payload_bad_type PASSED [ 50%] test_payload.py::test_bytes_payload_memoryview_correct_size PASSED [ 50%] test_payload.py::test_string_payload PASSED [ 50%] test_payload.py::test_string_io_payload PASSED [ 50%] test_payload.py::test_async_iterable_payload_default_content_type PASSED [ 50%] test_payload.py::test_async_iterable_payload_explicit_content_type PASSED [ 50%] test_payload.py::test_async_iterable_payload_not_async_iterable PASSED [ 51%] test_payload.py::test_stream_reader_long_lines PASSED [ 51%] test_proxy.py::TestProxy::test_connect PASSED [ 51%] test_proxy.py::TestProxy::test_https_auth PASSED [ 51%] test_proxy.py::TestProxy::test_https_connect PASSED [ 51%] test_proxy.py::TestProxy::test_https_connect_certificate_error PASSED [ 51%] test_proxy.py::TestProxy::test_https_connect_http_proxy_error PASSED [ 51%] test_proxy.py::TestProxy::test_https_connect_pass_ssl_context PASSED [ 51%] test_proxy.py::TestProxy::test_https_connect_resp_start_error PASSED [ 51%] test_proxy.py::TestProxy::test_https_connect_runtime_error PASSED [ 51%] test_proxy.py::TestProxy::test_https_connect_ssl_error PASSED [ 51%] test_proxy.py::TestProxy::test_proxy_auth PASSED [ 51%] test_proxy.py::TestProxy::test_proxy_auth_property PASSED [ 51%] test_proxy.py::TestProxy::test_proxy_auth_property_default PASSED [ 51%] test_proxy.py::TestProxy::test_proxy_connection_error PASSED [ 51%] test_proxy.py::TestProxy::test_proxy_dns_error PASSED [ 51%] test_proxy.py::TestProxy::test_proxy_headers PASSED [ 51%] test_proxy.py::TestProxy::test_request_port PASSED [ 51%] test_proxy_functional.py::test_proxy_http_absolute_path[pyloop] FAILED [ 51%] test_proxy_functional.py::test_proxy_http_raw_path[pyloop] FAILED [ 51%] test_proxy_functional.py::test_proxy_http_idna_support[pyloop] FAILED [ 51%] test_proxy_functional.py::test_proxy_http_connection_error[pyloop] PASSED [ 51%] test_proxy_functional.py::test_proxy_http_bad_response[pyloop] FAILED [ 51%] test_proxy_functional.py::test_proxy_http_auth[pyloop] FAILED [ 51%] test_proxy_functional.py::test_proxy_http_auth_utf8[pyloop] FAILED [ 51%] test_proxy_functional.py::test_proxy_http_auth_from_url[pyloop] FAILED [ 51%] test_proxy_functional.py::test_proxy_http_acquired_cleanup[pyloop] FAILED [ 52%] test_proxy_functional.py::test_proxy_http_acquired_cleanup_force[pyloop] SKIPPED [ 52%] test_proxy_functional.py::test_proxy_http_multi_conn_limit[pyloop] SKIPPED [ 52%] test_proxy_functional.py::test_proxy_https_connection_error[pyloop] PASSED [ 52%] test_proxy_functional.py::test_proxy_https_bad_response[pyloop] FAILED [ 52%] test_proxy_functional.py::test_proxy_from_env_http[pyloop] FAILED [ 52%] test_proxy_functional.py::test_proxy_from_env_http_with_auth[pyloop] FAILED [ 52%] test_proxy_functional.py::test_proxy_from_env_http_with_auth_from_netrc[pyloop] FAILED [ 52%] test_proxy_functional.py::test_proxy_from_env_http_without_auth_from_netrc[pyloop] FAILED [ 52%] test_proxy_functional.py::test_proxy_from_env_http_without_auth_from_wrong_netrc[pyloop] FAILED [ 52%] test_proxy_functional.py::test_proxy_auth PASSED [ 52%] test_pytest_plugin.py::test_aiohttp_plugin PASSED [ 52%] test_pytest_plugin.py::test_warning_checks PASSED [ 52%] test_pytest_plugin.py::test_aiohttp_plugin_async_fixture PASSED [ 52%] test_pytest_plugin.py::test_aiohttp_plugin_async_gen_fixture PASSED [ 52%] test_resolver.py::test_async_resolver_positive_lookup[pyloop] SKIPPED [ 52%] test_resolver.py::test_async_resolver_query_positive_lookup[pyloop] SKIPPED [ 52%] test_resolver.py::test_async_resolver_multiple_replies[pyloop] SKIPPED [ 52%] test_resolver.py::test_async_resolver_query_multiple_replies[pyloop] SKIPPED [ 52%] test_resolver.py::test_async_resolver_negative_lookup[pyloop] SKIPPED [ 52%] test_resolver.py::test_async_resolver_query_negative_lookup[pyloop] SKIPPED [ 52%] test_resolver.py::test_async_resolver_no_hosts_in_query[pyloop] SKIPPED [ 52%] test_resolver.py::test_async_resolver_no_hosts_in_gethostbyname[pyloop] SKIPPED [ 52%] test_resolver.py::test_threaded_resolver_positive_lookup PASSED [ 52%] test_resolver.py::test_threaded_resolver_multiple_replies PASSED [ 52%] test_resolver.py::test_threaded_negative_lookup PASSED [ 53%] test_resolver.py::test_close_for_threaded_resolver[pyloop] PASSED [ 53%] test_resolver.py::test_close_for_async_resolver[pyloop] SKIPPED [ 53%] test_resolver.py::test_default_loop_for_threaded_resolver[pyloop] PASSED [ 53%] test_resolver.py::test_default_loop_for_async_resolver[pyloop] SKIPPED [ 53%] test_resolver.py::test_async_resolver_ipv6_positive_lookup[pyloop] SKIPPED [ 53%] test_resolver.py::test_async_resolver_query_ipv6_positive_lookup[pyloop] SKIPPED [ 53%] test_resolver.py::test_async_resolver_aiodns_not_present[pyloop] PASSED [ 53%] test_resolver.py::test_default_resolver PASSED [ 53%] test_route_def.py::test_get PASSED [ 53%] test_route_def.py::test_head PASSED [ 53%] test_route_def.py::test_options PASSED [ 53%] test_route_def.py::test_post PASSED [ 53%] test_route_def.py::test_put PASSED [ 53%] test_route_def.py::test_patch PASSED [ 53%] test_route_def.py::test_delete PASSED [ 53%] test_route_def.py::test_route PASSED [ 53%] test_route_def.py::test_static PASSED [ 53%] test_route_def.py::test_head_deco PASSED [ 53%] test_route_def.py::test_get_deco PASSED [ 53%] test_route_def.py::test_post_deco PASSED [ 53%] test_route_def.py::test_put_deco PASSED [ 53%] test_route_def.py::test_patch_deco PASSED [ 53%] test_route_def.py::test_delete_deco PASSED [ 53%] test_route_def.py::test_route_deco PASSED [ 53%] test_route_def.py::test_routedef_sequence_protocol PASSED [ 53%] test_route_def.py::test_repr_route_def PASSED [ 54%] test_route_def.py::test_repr_route_def_with_extra_info PASSED [ 54%] test_route_def.py::test_repr_static_def PASSED [ 54%] test_route_def.py::test_repr_route_table_def PASSED [ 54%] test_run_app.py::test_run_app_http[pyloop] FAILED [ 54%] test_run_app.py::test_run_app_close_loop[pyloop] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-Nothing Specified] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-Port Only] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-Multiple Hosts] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-Multiple Paths] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-Multiple Paths, Port] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-Multiple Paths, Single Host] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-Single Path, Single Host] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-Single Path, Multiple Hosts] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-Single Path, Port] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-Multiple Paths, Multiple Hosts, Port] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-Only socket] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-Socket, port] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-Socket, Host, No port] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-reuse_port] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-reuse_address] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-reuse_port, reuse_address] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-Port, reuse_port] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-Multiple Hosts, reuse_port] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-Multiple Paths, Port, reuse_address] FAILED [ 54%] test_run_app.py::test_run_app_mixed_bindings[pyloop-Multiple Paths, Single Host, reuse_address, reuse_port] FAILED [ 55%] test_run_app.py::test_run_app_https[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_nondefault_host_port[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_multiple_hosts[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_custom_backlog[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_custom_backlog_unix[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_http_unix_socket[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_https_unix_socket[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_abstract_linux_socket[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_preexisting_inet_socket[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_preexisting_inet6_socket[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_preexisting_unix_socket[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_multiple_preexisting_sockets[pyloop] FAILED [ 55%] test_run_app.py::test_sigint PASSED [ 55%] test_run_app.py::test_sigterm PASSED [ 55%] test_run_app.py::test_startup_cleanup_signals_even_on_failure[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_coro[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_default_logger[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_default_logger_setup_requires_debug[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_default_logger_setup_requires_default_logger[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_default_logger_setup_only_if_unconfigured[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_cancels_all_pending_tasks[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_cancels_done_tasks[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_cancels_failed_tasks[pyloop] FAILED [ 55%] test_run_app.py::test_run_app_context_vars[pyloop] FAILED [ 55%] test_signals.py::test_add_signal_handler_not_a_callable PASSED [ 55%] test_signals.py::test_function_signal_dispatch PASSED [ 56%] test_signals.py::test_function_signal_dispatch2 PASSED [ 56%] test_signals.py::test_response_prepare PASSED [ 56%] test_signals.py::test_non_coroutine PASSED [ 56%] test_signals.py::test_setitem PASSED [ 56%] test_signals.py::test_delitem PASSED [ 56%] test_signals.py::test_cannot_append_to_frozen_signal PASSED [ 56%] test_signals.py::test_cannot_setitem_in_frozen_signal PASSED [ 56%] test_signals.py::test_cannot_delitem_in_frozen_signal PASSED [ 56%] test_signals.py::test_cannot_send_non_frozen_signal PASSED [ 56%] test_signals.py::test_repr PASSED [ 56%] test_streams.py::TestStreamReader::test_create_waiter PASSED [ 56%] test_streams.py::TestStreamReader::test_ctor_global_loop PASSED [ 56%] test_streams.py::TestStreamReader::test_at_eof PASSED [ 56%] test_streams.py::TestStreamReader::test_wait_eof PASSED [ 56%] test_streams.py::TestStreamReader::test_wait_eof_eof PASSED [ 56%] test_streams.py::TestStreamReader::test_feed_empty_data PASSED [ 56%] test_streams.py::TestStreamReader::test_feed_nonempty_data PASSED [ 56%] test_streams.py::TestStreamReader::test_read_zero PASSED [ 56%] test_streams.py::TestStreamReader::test_read PASSED [ 56%] test_streams.py::TestStreamReader::test_read_line_breaks PASSED [ 56%] test_streams.py::TestStreamReader::test_read_all PASSED [ 56%] test_streams.py::TestStreamReader::test_read_up_to PASSED [ 56%] test_streams.py::TestStreamReader::test_read_eof PASSED [ 56%] test_streams.py::TestStreamReader::test_read_eof_infinite PASSED [ 56%] test_streams.py::TestStreamReader::test_read_eof_unread_data_no_warning PASSED [ 57%] test_streams.py::TestStreamReader::test_read_until_eof PASSED [ 57%] test_streams.py::TestStreamReader::test_read_exception PASSED [ 57%] test_streams.py::TestStreamReader::test_readline PASSED [ 57%] test_streams.py::TestStreamReader::test_readline_limit_with_existing_data PASSED [ 57%] test_streams.py::TestStreamReader::test_readline_limit PASSED [ 57%] test_streams.py::TestStreamReader::test_readline_nolimit_nowait PASSED [ 57%] test_streams.py::TestStreamReader::test_readline_eof PASSED [ 57%] test_streams.py::TestStreamReader::test_readline_empty_eof PASSED [ 57%] test_streams.py::TestStreamReader::test_readline_read_byte_count PASSED [ 57%] test_streams.py::TestStreamReader::test_readline_exception PASSED [ 57%] test_streams.py::TestStreamReader::test_readexactly_zero_or_less PASSED [ 57%] test_streams.py::TestStreamReader::test_readexactly PASSED [ 57%] test_streams.py::TestStreamReader::test_readexactly_eof PASSED [ 57%] test_streams.py::TestStreamReader::test_readexactly_exception PASSED [ 57%] test_streams.py::TestStreamReader::test_unread_data PASSED [ 57%] test_streams.py::TestStreamReader::test_exception PASSED [ 57%] test_streams.py::TestStreamReader::test_exception_waiter PASSED [ 57%] test_streams.py::TestStreamReader::test_exception_cancel PASSED [ 57%] test_streams.py::TestStreamReader::test_readany_eof PASSED [ 57%] test_streams.py::TestStreamReader::test_readany_empty_eof PASSED [ 57%] test_streams.py::TestStreamReader::test_readany_exception PASSED [ 57%] test_streams.py::TestStreamReader::test_read_nowait PASSED [ 57%] test_streams.py::TestStreamReader::test_read_nowait_n PASSED [ 57%] test_streams.py::TestStreamReader::test_read_nowait_exception PASSED [ 57%] test_streams.py::TestStreamReader::test_read_nowait_waiter PASSED [ 58%] test_streams.py::TestStreamReader::test_readchunk PASSED [ 58%] test_streams.py::TestStreamReader::test_readchunk_wait_eof PASSED [ 58%] test_streams.py::TestStreamReader::test_begin_and_end_chunk_receiving PASSED [ 58%] test_streams.py::TestStreamReader::test_readany_chunk_end_race PASSED [ 58%] test_streams.py::TestStreamReader::test_end_chunk_receiving_without_begin PASSED [ 58%] test_streams.py::TestStreamReader::test_readchunk_with_unread PASSED [ 58%] test_streams.py::TestStreamReader::test_readchunk_with_other_read_calls PASSED [ 58%] test_streams.py::TestStreamReader::test_chunksplits_memory_leak PASSED [ 58%] test_streams.py::TestStreamReader::test_read_empty_chunks PASSED [ 58%] test_streams.py::TestStreamReader::test_readchunk_separate_http_chunk_tail PASSED [ 58%] test_streams.py::TestStreamReader::test___repr__ PASSED [ 58%] test_streams.py::TestStreamReader::test___repr__nondefault_limit PASSED [ 58%] test_streams.py::TestStreamReader::test___repr__eof PASSED [ 58%] test_streams.py::TestStreamReader::test___repr__data PASSED [ 58%] test_streams.py::TestStreamReader::test___repr__exception PASSED [ 58%] test_streams.py::TestStreamReader::test___repr__waiter PASSED [ 58%] test_streams.py::TestStreamReader::test_unread_empty PASSED [ 58%] test_streams.py::test_empty_stream_reader PASSED [ 58%] test_streams.py::TestDataQueue::test_is_eof[pyloop] PASSED [ 58%] test_streams.py::TestDataQueue::test_at_eof[pyloop] PASSED [ 58%] test_streams.py::TestDataQueue::test_feed_data[pyloop] PASSED [ 58%] test_streams.py::TestDataQueue::test_feed_eof[pyloop] PASSED [ 58%] test_streams.py::TestDataQueue::test_read[pyloop] PASSED [ 58%] test_streams.py::TestDataQueue::test_read_eof[pyloop] PASSED [ 58%] test_streams.py::TestDataQueue::test_read_cancelled[pyloop] PASSED [ 58%] test_streams.py::TestDataQueue::test_read_until_eof[pyloop] PASSED [ 59%] test_streams.py::TestDataQueue::test_read_exc[pyloop] PASSED [ 59%] test_streams.py::TestDataQueue::test_read_exception[pyloop] PASSED [ 59%] test_streams.py::TestDataQueue::test_read_exception_with_data[pyloop] PASSED [ 59%] test_streams.py::TestDataQueue::test_read_exception_on_wait[pyloop] PASSED [ 59%] test_streams.py::TestDataQueue::test_exception[pyloop] PASSED [ 59%] test_streams.py::TestDataQueue::test_exception_waiter[pyloop] PASSED [ 59%] test_streams.py::test_feed_data_waiters PASSED [ 59%] test_streams.py::test_feed_data_completed_waiters PASSED [ 59%] test_streams.py::test_feed_eof_waiters PASSED [ 59%] test_streams.py::test_feed_eof_cancelled PASSED [ 59%] test_streams.py::test_on_eof PASSED [ 59%] test_streams.py::test_on_eof_empty_reader PASSED [ 59%] test_streams.py::test_on_eof_exc_in_callback PASSED [ 59%] test_streams.py::test_on_eof_exc_in_callback_empty_stream_reader PASSED [ 59%] test_streams.py::test_on_eof_eof_is_set PASSED [ 59%] test_streams.py::test_on_eof_eof_is_set_exception PASSED [ 59%] test_streams.py::test_set_exception PASSED [ 59%] test_streams.py::test_set_exception_cancelled PASSED [ 59%] test_streams.py::test_set_exception_eof_callbacks PASSED [ 59%] test_streams.py::test_stream_reader_lines PASSED [ 59%] test_streams.py::test_stream_reader_chunks_complete PASSED [ 59%] test_streams.py::test_stream_reader_chunks_incomplete PASSED [ 59%] test_streams.py::test_data_queue_empty PASSED [ 59%] test_streams.py::test_data_queue_items PASSED [ 59%] test_streams.py::test_stream_reader_iter_any PASSED [ 60%] test_streams.py::test_stream_reader_iter PASSED [ 60%] test_streams.py::test_stream_reader_iter_chunks_no_chunked_encoding PASSED [ 60%] test_streams.py::test_stream_reader_iter_chunks_chunked_encoding PASSED [ 60%] test_tcp_helpers.py::test_tcp_nodelay_exception PASSED [ 60%] test_tcp_helpers.py::test_tcp_nodelay_enable PASSED [ 60%] test_tcp_helpers.py::test_tcp_nodelay_enable_and_disable PASSED [ 60%] test_tcp_helpers.py::test_tcp_nodelay_enable_ipv6 PASSED [ 60%] test_tcp_helpers.py::test_tcp_nodelay_enable_unix PASSED [ 60%] test_tcp_helpers.py::test_tcp_nodelay_enable_no_socket PASSED [ 60%] test_test_utils.py::test_with_test_server_fails PASSED [ 60%] test_test_utils.py::test_with_client_fails PASSED [ 60%] test_test_utils.py::test_aiohttp_client_close_is_idempotent PASSED [ 60%] test_test_utils.py::TestAioHTTPTestCase::test_example FAILED [ 60%] test_test_utils.py::TestAioHTTPTestCase::test_example_with_loop FAILED [ 60%] test_test_utils.py::test_get_route ERROR [ 60%] test_test_utils.py::test_client_websocket ERROR [ 60%] test_test_utils.py::test_client_cookie ERROR [ 60%] test_test_utils.py::test_test_client_methods[get] ERROR [ 60%] test_test_utils.py::test_test_client_methods[post0] ERROR [ 60%] test_test_utils.py::test_test_client_methods[options] ERROR [ 60%] test_test_utils.py::test_test_client_methods[post1] ERROR [ 60%] test_test_utils.py::test_test_client_methods[put] ERROR [ 60%] test_test_utils.py::test_test_client_methods[patch] ERROR [ 60%] test_test_utils.py::test_test_client_methods[delete] ERROR [ 60%] test_test_utils.py::test_test_client_head ERROR [ 60%] test_test_utils.py::test_make_mocked_request[headers0] PASSED [ 61%] test_test_utils.py::test_make_mocked_request[headers1] PASSED [ 61%] test_test_utils.py::test_make_mocked_request[headers2] PASSED [ 61%] test_test_utils.py::test_make_mocked_request_sslcontext PASSED [ 61%] test_test_utils.py::test_make_mocked_request_unknown_extra_info PASSED [ 61%] test_test_utils.py::test_make_mocked_request_app PASSED [ 61%] test_test_utils.py::test_make_mocked_request_app_can_store_values PASSED [ 61%] test_test_utils.py::test_make_mocked_request_match_info PASSED [ 61%] test_test_utils.py::test_make_mocked_request_content PASSED [ 61%] test_test_utils.py::test_make_mocked_request_transport PASSED [ 61%] test_test_utils.py::test_test_client_props FAILED [ 61%] test_test_utils.py::test_test_client_raw_server_props FAILED [ 61%] test_test_utils.py::test_test_server_context_manager FAILED [ 61%] test_test_utils.py::test_client_unsupported_arg PASSED [ 61%] test_test_utils.py::test_server_make_url_yarl_compatibility FAILED [ 61%] test_test_utils.py::test_testcase_no_app PASSED [ 61%] test_test_utils.py::test_server_context_manager FAILED [ 61%] test_test_utils.py::test_client_context_manager_response[head] FAILED [ 61%] test_test_utils.py::test_client_context_manager_response[get] FAILED [ 61%] test_test_utils.py::test_client_context_manager_response[post0] FAILED [ 61%] test_test_utils.py::test_client_context_manager_response[options] FAILED [ 61%] test_test_utils.py::test_client_context_manager_response[post1] FAILED [ 61%] test_test_utils.py::test_client_context_manager_response[put] FAILED [ 61%] test_test_utils.py::test_client_context_manager_response[patch] FAILED [ 61%] test_test_utils.py::test_client_context_manager_response[delete] FAILED [ 61%] test_test_utils.py::test_custom_port FAILED [ 62%] test_tracing.py::TestTraceConfig::test_trace_config_ctx_default PASSED [ 62%] test_tracing.py::TestTraceConfig::test_trace_config_ctx_factory PASSED [ 62%] test_tracing.py::TestTraceConfig::test_trace_config_ctx_request_ctx PASSED [ 62%] test_tracing.py::TestTraceConfig::test_freeze PASSED [ 62%] test_tracing.py::TestTrace::test_send[request_start-params0-TraceRequestStartParams] PASSED [ 62%] test_tracing.py::TestTrace::test_send[request_chunk_sent-params1-TraceRequestChunkSentParams] PASSED [ 62%] test_tracing.py::TestTrace::test_send[response_chunk_received-params2-TraceResponseChunkReceivedParams] PASSED [ 62%] test_tracing.py::TestTrace::test_send[request_end-params3-TraceRequestEndParams] PASSED [ 62%] test_tracing.py::TestTrace::test_send[request_exception-params4-TraceRequestExceptionParams] PASSED [ 62%] test_tracing.py::TestTrace::test_send[request_redirect-params5-TraceRequestRedirectParams] PASSED [ 62%] test_tracing.py::TestTrace::test_send[connection_queued_start-params6-TraceConnectionQueuedStartParams] PASSED [ 62%] test_tracing.py::TestTrace::test_send[connection_queued_end-params7-TraceConnectionQueuedEndParams] PASSED [ 62%] test_tracing.py::TestTrace::test_send[connection_create_start-params8-TraceConnectionCreateStartParams] PASSED [ 62%] test_tracing.py::TestTrace::test_send[connection_create_end-params9-TraceConnectionCreateEndParams] PASSED [ 62%] test_tracing.py::TestTrace::test_send[connection_reuseconn-params10-TraceConnectionReuseconnParams] PASSED [ 62%] test_tracing.py::TestTrace::test_send[dns_resolvehost_start-params11-TraceDnsResolveHostStartParams] PASSED [ 62%] test_tracing.py::TestTrace::test_send[dns_resolvehost_end-params12-TraceDnsResolveHostEndParams] PASSED [ 62%] test_tracing.py::TestTrace::test_send[dns_cache_hit-params13-TraceDnsCacheHitParams] PASSED [ 62%] test_tracing.py::TestTrace::test_send[dns_cache_miss-params14-TraceDnsCacheMissParams] PASSED [ 62%] test_urldispatch.py::test_register_uncommon_http_methods PASSED [ 62%] test_urldispatch.py::test_add_route_root PASSED [ 62%] test_urldispatch.py::test_add_route_simple PASSED [ 62%] test_urldispatch.py::test_add_with_matchdict PASSED [ 62%] test_urldispatch.py::test_add_with_matchdict_with_colon PASSED [ 62%] test_urldispatch.py::test_add_route_with_add_get_shortcut PASSED [ 62%] test_urldispatch.py::test_add_route_with_add_post_shortcut PASSED [ 63%] test_urldispatch.py::test_add_route_with_add_put_shortcut PASSED [ 63%] test_urldispatch.py::test_add_route_with_add_patch_shortcut PASSED [ 63%] test_urldispatch.py::test_add_route_with_add_delete_shortcut PASSED [ 63%] test_urldispatch.py::test_add_route_with_add_head_shortcut PASSED [ 63%] test_urldispatch.py::test_add_with_name PASSED [ 63%] test_urldispatch.py::test_add_with_tailing_slash PASSED [ 63%] test_urldispatch.py::test_add_invalid_path PASSED [ 63%] test_urldispatch.py::test_add_url_invalid1 PASSED [ 63%] test_urldispatch.py::test_add_url_invalid2 PASSED [ 63%] test_urldispatch.py::test_add_url_invalid3 PASSED [ 63%] test_urldispatch.py::test_add_url_invalid4 PASSED [ 63%] test_urldispatch.py::test_add_url_escaping PASSED [ 63%] test_urldispatch.py::test_any_method PASSED [ 63%] test_urldispatch.py::test_match_second_result_in_table PASSED [ 63%] test_urldispatch.py::test_raise_method_not_allowed PASSED [ 63%] test_urldispatch.py::test_raise_method_not_found PASSED [ 63%] test_urldispatch.py::test_double_add_url_with_the_same_name PASSED [ 63%] test_urldispatch.py::test_route_plain PASSED [ 63%] test_urldispatch.py::test_route_unknown_route_name PASSED [ 63%] test_urldispatch.py::test_route_dynamic PASSED [ 63%] test_urldispatch.py::test_add_static PASSED [ 63%] test_urldispatch.py::test_add_static_append_version PASSED [ 63%] test_urldispatch.py::test_add_static_append_version_set_from_constructor PASSED [ 63%] test_urldispatch.py::test_add_static_append_version_override_constructor PASSED [ 63%] test_urldispatch.py::test_add_static_append_version_filename_without_slash PASSED [ 64%] test_urldispatch.py::test_add_static_append_version_non_exists_file PASSED [ 64%] test_urldispatch.py::test_add_static_append_version_non_exists_file_without_slash PASSED [ 64%] test_urldispatch.py::test_add_static_append_version_follow_symlink PASSED [ 64%] test_urldispatch.py::test_add_static_append_version_not_follow_symlink PASSED [ 64%] test_urldispatch.py::test_add_static_quoting PASSED [ 64%] test_urldispatch.py::test_plain_not_match PASSED [ 64%] test_urldispatch.py::test_dynamic_not_match PASSED [ 64%] test_urldispatch.py::test_static_not_match PASSED [ 64%] test_urldispatch.py::test_dynamic_with_trailing_slash PASSED [ 64%] test_urldispatch.py::test_len PASSED [ 64%] test_urldispatch.py::test_iter PASSED [ 64%] test_urldispatch.py::test_contains PASSED [ 64%] test_urldispatch.py::test_static_repr PASSED [ 64%] test_urldispatch.py::test_static_adds_slash PASSED [ 64%] test_urldispatch.py::test_static_remove_trailing_slash PASSED [ 64%] test_urldispatch.py::test_add_route_with_re PASSED [ 64%] test_urldispatch.py::test_add_route_with_re_and_slashes PASSED [ 64%] test_urldispatch.py::test_add_route_with_re_not_match PASSED [ 64%] test_urldispatch.py::test_add_route_with_re_including_slashes PASSED [ 64%] test_urldispatch.py::test_add_route_with_invalid_re PASSED [ 64%] test_urldispatch.py::test_route_dynamic_with_regex_spec PASSED [ 64%] test_urldispatch.py::test_route_dynamic_with_regex_spec_and_trailing_slash PASSED [ 64%] test_urldispatch.py::test_route_dynamic_with_regex PASSED [ 64%] test_urldispatch.py::test_route_dynamic_quoting PASSED [ 64%] test_urldispatch.py::test_regular_match_info PASSED [ 65%] test_urldispatch.py::test_match_info_with_plus PASSED [ 65%] test_urldispatch.py::test_not_found_repr PASSED [ 65%] test_urldispatch.py::test_not_allowed_repr PASSED [ 65%] test_urldispatch.py::test_default_expect_handler PASSED [ 65%] test_urldispatch.py::test_custom_expect_handler_plain PASSED [ 65%] test_urldispatch.py::test_custom_expect_handler_dynamic PASSED [ 65%] test_urldispatch.py::test_expect_handler_non_coroutine PASSED [ 65%] test_urldispatch.py::test_dynamic_match_non_ascii PASSED [ 65%] test_urldispatch.py::test_dynamic_match_with_static_part PASSED [ 65%] test_urldispatch.py::test_dynamic_match_two_part2 PASSED [ 65%] test_urldispatch.py::test_dynamic_match_unquoted_path PASSED [ 65%] test_urldispatch.py::test_add_route_not_started_with_slash PASSED [ 65%] test_urldispatch.py::test_add_route_invalid_method PASSED [ 65%] test_urldispatch.py::test_routes_view_len PASSED [ 65%] test_urldispatch.py::test_routes_view_iter PASSED [ 65%] test_urldispatch.py::test_routes_view_contains PASSED [ 65%] test_urldispatch.py::test_routes_abc PASSED [ 65%] test_urldispatch.py::test_named_resources_abc PASSED [ 65%] test_urldispatch.py::test_named_resources PASSED [ 65%] test_urldispatch.py::test_resource_iter PASSED [ 65%] test_urldispatch.py::test_deprecate_bare_generators PASSED [ 65%] test_urldispatch.py::test_view_route PASSED [ 65%] test_urldispatch.py::test_resource_route_match PASSED [ 65%] test_urldispatch.py::test_error_on_double_route_adding PASSED [ 65%] test_urldispatch.py::test_error_on_adding_route_after_wildcard PASSED [ 65%] test_urldispatch.py::test_http_exception_is_none_when_resolved PASSED [ 66%] test_urldispatch.py::test_http_exception_is_not_none_when_not_resolved PASSED [ 66%] test_urldispatch.py::test_match_info_get_info_plain PASSED [ 66%] test_urldispatch.py::test_match_info_get_info_dynamic PASSED [ 66%] test_urldispatch.py::test_match_info_get_info_dynamic2 PASSED [ 66%] test_urldispatch.py::test_static_resource_get_info PASSED [ 66%] test_urldispatch.py::test_system_route_get_info PASSED [ 66%] test_urldispatch.py::test_resources_view_len PASSED [ 66%] test_urldispatch.py::test_resources_view_iter PASSED [ 66%] test_urldispatch.py::test_resources_view_contains PASSED [ 66%] test_urldispatch.py::test_resources_abc PASSED [ 66%] test_urldispatch.py::test_static_route_user_home SKIPPED [ 66%] test_urldispatch.py::test_static_route_points_to_file PASSED [ 66%] test_urldispatch.py::test_404_for_static_resource PASSED [ 66%] test_urldispatch.py::test_405_for_resource_adapter PASSED [ 66%] test_urldispatch.py::test_check_allowed_method_for_found_resource PASSED [ 66%] test_urldispatch.py::test_url_for_in_static_resource PASSED [ 66%] test_urldispatch.py::test_url_for_in_static_resource_pathlib PASSED [ 66%] test_urldispatch.py::test_url_for_in_resource_route PASSED [ 66%] test_urldispatch.py::test_subapp_get_info PASSED [ 66%] test_urldispatch.py::test_domain_validation_error[None-TypeError] PASSED [ 66%] test_urldispatch.py::test_domain_validation_error[-ValueError] PASSED [ 66%] test_urldispatch.py::test_domain_validation_error[http:/dom-ValueError] PASSED [ 66%] test_urldispatch.py::test_domain_validation_error[*.example.com-ValueError] PASSED [ 66%] test_urldispatch.py::test_domain_validation_error[example$com-ValueError] PASSED [ 66%] test_urldispatch.py::test_domain_valid PASSED [ 67%] test_urldispatch.py::test_match_domain[example.com-example.com-True] PASSED [ 67%] test_urldispatch.py::test_match_domain[example.com:81-example.com:81-True] PASSED [ 67%] test_urldispatch.py::test_match_domain[example.com:81-example.com-False] PASSED [ 67%] test_urldispatch.py::test_match_domain[\u043f\u0443\u043d\u0438\u043a\u043e\u0434-xn--d1ahgkhc2a-True] PASSED [ 67%] test_urldispatch.py::test_match_domain[*.example.com-jpg.example.com-True] PASSED [ 67%] test_urldispatch.py::test_match_domain[*.example.com-a.example.com-True] PASSED [ 67%] test_urldispatch.py::test_match_domain[*.example.com-example.com-False] PASSED [ 67%] test_urldispatch.py::test_add_subapp_errors PASSED [ 67%] test_urldispatch.py::test_subapp_rule_resource PASSED [ 67%] test_urldispatch.py::test_add_domain_not_str[pyloop] PASSED [ 67%] test_urldispatch.py::test_add_domain[pyloop] PASSED [ 67%] test_urldispatch.py::test_subapp_url_for PASSED [ 67%] test_urldispatch.py::test_subapp_repr PASSED [ 67%] test_urldispatch.py::test_subapp_len PASSED [ 67%] test_urldispatch.py::test_subapp_iter PASSED [ 67%] test_urldispatch.py::test_invalid_route_name PASSED [ 67%] test_urldispatch.py::test_frozen_router PASSED [ 67%] test_urldispatch.py::test_frozen_router_subapp PASSED [ 67%] test_urldispatch.py::test_frozen_app_on_subapp PASSED [ 67%] test_urldispatch.py::test_set_options_route PASSED [ 67%] test_urldispatch.py::test_dynamic_url_with_name_started_from_underscore PASSED [ 67%] test_urldispatch.py::test_cannot_add_subapp_with_empty_prefix PASSED [ 67%] test_urldispatch.py::test_cannot_add_subapp_with_slash_prefix PASSED [ 67%] test_urldispatch.py::test_convert_empty_path_to_slash_on_freezing PASSED [ 67%] test_urldispatch.py::test_deprecate_non_coroutine PASSED [ 67%] test_urldispatch.py::test_plain_resource_canonical PASSED [ 68%] test_urldispatch.py::test_dynamic_resource_canonical PASSED [ 68%] test_urldispatch.py::test_static_resource_canonical PASSED [ 68%] test_urldispatch.py::test_prefixed_subapp_resource_canonical PASSED [ 68%] test_urldispatch.py::test_prefixed_subapp_overlap PASSED [ 68%] test_urldispatch.py::test_prefixed_subapp_empty_route PASSED [ 68%] test_urldispatch.py::test_prefixed_subapp_root_route PASSED [ 68%] test_web_app.py::test_app_ctor PASSED [ 68%] test_web_app.py::test_app_call PASSED [ 68%] test_web_app.py::test_app_default_loop PASSED [ 68%] test_web_app.py::test_set_loop PASSED [ 68%] test_web_app.py::test_set_loop_default_loop PASSED [ 68%] test_web_app.py::test_set_loop_with_different_loops PASSED [ 68%] test_web_app.py::test_app_make_handler_debug_exc[True] PASSED [ 68%] test_web_app.py::test_app_make_handler_debug_exc[False] PASSED [ 68%] test_web_app.py::test_app_make_handler_args PASSED [ 68%] test_web_app.py::test_app_make_handler_access_log_class PASSED [ 68%] test_web_app.py::test_app_make_handler_raises_deprecation_warning PASSED [ 68%] test_web_app.py::test_app_register_on_finish PASSED [ 68%] test_web_app.py::test_app_register_coro PASSED [ 68%] test_web_app.py::test_non_default_router PASSED [ 68%] test_web_app.py::test_logging PASSED [ 68%] test_web_app.py::test_on_shutdown PASSED [ 68%] test_web_app.py::test_on_startup PASSED [ 68%] test_web_app.py::test_app_delitem PASSED [ 68%] test_web_app.py::test_app_freeze PASSED [ 69%] test_web_app.py::test_equality PASSED [ 69%] test_web_app.py::test_app_run_middlewares PASSED [ 69%] test_web_app.py::test_subapp_pre_frozen_after_adding PASSED [ 69%] test_web_app.py::test_app_inheritance PASSED [ 69%] test_web_app.py::test_app_custom_attr SKIPPED [ 69%] test_web_app.py::test_cleanup_ctx PASSED [ 69%] test_web_app.py::test_cleanup_ctx_exception_on_startup PASSED [ 69%] test_web_app.py::test_cleanup_ctx_exception_on_cleanup PASSED [ 69%] test_web_app.py::test_cleanup_ctx_exception_on_cleanup_multiple PASSED [ 69%] test_web_app.py::test_cleanup_ctx_multiple_yields PASSED [ 69%] test_web_app.py::test_subapp_chained_config_dict_visibility[pyloop] FAILED [ 69%] test_web_app.py::test_subapp_chained_config_dict_overriding[pyloop] FAILED [ 69%] test_web_app.py::test_subapp_on_startup[pyloop] FAILED [ 69%] test_web_app.py::test_app_iter PASSED [ 69%] test_web_app.py::test_app_boolean PASSED [ 69%] test_web_cli.py::test_entry_func_empty PASSED [ 69%] test_web_cli.py::test_entry_func_only_module PASSED [ 69%] test_web_cli.py::test_entry_func_only_function PASSED [ 69%] test_web_cli.py::test_entry_func_only_separator PASSED [ 69%] test_web_cli.py::test_entry_func_relative_module PASSED [ 69%] test_web_cli.py::test_entry_func_non_existent_module PASSED [ 69%] test_web_cli.py::test_entry_func_non_existent_attribute PASSED [ 69%] test_web_cli.py::test_path_when_unsupported PASSED [ 69%] test_web_cli.py::test_entry_func_call PASSED [ 69%] test_web_cli.py::test_running_application PASSED [ 69%] test_web_exceptions.py::test_all_http_exceptions_exported PASSED [ 70%] test_web_exceptions.py::test_HTTPOk PASSED [ 70%] test_web_exceptions.py::test_terminal_classes_has_status_code PASSED [ 70%] test_web_exceptions.py::test_HTTPFound PASSED [ 70%] test_web_exceptions.py::test_HTTPFound_empty_location PASSED [ 70%] test_web_exceptions.py::test_HTTPFound_location_CRLF PASSED [ 70%] test_web_exceptions.py::test_HTTPMethodNotAllowed PASSED [ 70%] test_web_exceptions.py::test_override_body_with_text PASSED [ 70%] test_web_exceptions.py::test_override_body_with_binary PASSED [ 70%] test_web_exceptions.py::test_default_body PASSED [ 70%] test_web_exceptions.py::test_empty_body_204 PASSED [ 70%] test_web_exceptions.py::test_empty_body_205 PASSED [ 70%] test_web_exceptions.py::test_empty_body_304 PASSED [ 70%] test_web_exceptions.py::test_link_header_451 PASSED [ 70%] test_web_exceptions.py::test_HTTPException_retains_cause PASSED [ 70%] test_web_functional.py::test_simple_get[pyloop] FAILED [ 70%] test_web_functional.py::test_simple_get_with_text[pyloop] FAILED [ 70%] test_web_functional.py::test_handler_returns_not_response[pyloop] FAILED [ 70%] test_web_functional.py::test_handler_returns_none[pyloop] FAILED [ 70%] test_web_functional.py::test_head_returns_empty_body[pyloop] FAILED [ 70%] test_web_functional.py::test_response_before_complete[pyloop] FAILED [ 70%] test_web_functional.py::test_post_form[pyloop] FAILED [ 70%] test_web_functional.py::test_post_text[pyloop] FAILED [ 70%] test_web_functional.py::test_post_json[pyloop] FAILED [ 70%] test_web_functional.py::test_multipart[pyloop] FAILED [ 70%] test_web_functional.py::test_multipart_empty[pyloop] FAILED [ 71%] test_web_functional.py::test_multipart_content_transfer_encoding[pyloop] FAILED [ 71%] test_web_functional.py::test_render_redirect[pyloop] FAILED [ 71%] test_web_functional.py::test_post_single_file[pyloop] FAILED [ 71%] test_web_functional.py::test_files_upload_with_same_key[pyloop] FAILED [ 71%] test_web_functional.py::test_post_files[pyloop] FAILED [ 71%] test_web_functional.py::test_release_post_data[pyloop] FAILED [ 71%] test_web_functional.py::test_POST_DATA_with_content_transfer_encoding[pyloop] FAILED [ 71%] test_web_functional.py::test_post_form_with_duplicate_keys[pyloop] FAILED [ 71%] test_web_functional.py::test_repr_for_application PASSED [ 71%] test_web_functional.py::test_expect_default_handler_unknown[pyloop] FAILED [ 71%] test_web_functional.py::test_100_continue[pyloop] FAILED [ 71%] test_web_functional.py::test_100_continue_custom[pyloop] FAILED [ 71%] test_web_functional.py::test_100_continue_custom_response[pyloop] FAILED [ 71%] test_web_functional.py::test_100_continue_for_not_found[pyloop] FAILED [ 71%] test_web_functional.py::test_100_continue_for_not_allowed[pyloop] FAILED [ 71%] test_web_functional.py::test_http11_keep_alive_default[pyloop] FAILED [ 71%] test_web_functional.py::test_http10_keep_alive_default[pyloop] XFAIL [ 71%] test_web_functional.py::test_http10_keep_alive_with_headers_close[pyloop] FAILED [ 71%] test_web_functional.py::test_http10_keep_alive_with_headers[pyloop] FAILED [ 71%] test_web_functional.py::test_upload_file[pyloop] FAILED [ 71%] test_web_functional.py::test_upload_file_object[pyloop] FAILED [ 71%] test_web_functional.py::test_empty_content_for_query_without_body[pyloop-get] FAILED [ 71%] test_web_functional.py::test_empty_content_for_query_without_body[pyloop-post0] FAILED [ 71%] test_web_functional.py::test_empty_content_for_query_without_body[pyloop-options] FAILED [ 71%] test_web_functional.py::test_empty_content_for_query_without_body[pyloop-post1] FAILED [ 72%] test_web_functional.py::test_empty_content_for_query_without_body[pyloop-put] FAILED [ 72%] test_web_functional.py::test_empty_content_for_query_without_body[pyloop-patch] FAILED [ 72%] test_web_functional.py::test_empty_content_for_query_without_body[pyloop-delete] FAILED [ 72%] test_web_functional.py::test_empty_content_for_query_with_body[pyloop] FAILED [ 72%] test_web_functional.py::test_get_with_empty_arg[pyloop] FAILED [ 72%] test_web_functional.py::test_large_header[pyloop] FAILED [ 72%] test_web_functional.py::test_large_header_allowed[pyloop] FAILED [ 72%] test_web_functional.py::test_get_with_empty_arg_with_equal[pyloop] FAILED [ 72%] test_web_functional.py::test_response_with_async_gen[pyloop] FAILED [ 72%] test_web_functional.py::test_response_with_streamer[pyloop] FAILED [ 72%] test_web_functional.py::test_response_with_async_gen_no_params[pyloop] FAILED [ 72%] test_web_functional.py::test_response_with_streamer_no_params[pyloop] FAILED [ 72%] test_web_functional.py::test_response_with_file[pyloop] FAILED [ 72%] test_web_functional.py::test_response_with_file_ctype[pyloop] FAILED [ 72%] test_web_functional.py::test_response_with_payload_disp[pyloop] FAILED [ 72%] test_web_functional.py::test_response_with_payload_stringio[pyloop] FAILED [ 72%] test_web_functional.py::test_response_with_precompressed_body_gzip[pyloop] FAILED [ 72%] test_web_functional.py::test_response_with_precompressed_body_deflate[pyloop] FAILED [ 72%] test_web_functional.py::test_response_with_precompressed_body_deflate_no_hdrs[pyloop] FAILED [ 72%] test_web_functional.py::test_bad_request_payload[pyloop] FAILED [ 72%] test_web_functional.py::test_stream_response_multiple_chunks[pyloop] FAILED [ 72%] test_web_functional.py::test_start_without_routes[pyloop] FAILED [ 72%] test_web_functional.py::test_requests_count[pyloop] FAILED [ 72%] test_web_functional.py::test_redirect_url[pyloop] FAILED [ 72%] test_web_functional.py::test_simple_subapp[pyloop] FAILED [ 72%] test_web_functional.py::test_subapp_reverse_url[pyloop] FAILED [ 73%] test_web_functional.py::test_subapp_reverse_variable_url[pyloop] FAILED [ 73%] test_web_functional.py::test_subapp_reverse_static_url[pyloop] FAILED [ 73%] test_web_functional.py::test_subapp_app[pyloop] FAILED [ 73%] test_web_functional.py::test_subapp_not_found[pyloop] FAILED [ 73%] test_web_functional.py::test_subapp_not_found2[pyloop] FAILED [ 73%] test_web_functional.py::test_subapp_not_allowed[pyloop] FAILED [ 73%] test_web_functional.py::test_subapp_cannot_add_app_in_handler[pyloop] FAILED [ 73%] test_web_functional.py::test_subapp_middlewares[pyloop] PASSED [ 73%] test_web_functional.py::test_subapp_on_response_prepare[pyloop] FAILED [ 73%] test_web_functional.py::test_subapp_on_startup[pyloop] FAILED [ 73%] test_web_functional.py::test_subapp_on_shutdown[pyloop] FAILED [ 73%] test_web_functional.py::test_subapp_on_cleanup[pyloop] FAILED [ 73%] test_web_functional.py::test_subapp_middleware_context[pyloop-/sub/-expected0-AC] FAILED [ 73%] test_web_functional.py::test_subapp_middleware_context[pyloop-/-expected1-AC] FAILED [ 73%] test_web_functional.py::test_subapp_middleware_context[pyloop-/sub/-expected2-A] FAILED [ 73%] test_web_functional.py::test_subapp_middleware_context[pyloop-/-expected3-A] FAILED [ 73%] test_web_functional.py::test_subapp_middleware_context[pyloop-/sub/-expected4-C] FAILED [ 73%] test_web_functional.py::test_subapp_middleware_context[pyloop-/-expected5-C] FAILED [ 73%] test_web_functional.py::test_subapp_middleware_context[pyloop-/sub/-expected6-] FAILED [ 73%] test_web_functional.py::test_subapp_middleware_context[pyloop-/-expected7-] FAILED [ 73%] test_web_functional.py::test_custom_date_header[pyloop] FAILED [ 73%] test_web_functional.py::test_response_prepared_with_clone[pyloop] FAILED [ 73%] test_web_functional.py::test_app_max_client_size[pyloop] FAILED [ 73%] test_web_functional.py::test_app_max_client_size_adjusted[pyloop] FAILED [ 73%] test_web_functional.py::test_app_max_client_size_none[pyloop] FAILED [ 74%] test_web_functional.py::test_post_max_client_size[pyloop] FAILED [ 74%] test_web_functional.py::test_post_max_client_size_for_file[pyloop] FAILED [ 74%] test_web_functional.py::test_response_with_bodypart[pyloop] FAILED [ 74%] test_web_functional.py::test_response_with_bodypart_named[pyloop] FAILED [ 74%] test_web_functional.py::test_response_with_bodypart_invalid_name[pyloop] FAILED [ 74%] test_web_functional.py::test_request_clone[pyloop] FAILED [ 74%] test_web_functional.py::test_await[pyloop] FAILED [ 74%] test_web_functional.py::test_response_context_manager[pyloop] FAILED [ 74%] test_web_functional.py::test_response_context_manager_error[pyloop] FAILED [ 74%] test_web_functional.py::test_context_manager_close_on_release[pyloop] FAILED [ 74%] test_web_functional.py::test_iter_any[pyloop] FAILED [ 74%] test_web_functional.py::test_request_tracing[pyloop] FAILED [ 74%] test_web_functional.py::test_return_http_exception_deprecated[pyloop] FAILED [ 74%] test_web_functional.py::test_request_path[pyloop] FAILED [ 74%] test_web_functional.py::test_app_add_routes[pyloop] FAILED [ 74%] test_web_functional.py::test_request_headers_type[pyloop] FAILED [ 74%] test_web_functional.py::test_signal_on_error_handler[pyloop] FAILED [ 74%] test_web_functional.py::test_bad_method_for_c_http_parser_not_hangs[pyloop] FAILED [ 74%] test_web_functional.py::test_read_bufsize[pyloop] FAILED [ 74%] test_web_functional.py::test_response_101_204_no_content_length_http11[pyloop-101] FAILED [ 74%] test_web_functional.py::test_response_101_204_no_content_length_http11[pyloop-204] FAILED [ 74%] test_web_log.py::test_access_logger_format PASSED [ 74%] test_web_log.py::test_access_logger_atoms PASSED [ 74%] test_web_log.py::test_access_logger_dicts PASSED [ 74%] test_web_log.py::test_access_logger_unix_socket PASSED [ 74%] test_web_log.py::test_logger_no_message PASSED [ 75%] test_web_log.py::test_logger_internal_error PASSED [ 75%] test_web_log.py::test_logger_no_transport PASSED [ 75%] test_web_log.py::test_logger_abc PASSED [ 75%] test_web_log.py::test_contextvars_logger[pyloop] FAILED [ 75%] test_web_middleware.py::test_middleware_modifies_response[pyloop] FAILED [ 75%] test_web_middleware.py::test_middleware_handles_exception[pyloop] FAILED [ 75%] test_web_middleware.py::test_middleware_chain[pyloop] FAILED [ 75%] test_web_middleware.py::test_middleware_subapp[pyloop] FAILED [ 75%] test_web_middleware.py::TestNormalizePathMiddleware::test_add_trailing_when_necessary[pyloop-/resource1-200] FAILED [ 75%] test_web_middleware.py::TestNormalizePathMiddleware::test_add_trailing_when_necessary[pyloop-/resource1/-404] FAILED [ 75%] test_web_middleware.py::TestNormalizePathMiddleware::test_add_trailing_when_necessary[pyloop-/resource2-200] FAILED [ 75%] test_web_middleware.py::TestNormalizePathMiddleware::test_add_trailing_when_necessary[pyloop-/resource2/-200] FAILED [ 75%] test_web_middleware.py::TestNormalizePathMiddleware::test_add_trailing_when_necessary[pyloop-/resource1?p1=1&p2=2-200] FAILED [ 75%] test_web_middleware.py::TestNormalizePathMiddleware::test_add_trailing_when_necessary[pyloop-/resource1/?p1=1&p2=2-404] FAILED [ 75%] test_web_middleware.py::TestNormalizePathMiddleware::test_add_trailing_when_necessary[pyloop-/resource2?p1=1&p2=2-200] FAILED [ 75%] test_web_middleware.py::TestNormalizePathMiddleware::test_add_trailing_when_necessary[pyloop-/resource2/?p1=1&p2=2-200] FAILED [ 75%] test_web_middleware.py::TestNormalizePathMiddleware::test_add_trailing_when_necessary[pyloop-/resource2/a/b%2Fc-200] FAILED [ 75%] test_web_middleware.py::TestNormalizePathMiddleware::test_add_trailing_when_necessary[pyloop-/resource2/a/b%2Fc/-200] FAILED [ 75%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_trailing_when_necessary[pyloop-/resource1-200] FAILED [ 75%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_trailing_when_necessary[pyloop-/resource1/-200] FAILED [ 75%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_trailing_when_necessary[pyloop-/resource2-404] FAILED [ 75%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_trailing_when_necessary[pyloop-/resource2/-200] FAILED [ 75%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_trailing_when_necessary[pyloop-/resource1?p1=1&p2=2-200] FAILED [ 75%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_trailing_when_necessary[pyloop-/resource1/?p1=1&p2=2-200] FAILED [ 75%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_trailing_when_necessary[pyloop-/resource2?p1=1&p2=2-404] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_trailing_when_necessary[pyloop-/resource2/?p1=1&p2=2-200] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_trailing_when_necessary[pyloop-/resource2/a/b%2Fc-404] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_trailing_when_necessary[pyloop-/resource2/a/b%2Fc/-200] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_no_trailing_slash_when_disabled[pyloop-/resource1-200] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_no_trailing_slash_when_disabled[pyloop-/resource1/-404] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_no_trailing_slash_when_disabled[pyloop-/resource2-404] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_no_trailing_slash_when_disabled[pyloop-/resource2/-200] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_no_trailing_slash_when_disabled[pyloop-/resource1?p1=1&p2=2-200] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_no_trailing_slash_when_disabled[pyloop-/resource1/?p1=1&p2=2-404] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_no_trailing_slash_when_disabled[pyloop-/resource2?p1=1&p2=2-404] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_no_trailing_slash_when_disabled[pyloop-/resource2/?p1=1&p2=2-200] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_no_trailing_slash_when_disabled[pyloop-/resource2/a/b%2Fc-404] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_no_trailing_slash_when_disabled[pyloop-/resource2/a/b%2Fc/-200] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_merge_slash[pyloop-/resource1/a/b-200] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_merge_slash[pyloop-/resource1/a/b-200] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_merge_slash[pyloop-/resource1/a/b/-404] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_merge_slash[pyloop-/resource1/a/b-200] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_merge_slash[pyloop-/resource1/a/b-200] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_merge_slash[pyloop-/resource1/a/b/-404] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_merge_slash[pyloop-/resource1/a/b?p=1-200] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_merge_slash[pyloop-/resource1/a/b?p=1-200] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_merge_slash[pyloop-/resource1/a/b/?p=1-404] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_merge_slash[pyloop-/resource1/a/b?p=1-200] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_merge_slash[pyloop-/resource1/a/b?p=1-200] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_merge_slash[pyloop-/resource1/a/b/?p=1-404] FAILED [ 76%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource1/a/b-200] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource1/a/b/-404] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource2/a/b-2000] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource2/a/b/-2000] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource1/a/b-200] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource1/a/b/-404] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource1/a/b-200] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource1/a/b/-404] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource2/a/b-200] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource2/a/b-2001] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource2/a/b/-2001] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource2/a/b-200] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource2/a/b/-200] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource2/a/b-200] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource2/a/b/-200] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource1/a/b?p=1-200] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource1/a/b/?p=1-404] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource2/a/b?p=1-2000] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource2/a/b/?p=1-2000] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource1/a/b?p=1-200] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource1/a/b/?p=1-404] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource1/a/b?p=1-200] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource1/a/b/?p=1-404] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource2/a/b?p=1-200] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource2/a/b?p=1-2001] FAILED [ 77%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource2/a/b/?p=1-2001] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource2/a/b?p=1-200] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource2/a/b/?p=1-200] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource2/a/b?p=1-200] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_append_and_merge_slash[pyloop-/resource2/a/b/?p=1-200] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource1/a/b-200] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource1/a/b/-200] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource2/a/b-4040] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource2/a/b/-2000] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource1/a/b-200] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource1/a/b/-200] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource1/a/b-200] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource1/a/b/-200] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource1/a/b/-200] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource2/a/b-404] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource2/a/b-4041] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource2/a/b/-2001] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource2/a/b-404] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource2/a/b/-200] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource2/a/b-404] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource2/a/b/-200] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource1/a/b?p=1-200] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource1/a/b/?p=1-200] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource2/a/b?p=1-4040] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource2/a/b/?p=1-2000] FAILED [ 78%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource1/a/b?p=1-200] FAILED [ 79%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource1/a/b/?p=1-200] FAILED [ 79%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource1/a/b?p=1-200] FAILED [ 79%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource1/a/b/?p=1-200] FAILED [ 79%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource2/a/b?p=1-404] FAILED [ 79%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource2/a/b?p=1-4041] FAILED [ 79%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource2/a/b/?p=1-2001] FAILED [ 79%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource2/a/b?p=1-404] FAILED [ 79%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource2/a/b/?p=1-200] FAILED [ 79%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource2/a/b?p=1-404] FAILED [ 79%] test_web_middleware.py::TestNormalizePathMiddleware::test_remove_and_merge_slash[pyloop-/resource2/a/b/?p=1-200] FAILED [ 79%] test_web_middleware.py::TestNormalizePathMiddleware::test_cannot_remove_and_add_slash PASSED [ 79%] test_web_middleware.py::TestNormalizePathMiddleware::test_open_redirects[pyloop-True-False] FAILED [ 79%] test_web_middleware.py::TestNormalizePathMiddleware::test_open_redirects[pyloop-False-True] FAILED [ 79%] test_web_middleware.py::TestNormalizePathMiddleware::test_open_redirects[pyloop-False-False] FAILED [ 79%] test_web_middleware.py::test_old_style_middleware[pyloop] FAILED [ 79%] test_web_middleware.py::test_mixed_middleware[pyloop] FAILED [ 79%] test_web_middleware.py::test_old_style_middleware_class[pyloop] FAILED [ 79%] test_web_middleware.py::test_new_style_middleware_class[pyloop] FAILED [ 79%] test_web_middleware.py::test_new_style_middleware_method[pyloop] FAILED [ 79%] test_web_protocol.py::test_shutdown[pyloop] PASSED [ 79%] test_web_protocol.py::test_double_shutdown[pyloop] PASSED [ 79%] test_web_protocol.py::test_shutdown_wait_error_handler[pyloop] PASSED [ 79%] test_web_protocol.py::test_close_after_response[pyloop] PASSED [ 79%] test_web_protocol.py::test_connection_made[pyloop] PASSED [ 79%] test_web_protocol.py::test_connection_made_with_tcp_keepaplive[pyloop] PASSED [ 79%] test_web_protocol.py::test_connection_made_without_tcp_keepaplive[pyloop] PASSED [ 80%] test_web_protocol.py::test_eof_received[pyloop] PASSED [ 80%] test_web_protocol.py::test_connection_lost[pyloop] PASSED [ 80%] test_web_protocol.py::test_srv_keep_alive[pyloop] PASSED [ 80%] test_web_protocol.py::test_srv_keep_alive_disable[pyloop] PASSED [ 80%] test_web_protocol.py::test_simple[pyloop] PASSED [ 80%] test_web_protocol.py::test_bad_method[pyloop] PASSED [ 80%] test_web_protocol.py::test_line_too_long[pyloop] PASSED [ 80%] test_web_protocol.py::test_invalid_content_length[pyloop] PASSED [ 80%] test_web_protocol.py::test_unhandled_runtime_error[pyloop] PASSED [ 80%] test_web_protocol.py::test_handle_uncompleted[pyloop] PASSED [ 80%] test_web_protocol.py::test_handle_uncompleted_pipe[pyloop] PASSED [ 80%] test_web_protocol.py::test_lingering[pyloop] PASSED [ 80%] test_web_protocol.py::test_lingering_disabled[pyloop] PASSED [ 80%] test_web_protocol.py::test_lingering_timeout[pyloop] PASSED [ 80%] test_web_protocol.py::test_handle_payload_access_error[pyloop] PASSED [ 80%] test_web_protocol.py::test_handle_cancel[pyloop] PASSED [ 80%] test_web_protocol.py::test_handle_cancelled[pyloop] PASSED [ 80%] test_web_protocol.py::test_handle_400[pyloop] PASSED [ 80%] test_web_protocol.py::test_keep_alive[pyloop] PASSED [ 80%] test_web_protocol.py::test_srv_process_request_without_timeout[pyloop] PASSED [ 80%] test_web_protocol.py::test_keep_alive_timeout_default[pyloop] PASSED [ 80%] test_web_protocol.py::test_keep_alive_timeout_nondefault[pyloop] PASSED [ 80%] test_web_protocol.py::test_supports_connect_method[pyloop] PASSED [ 80%] test_web_protocol.py::test_content_length_0[pyloop] PASSED [ 80%] test_web_protocol.py::test_rudimentary_transport[pyloop] PASSED [ 81%] test_web_protocol.py::test_pipeline_multiple_messages[pyloop] PASSED [ 81%] test_web_protocol.py::test_pipeline_response_order[pyloop] PASSED [ 81%] test_web_protocol.py::test_data_received_close[pyloop] PASSED [ 81%] test_web_protocol.py::test_data_received_force_close[pyloop] PASSED [ 81%] test_web_protocol.py::test__process_keepalive[pyloop] PASSED [ 81%] test_web_protocol.py::test__process_keepalive_schedule_next[pyloop] PASSED [ 81%] test_web_protocol.py::test__process_keepalive_force_close[pyloop] PASSED [ 81%] test_web_protocol.py::test_two_data_received_without_waking_up_start_task[pyloop] PASSED [ 81%] test_web_protocol.py::test_client_disconnect[pyloop] FAILED [ 81%] test_web_request.py::test_base_ctor PASSED [ 81%] test_web_request.py::test_ctor PASSED [ 81%] test_web_request.py::test_deprecated_message PASSED [ 81%] test_web_request.py::test_doubleslashes PASSED [ 81%] test_web_request.py::test_content_type_not_specified PASSED [ 81%] test_web_request.py::test_content_type_from_spec PASSED [ 81%] test_web_request.py::test_content_type_from_spec_with_charset PASSED [ 81%] test_web_request.py::test_calc_content_type_on_getting_charset PASSED [ 81%] test_web_request.py::test_urlencoded_querystring PASSED [ 81%] test_web_request.py::test_non_ascii_path PASSED [ 81%] test_web_request.py::test_non_ascii_raw_path PASSED [ 81%] test_web_request.py::test_content_length PASSED [ 81%] test_web_request.py::test_range_to_slice_head PASSED [ 81%] test_web_request.py::test_range_to_slice_mid PASSED [ 81%] test_web_request.py::test_range_to_slice_tail_start PASSED [ 81%] test_web_request.py::test_range_to_slice_tail_stop PASSED [ 81%] test_web_request.py::test_non_keepalive_on_http10 PASSED [ 82%] test_web_request.py::test_non_keepalive_on_closing PASSED [ 82%] test_web_request.py::test_call_POST_on_GET_request PASSED [ 82%] test_web_request.py::test_call_POST_on_weird_content_type PASSED [ 82%] test_web_request.py::test_call_POST_twice PASSED [ 82%] test_web_request.py::test_no_request_cookies PASSED [ 82%] test_web_request.py::test_request_cookie PASSED [ 82%] test_web_request.py::test_request_cookie__set_item PASSED [ 82%] test_web_request.py::test_match_info PASSED [ 82%] test_web_request.py::test_request_is_mutable_mapping PASSED [ 82%] test_web_request.py::test_request_delitem PASSED [ 82%] test_web_request.py::test_request_len PASSED [ 82%] test_web_request.py::test_request_iter PASSED [ 82%] test_web_request.py::test___repr__ PASSED [ 82%] test_web_request.py::test___repr___non_ascii_path PASSED [ 82%] test_web_request.py::test_http_scheme PASSED [ 82%] test_web_request.py::test_https_scheme_by_ssl_transport PASSED [ 82%] test_web_request.py::test_single_forwarded_header PASSED [ 82%] test_web_request.py::test_forwarded_node_identifier[1.2.3.4:1234-1.2.3.4:1234] PASSED [ 82%] test_web_request.py::test_forwarded_node_identifier[1.2.3.4-1.2.3.4] PASSED [ 82%] test_web_request.py::test_forwarded_node_identifier["[2001:db8:cafe::17]:1234"-[2001:db8:cafe::17]:1234] PASSED [ 82%] test_web_request.py::test_forwarded_node_identifier["[2001:db8:cafe::17]"-[2001:db8:cafe::17]] PASSED [ 82%] test_web_request.py::test_single_forwarded_header_camelcase PASSED [ 82%] test_web_request.py::test_single_forwarded_header_single_param PASSED [ 82%] test_web_request.py::test_single_forwarded_header_multiple_param PASSED [ 82%] test_web_request.py::test_single_forwarded_header_quoted_escaped PASSED [ 83%] test_web_request.py::test_single_forwarded_header_custom_param PASSED [ 83%] test_web_request.py::test_single_forwarded_header_empty_params PASSED [ 83%] test_web_request.py::test_single_forwarded_header_bad_separator PASSED [ 83%] test_web_request.py::test_single_forwarded_header_injection1 PASSED [ 83%] test_web_request.py::test_single_forwarded_header_injection2 PASSED [ 83%] test_web_request.py::test_single_forwarded_header_long_quoted_string PASSED [ 83%] test_web_request.py::test_multiple_forwarded_headers PASSED [ 83%] test_web_request.py::test_multiple_forwarded_headers_bad_syntax PASSED [ 83%] test_web_request.py::test_multiple_forwarded_headers_injection PASSED [ 83%] test_web_request.py::test_host_by_host_header PASSED [ 83%] test_web_request.py::test_raw_headers PASSED [ 83%] test_web_request.py::test_rel_url PASSED [ 83%] test_web_request.py::test_url_url PASSED [ 83%] test_web_request.py::test_clone PASSED [ 83%] test_web_request.py::test_clone_client_max_size PASSED [ 83%] test_web_request.py::test_clone_method PASSED [ 83%] test_web_request.py::test_clone_rel_url PASSED [ 83%] test_web_request.py::test_clone_rel_url_str PASSED [ 83%] test_web_request.py::test_clone_headers PASSED [ 83%] test_web_request.py::test_clone_headers_dict PASSED [ 83%] test_web_request.py::test_cannot_clone_after_read PASSED [ 83%] test_web_request.py::test_make_too_big_request PASSED [ 83%] test_web_request.py::test_make_too_big_request_adjust_limit PASSED [ 83%] test_web_request.py::test_multipart_formdata PASSED [ 83%] test_web_request.py::test_multipart_formdata_file PASSED [ 83%] test_web_request.py::test_make_too_big_request_limit_None PASSED [ 84%] test_web_request.py::test_remote_peername_tcp PASSED [ 84%] test_web_request.py::test_remote_peername_unix PASSED [ 84%] test_web_request.py::test_save_state_on_clone PASSED [ 84%] test_web_request.py::test_clone_scheme PASSED [ 84%] test_web_request.py::test_clone_host PASSED [ 84%] test_web_request.py::test_clone_remote PASSED [ 84%] test_web_request.py::test_request_custom_attr SKIPPED [ 84%] test_web_request.py::test_remote_with_closed_transport PASSED [ 84%] test_web_request.py::test_url_http_with_closed_transport PASSED [ 84%] test_web_request.py::test_url_https_with_closed_transport PASSED [ 84%] test_web_request.py::test_get_extra_info PASSED [ 84%] test_web_request.py::test_eq PASSED [ 84%] test_web_request.py::test_loop_prop PASSED [ 84%] test_web_request_handler.py::test_repr PASSED [ 84%] test_web_request_handler.py::test_connections PASSED [ 84%] test_web_request_handler.py::test_shutdown_no_timeout PASSED [ 84%] test_web_request_handler.py::test_shutdown_timeout PASSED [ 84%] test_web_response.py::test_stream_response_ctor PASSED [ 84%] test_web_response.py::test_stream_response_hashable PASSED [ 84%] test_web_response.py::test_stream_response_eq PASSED [ 84%] test_web_response.py::test_stream_response_is_mutable_mapping PASSED [ 84%] test_web_response.py::test_stream_response_delitem PASSED [ 84%] test_web_response.py::test_stream_response_len PASSED [ 84%] test_web_response.py::test_request_iter PASSED [ 84%] test_web_response.py::test_content_length PASSED [ 85%] test_web_response.py::test_content_length_setter PASSED [ 85%] test_web_response.py::test_content_length_setter_with_enable_chunked_encoding PASSED [ 85%] test_web_response.py::test_drop_content_length_header_on_setting_len_to_None PASSED [ 85%] test_web_response.py::test_set_content_length_to_None_on_non_set PASSED [ 85%] test_web_response.py::test_setting_content_type PASSED [ 85%] test_web_response.py::test_setting_charset PASSED [ 85%] test_web_response.py::test_default_charset PASSED [ 85%] test_web_response.py::test_reset_charset PASSED [ 85%] test_web_response.py::test_reset_charset_after_setting PASSED [ 85%] test_web_response.py::test_charset_without_content_type PASSED [ 85%] test_web_response.py::test_last_modified_initial PASSED [ 85%] test_web_response.py::test_last_modified_string PASSED [ 85%] test_web_response.py::test_last_modified_timestamp PASSED [ 85%] test_web_response.py::test_last_modified_datetime PASSED [ 85%] test_web_response.py::test_last_modified_reset PASSED [ 85%] test_web_response.py::test_start PASSED [ 85%] test_web_response.py::test_chunked_encoding PASSED [ 85%] test_web_response.py::test_enable_chunked_encoding_with_content_length PASSED [ 85%] test_web_response.py::test_chunk_size PASSED [ 85%] test_web_response.py::test_chunked_encoding_forbidden_for_http_10 PASSED [ 85%] test_web_response.py::test_compression_no_accept PASSED [ 85%] test_web_response.py::test_force_compression_no_accept_backwards_compat PASSED [ 85%] test_web_response.py::test_force_compression_false_backwards_compat PASSED [ 85%] test_web_response.py::test_compression_default_coding PASSED [ 85%] test_web_response.py::test_force_compression_deflate PASSED [ 86%] test_web_response.py::test_force_compression_no_accept_deflate PASSED [ 86%] test_web_response.py::test_force_compression_gzip PASSED [ 86%] test_web_response.py::test_force_compression_no_accept_gzip PASSED [ 86%] test_web_response.py::test_change_content_threaded_compression_enabled PASSED [ 86%] test_web_response.py::test_change_content_threaded_compression_enabled_explicit PASSED [ 86%] test_web_response.py::test_change_content_length_if_compression_enabled PASSED [ 86%] test_web_response.py::test_set_content_length_if_compression_enabled PASSED [ 86%] test_web_response.py::test_remove_content_length_if_compression_enabled_http11 PASSED [ 86%] test_web_response.py::test_remove_content_length_if_compression_enabled_http10 PASSED [ 86%] test_web_response.py::test_force_compression_identity PASSED [ 86%] test_web_response.py::test_force_compression_identity_response PASSED [ 86%] test_web_response.py::test_rm_content_length_if_compression_http11 PASSED [ 86%] test_web_response.py::test_rm_content_length_if_compression_http10 PASSED [ 86%] test_web_response.py::test_content_length_on_chunked PASSED [ 86%] test_web_response.py::test_write_non_byteish PASSED [ 86%] test_web_response.py::test_write_before_start PASSED [ 86%] test_web_response.py::test_cannot_write_after_eof PASSED [ 86%] test_web_response.py::test___repr___after_eof PASSED [ 86%] test_web_response.py::test_cannot_write_eof_before_headers PASSED [ 86%] test_web_response.py::test_cannot_write_eof_twice PASSED [ 86%] test_web_response.py::test_force_close PASSED [ 86%] test_web_response.py::test_response_output_length PASSED [ 86%] test_web_response.py::test_response_cookies PASSED [ 86%] test_web_response.py::test_response_cookie_path PASSED [ 86%] test_web_response.py::test_response_cookie__issue_del_cookie PASSED [ 86%] test_web_response.py::test_cookie_set_after_del PASSED [ 87%] test_web_response.py::test_set_status_with_reason PASSED [ 87%] test_web_response.py::test_start_force_close PASSED [ 87%] test_web_response.py::test___repr__ PASSED [ 87%] test_web_response.py::test___repr___not_prepared PASSED [ 87%] test_web_response.py::test_keep_alive_http10_default PASSED [ 87%] test_web_response.py::test_keep_alive_http10_switched_on PASSED [ 87%] test_web_response.py::test_keep_alive_http09 PASSED [ 87%] test_web_response.py::test_prepare_twice PASSED [ 87%] test_web_response.py::test_prepare_calls_signal PASSED [ 87%] test_web_response.py::test_response_ctor PASSED [ 87%] test_web_response.py::test_ctor_with_headers_and_status PASSED [ 87%] test_web_response.py::test_ctor_content_type PASSED [ 87%] test_web_response.py::test_ctor_text_body_combined PASSED [ 87%] test_web_response.py::test_ctor_text PASSED [ 87%] test_web_response.py::test_ctor_charset PASSED [ 87%] test_web_response.py::test_ctor_charset_default_utf8 PASSED [ 87%] test_web_response.py::test_ctor_charset_in_content_type PASSED [ 87%] test_web_response.py::test_ctor_charset_without_text PASSED [ 87%] test_web_response.py::test_ctor_content_type_with_extra PASSED [ 87%] test_web_response.py::test_ctor_both_content_type_param_and_header_with_text PASSED [ 87%] test_web_response.py::test_ctor_both_charset_param_and_header_with_text PASSED [ 87%] test_web_response.py::test_ctor_both_content_type_param_and_header PASSED [ 87%] test_web_response.py::test_ctor_both_charset_param_and_header PASSED [ 87%] test_web_response.py::test_assign_nonbyteish_body PASSED [ 87%] test_web_response.py::test_assign_nonstr_text PASSED [ 88%] test_web_response.py::test_response_set_content_length PASSED [ 88%] test_web_response.py::test_send_headers_for_empty_body PASSED [ 88%] test_web_response.py::test_render_with_body PASSED [ 88%] test_web_response.py::test_send_set_cookie_header PASSED [ 88%] test_web_response.py::test_consecutive_write_eof PASSED [ 88%] test_web_response.py::test_set_text_with_content_type PASSED [ 88%] test_web_response.py::test_set_text_with_charset PASSED [ 88%] test_web_response.py::test_default_content_type_in_stream_response PASSED [ 88%] test_web_response.py::test_default_content_type_in_response PASSED [ 88%] test_web_response.py::test_content_type_with_set_text PASSED [ 88%] test_web_response.py::test_content_type_with_set_body PASSED [ 88%] test_web_response.py::test_started_when_not_started PASSED [ 88%] test_web_response.py::test_started_when_started PASSED [ 88%] test_web_response.py::test_drain_before_start PASSED [ 88%] test_web_response.py::test_changing_status_after_prepare_raises PASSED [ 88%] test_web_response.py::test_nonstr_text_in_ctor PASSED [ 88%] test_web_response.py::test_text_in_ctor_with_content_type PASSED [ 88%] test_web_response.py::test_text_in_ctor_with_content_type_header PASSED [ 88%] test_web_response.py::test_text_in_ctor_with_content_type_header_multidict PASSED [ 88%] test_web_response.py::test_body_in_ctor_with_content_type_header_multidict PASSED [ 88%] test_web_response.py::test_text_with_empty_payload PASSED [ 88%] test_web_response.py::test_response_with_content_length_header_without_body PASSED [ 88%] test_web_response.py::test_response_with_immutable_headers PASSED [ 88%] test_web_response.py::test_response_prepared_after_header_preparation PASSED [ 88%] test_web_response.py::TestJSONResponse::test_content_type_is_application_json_by_default PASSED [ 88%] test_web_response.py::TestJSONResponse::test_passing_text_only PASSED [ 89%] test_web_response.py::TestJSONResponse::test_data_and_text_raises_value_error PASSED [ 89%] test_web_response.py::TestJSONResponse::test_data_and_body_raises_value_error PASSED [ 89%] test_web_response.py::TestJSONResponse::test_text_is_json_encoded PASSED [ 89%] test_web_response.py::TestJSONResponse::test_content_type_is_overrideable PASSED [ 89%] test_web_runner.py::test_site_for_nonfrozen_app[pyloop] PASSED [ 89%] test_web_runner.py::test_runner_setup_handle_signals[pyloop] PASSED [ 89%] test_web_runner.py::test_runner_setup_without_signal_handling[pyloop] PASSED [ 89%] test_web_runner.py::test_site_double_added[pyloop] FAILED [ 89%] test_web_runner.py::test_site_stop_not_started[pyloop] PASSED [ 89%] test_web_runner.py::test_custom_log_format[pyloop] PASSED [ 89%] test_web_runner.py::test_unreg_site[pyloop] PASSED [ 89%] test_web_runner.py::test_app_property[pyloop] PASSED [ 89%] test_web_runner.py::test_non_app PASSED [ 89%] test_web_runner.py::test_addresses[pyloop] FAILED [ 89%] test_web_runner.py::test_named_pipe_runner_wrong_loop SKIPPED [ 89%] test_web_runner.py::test_named_pipe_runner_proactor_loop SKIPPED [ 89%] test_web_runner.py::test_tcpsite_default_host[pyloop] PASSED [ 89%] test_web_sendfile.py::test_using_gzip_if_header_present_and_file_available[pyloop] PASSED [ 89%] test_web_sendfile.py::test_gzip_if_header_not_present_and_file_available[pyloop] PASSED [ 89%] test_web_sendfile.py::test_gzip_if_header_not_present_and_file_not_available[pyloop] PASSED [ 89%] test_web_sendfile.py::test_gzip_if_header_present_and_file_not_available[pyloop] PASSED [ 89%] test_web_sendfile.py::test_status_controlled_by_user[pyloop] PASSED [ 89%] test_web_sendfile_functional.py::test_static_file_ok[sendfile-pyloop] FAILED [ 89%] test_web_sendfile_functional.py::test_static_file_ok[no_sendfile-pyloop] FAILED [ 89%] test_web_sendfile_functional.py::test_zero_bytes_file_ok[sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_zero_bytes_file_ok[no_sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_ok_string_path[sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_ok_string_path[no_sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_not_exists[pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_name_too_long[pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_upper_directory[pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_with_content_type[sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_with_content_type[no_sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_custom_content_type[sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_custom_content_type[no_sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_custom_content_type_compress[sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_custom_content_type_compress[no_sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_with_content_encoding[sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_with_content_encoding[no_sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_if_modified_since[sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_if_modified_since[no_sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_if_modified_since_past_date[sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_if_modified_since_past_date[no_sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_if_modified_since_invalid_date[sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_if_modified_since_invalid_date[no_sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_if_modified_since_future_date[sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_if_modified_since_future_date[no_sendfile-pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_ssl[pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_file_directory_traversal_attack[pyloop] FAILED [ 90%] test_web_sendfile_functional.py::test_static_route_path_existence_check PASSED [ 90%] test_web_sendfile_functional.py::test_static_file_huge[pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_range[sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_range[no_sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_range_end_bigger_than_size[sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_range_end_bigger_than_size[no_sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_range_beyond_eof[sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_range_beyond_eof[no_sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_range_tail[sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_range_tail[no_sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_invalid_range[sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_invalid_range[no_sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_if_unmodified_since_past_with_range[sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_if_unmodified_since_past_with_range[no_sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_if_unmodified_since_future_with_range[sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_if_unmodified_since_future_with_range[no_sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_if_range_past_with_range[sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_if_range_past_with_range[no_sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_if_range_future_with_range[sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_if_range_future_with_range[no_sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_if_unmodified_since_past_without_range[sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_if_unmodified_since_past_without_range[no_sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_if_unmodified_since_future_without_range[sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_if_unmodified_since_future_without_range[no_sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_if_range_past_without_range[sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_if_range_past_without_range[no_sendfile-pyloop] FAILED [ 91%] test_web_sendfile_functional.py::test_static_file_if_range_future_without_range[sendfile-pyloop] FAILED [ 92%] test_web_sendfile_functional.py::test_static_file_if_range_future_without_range[no_sendfile-pyloop] FAILED [ 92%] test_web_sendfile_functional.py::test_static_file_if_unmodified_since_invalid_date[sendfile-pyloop] FAILED [ 92%] test_web_sendfile_functional.py::test_static_file_if_unmodified_since_invalid_date[no_sendfile-pyloop] FAILED [ 92%] test_web_sendfile_functional.py::test_static_file_if_range_invalid_date[sendfile-pyloop] FAILED [ 92%] test_web_sendfile_functional.py::test_static_file_if_range_invalid_date[no_sendfile-pyloop] FAILED [ 92%] test_web_sendfile_functional.py::test_static_file_compression[sendfile-pyloop] FAILED [ 92%] test_web_sendfile_functional.py::test_static_file_compression[no_sendfile-pyloop] FAILED [ 92%] test_web_sendfile_functional.py::test_static_file_huge_cancel[pyloop] FAILED [ 92%] test_web_sendfile_functional.py::test_static_file_huge_error[pyloop] FAILED [ 92%] test_web_server.py::test_simple_server[pyloop] FAILED [ 92%] test_web_server.py::test_raw_server_not_http_exception[pyloop] FAILED [ 92%] test_web_server.py::test_raw_server_handler_timeout[pyloop] FAILED [ 92%] test_web_server.py::test_raw_server_do_not_swallow_exceptions[pyloop] FAILED [ 92%] test_web_server.py::test_raw_server_cancelled_in_write_eof[pyloop] FAILED [ 92%] test_web_server.py::test_raw_server_not_http_exception_debug[pyloop] FAILED [ 92%] test_web_server.py::test_raw_server_html_exception[pyloop] FAILED [ 92%] test_web_server.py::test_raw_server_html_exception_debug[pyloop] FAILED [ 92%] test_web_urldispatcher.py::test_access_root_of_static_handler[pyloop-index_forbidden] FAILED [ 92%] test_web_urldispatcher.py::test_access_root_of_static_handler[pyloop-index_root] FAILED [ 92%] test_web_urldispatcher.py::test_access_root_of_static_handler[pyloop-index_static] FAILED [ 92%] test_web_urldispatcher.py::test_follow_symlink[pyloop] FAILED [ 92%] test_web_urldispatcher.py::test_access_to_the_file_with_spaces[pyloop--test file.txt-test text] FAILED [ 92%] test_web_urldispatcher.py::test_access_to_the_file_with_spaces[pyloop-test dir name-test dir file .txt-test text file folder] FAILED [ 92%] test_web_urldispatcher.py::test_access_non_existing_resource[pyloop] FAILED [ 92%] test_web_urldispatcher.py::test_url_escaping[pyloop-/a:b-/a:b] FAILED [ 93%] test_web_urldispatcher.py::test_url_escaping[pyloop-/a@b-/a@b] FAILED [ 93%] test_web_urldispatcher.py::test_url_escaping[pyloop-/a:b-/a%3Ab] FAILED [ 93%] test_web_urldispatcher.py::test_handler_metadata_persistence PASSED [ 93%] test_web_urldispatcher.py::test_unauthorized_folder_access[pyloop] FAILED [ 93%] test_web_urldispatcher.py::test_access_symlink_loop[pyloop] FAILED [ 93%] test_web_urldispatcher.py::test_access_special_resource[pyloop] FAILED [ 93%] test_web_urldispatcher.py::test_partially_applied_handler[pyloop] FAILED [ 93%] test_web_urldispatcher.py::test_static_head[pyloop] FAILED [ 93%] test_web_urldispatcher.py::test_system_route PASSED [ 93%] test_web_urldispatcher.py::test_412_is_returned[pyloop] FAILED [ 93%] test_web_urldispatcher.py::test_allow_head[pyloop] FAILED [ 93%] test_web_urldispatcher.py::test_reuse_last_added_resource[/a] PASSED [ 93%] test_web_urldispatcher.py::test_reuse_last_added_resource[/{a}] PASSED [ 93%] test_web_urldispatcher.py::test_resource_raw_match PASSED [ 93%] test_web_urldispatcher.py::test_add_view[pyloop] FAILED [ 93%] test_web_urldispatcher.py::test_decorate_view[pyloop] FAILED [ 93%] test_web_urldispatcher.py::test_web_view[pyloop] FAILED [ 93%] test_web_urldispatcher.py::test_static_absolute_url[pyloop] FAILED [ 93%] test_web_websocket.py::test_nonstarted_ping PASSED [ 93%] test_web_websocket.py::test_nonstarted_pong PASSED [ 93%] test_web_websocket.py::test_nonstarted_send_str PASSED [ 93%] test_web_websocket.py::test_nonstarted_send_bytes PASSED [ 93%] test_web_websocket.py::test_nonstarted_send_json PASSED [ 93%] test_web_websocket.py::test_nonstarted_close PASSED [ 93%] test_web_websocket.py::test_nonstarted_receive_str PASSED [ 93%] test_web_websocket.py::test_nonstarted_receive_bytes PASSED [ 94%] test_web_websocket.py::test_nonstarted_receive_json PASSED [ 94%] test_web_websocket.py::test_receive_str_nonstring[pyloop] PASSED [ 94%] test_web_websocket.py::test_receive_bytes_nonsbytes[pyloop] PASSED [ 94%] test_web_websocket.py::test_send_str_nonstring[pyloop] PASSED [ 94%] test_web_websocket.py::test_send_bytes_nonbytes[pyloop] PASSED [ 94%] test_web_websocket.py::test_send_json_nonjson[pyloop] PASSED [ 94%] test_web_websocket.py::test_write_non_prepared PASSED [ 94%] test_web_websocket.py::test_websocket_ready PASSED [ 94%] test_web_websocket.py::test_websocket_not_ready PASSED [ 94%] test_web_websocket.py::test_websocket_ready_unknown_protocol PASSED [ 94%] test_web_websocket.py::test_bool_websocket_ready PASSED [ 94%] test_web_websocket.py::test_bool_websocket_not_ready PASSED [ 94%] test_web_websocket.py::test_can_prepare_ok[pyloop] PASSED [ 94%] test_web_websocket.py::test_can_prepare_unknown_protocol[pyloop] PASSED [ 94%] test_web_websocket.py::test_can_prepare_without_upgrade[pyloop] PASSED [ 94%] test_web_websocket.py::test_can_prepare_started[pyloop] PASSED [ 94%] test_web_websocket.py::test_closed_after_ctor PASSED [ 94%] test_web_websocket.py::test_send_str_closed[pyloop] PASSED [ 94%] test_web_websocket.py::test_send_bytes_closed[pyloop] PASSED [ 94%] test_web_websocket.py::test_send_json_closed[pyloop] PASSED [ 94%] test_web_websocket.py::test_ping_closed[pyloop] PASSED [ 94%] test_web_websocket.py::test_pong_closed[pyloop] PASSED [ 94%] test_web_websocket.py::test_close_idempotent[pyloop] PASSED [ 94%] test_web_websocket.py::test_prepare_post_method_ok[pyloop] PASSED [ 94%] test_web_websocket.py::test_prepare_without_upgrade[pyloop] PASSED [ 95%] test_web_websocket.py::test_wait_closed_before_start PASSED [ 95%] test_web_websocket.py::test_write_eof_not_started PASSED [ 95%] test_web_websocket.py::test_write_eof_idempotent[pyloop] PASSED [ 95%] test_web_websocket.py::test_receive_eofstream_in_reader[pyloop] PASSED [ 95%] test_web_websocket.py::test_receive_timeouterror[pyloop] PASSED [ 95%] test_web_websocket.py::test_multiple_receive_on_close_connection[pyloop] PASSED [ 95%] test_web_websocket.py::test_concurrent_receive[pyloop] PASSED [ 95%] test_web_websocket.py::test_close_exc[pyloop] PASSED [ 95%] test_web_websocket.py::test_prepare_twice_idempotent[pyloop] PASSED [ 95%] test_web_websocket.py::test_send_with_per_message_deflate[pyloop] PASSED [ 95%] test_web_websocket.py::test_no_transfer_encoding_header[pyloop] PASSED [ 95%] test_web_websocket_functional.py::test_websocket_can_prepare[pyloop] FAILED [ 95%] test_web_websocket_functional.py::test_websocket_json[pyloop] FAILED [ 95%] test_web_websocket_functional.py::test_websocket_json_invalid_message[pyloop] FAILED [ 95%] test_web_websocket_functional.py::test_websocket_send_json[pyloop] FAILED [ 95%] test_web_websocket_functional.py::test_websocket_receive_json[pyloop] FAILED [ 95%] test_web_websocket_functional.py::test_send_recv_text[pyloop] FAILED [ 95%] test_web_websocket_functional.py::test_send_recv_bytes[pyloop] FAILED [ 95%] test_web_websocket_functional.py::test_send_recv_json[pyloop] FAILED [ 95%] test_web_websocket_functional.py::test_close_timeout[pyloop] FAILED [ 95%] test_web_websocket_functional.py::test_concurrent_close[pyloop] FAILED [ 95%] test_web_websocket_functional.py::test_auto_pong_with_closing_by_peer[pyloop] FAILED [ 95%] test_web_websocket_functional.py::test_ping[pyloop] FAILED [ 95%] test_web_websocket_functional.py::test_pong[pyloop] FAILED [ 95%] test_web_websocket_functional.py::test_change_status[pyloop] FAILED [ 95%] test_web_websocket_functional.py::test_handle_protocol[pyloop] FAILED [ 96%] test_web_websocket_functional.py::test_server_close_handshake[pyloop] FAILED [ 96%] test_web_websocket_functional.py::test_server_close_handshake_server_eats_client_messages[pyloop] FAILED [ 96%] test_web_websocket_functional.py::test_receive_timeout[pyloop] FAILED [ 96%] test_web_websocket_functional.py::test_custom_receive_timeout[pyloop] FAILED [ 96%] test_web_websocket_functional.py::test_heartbeat[pyloop] FAILED [ 96%] test_web_websocket_functional.py::test_heartbeat_no_pong[pyloop] FAILED [ 96%] test_web_websocket_functional.py::test_server_ws_async_for[pyloop] FAILED [ 96%] test_web_websocket_functional.py::test_closed_async_for[pyloop] FAILED [ 96%] test_web_websocket_functional.py::test_websocket_disable_keepalive[pyloop] FAILED [ 96%] test_web_websocket_functional.py::test_bug3380[pyloop] FAILED [ 96%] test_websocket_handshake.py::test_no_upgrade PASSED [ 96%] test_websocket_handshake.py::test_no_connection PASSED [ 96%] test_websocket_handshake.py::test_protocol_version_unset PASSED [ 96%] test_websocket_handshake.py::test_protocol_version_not_supported PASSED [ 96%] test_websocket_handshake.py::test_protocol_key_not_present PASSED [ 96%] test_websocket_handshake.py::test_protocol_key_invalid PASSED [ 96%] test_websocket_handshake.py::test_protocol_key_bad_size PASSED [ 96%] test_websocket_handshake.py::test_handshake_ok PASSED [ 96%] test_websocket_handshake.py::test_handshake_protocol PASSED [ 96%] test_websocket_handshake.py::test_handshake_protocol_agreement PASSED [ 96%] test_websocket_handshake.py::test_handshake_protocol_unsupported PASSED [ 96%] test_websocket_handshake.py::test_handshake_compress PASSED [ 96%] test_websocket_handshake.py::test_handshake_compress_server_notakeover PASSED [ 96%] test_websocket_handshake.py::test_handshake_compress_client_notakeover PASSED [ 96%] test_websocket_handshake.py::test_handshake_compress_wbits PASSED [ 97%] test_websocket_handshake.py::test_handshake_compress_wbits_error PASSED [ 97%] test_websocket_handshake.py::test_handshake_compress_bad_ext PASSED [ 97%] test_websocket_handshake.py::test_handshake_compress_multi_ext_bad PASSED [ 97%] test_websocket_handshake.py::test_handshake_compress_multi_ext_wbits PASSED [ 97%] test_websocket_handshake.py::test_handshake_no_transfer_encoding PASSED [ 97%] test_websocket_parser.py::test_parse_frame[pyloop] PASSED [ 97%] test_websocket_parser.py::test_parse_frame_length0[pyloop] PASSED [ 97%] test_websocket_parser.py::test_parse_frame_length2[pyloop] PASSED [ 97%] test_websocket_parser.py::test_parse_frame_length4[pyloop] PASSED [ 97%] test_websocket_parser.py::test_parse_frame_mask[pyloop] PASSED [ 97%] test_websocket_parser.py::test_parse_frame_header_reversed_bits[pyloop] PASSED [ 97%] test_websocket_parser.py::test_parse_frame_header_control_frame[pyloop] PASSED [ 97%] test_websocket_parser.py::test_parse_frame_header_payload_size[pyloop] PASSED [ 97%] test_websocket_parser.py::test_ping_frame[pyloop] PASSED [ 97%] test_websocket_parser.py::test_pong_frame[pyloop] PASSED [ 97%] test_websocket_parser.py::test_close_frame[pyloop] PASSED [ 97%] test_websocket_parser.py::test_close_frame_info[pyloop] PASSED [ 97%] test_websocket_parser.py::test_close_frame_invalid[pyloop] PASSED [ 97%] test_websocket_parser.py::test_close_frame_invalid_2[pyloop] PASSED [ 97%] test_websocket_parser.py::test_close_frame_unicode_err[pyloop] PASSED [ 97%] test_websocket_parser.py::test_unknown_frame[pyloop] PASSED [ 97%] test_websocket_parser.py::test_simple_text[pyloop] PASSED [ 97%] test_websocket_parser.py::test_simple_text_unicode_err[pyloop] PASSED [ 97%] test_websocket_parser.py::test_simple_binary[pyloop] PASSED [ 97%] test_websocket_parser.py::test_fragmentation_header[pyloop] PASSED [ 97%] test_websocket_parser.py::test_continuation[pyloop] PASSED [ 98%] test_websocket_parser.py::test_continuation_with_ping[pyloop] PASSED [ 98%] test_websocket_parser.py::test_continuation_err[pyloop] PASSED [ 98%] test_websocket_parser.py::test_continuation_with_close[pyloop] PASSED [ 98%] test_websocket_parser.py::test_continuation_with_close_unicode_err[pyloop] PASSED [ 98%] test_websocket_parser.py::test_continuation_with_close_bad_code[pyloop] PASSED [ 98%] test_websocket_parser.py::test_continuation_with_close_bad_payload[pyloop] PASSED [ 98%] test_websocket_parser.py::test_continuation_with_close_empty[pyloop] PASSED [ 98%] test_websocket_parser.py::test_websocket_mask_python PASSED [ 98%] test_websocket_parser.py::test_websocket_mask_cython PASSED [ 98%] test_websocket_parser.py::test_websocket_mask_python_empty PASSED [ 98%] test_websocket_parser.py::test_websocket_mask_cython_empty PASSED [ 98%] test_websocket_parser.py::test_msgtype_aliases PASSED [ 98%] test_websocket_parser.py::test_parse_compress_frame_single[pyloop] PASSED [ 98%] test_websocket_parser.py::test_parse_compress_frame_multi[pyloop] PASSED [ 98%] test_websocket_parser.py::test_parse_compress_error_frame[pyloop] PASSED [ 98%] test_websocket_parser.py::test_parse_no_compress_frame_single PASSED [ 98%] test_websocket_parser.py::test_msg_too_large[pyloop] PASSED [ 98%] test_websocket_parser.py::test_msg_too_large_not_fin[pyloop] PASSED [ 98%] test_websocket_parser.py::test_compressed_msg_too_large[pyloop] PASSED [ 98%] test_websocket_parser.py::TestWebSocketError::test_ctor PASSED [ 98%] test_websocket_parser.py::TestWebSocketError::test_pickle PASSED [ 98%] test_websocket_writer.py::test_pong PASSED [ 98%] test_websocket_writer.py::test_ping PASSED [ 98%] test_websocket_writer.py::test_send_text PASSED [ 98%] test_websocket_writer.py::test_send_binary PASSED [ 99%] test_websocket_writer.py::test_send_binary_long PASSED [ 99%] test_websocket_writer.py::test_send_binary_very_long PASSED [ 99%] test_websocket_writer.py::test_close PASSED [ 99%] test_websocket_writer.py::test_send_text_masked PASSED [ 99%] test_websocket_writer.py::test_send_compress_text PASSED [ 99%] test_websocket_writer.py::test_send_compress_text_notakeover PASSED [ 99%] test_websocket_writer.py::test_send_compress_text_per_message PASSED [ 99%] test_worker.py::test_init_process[AsyncioWorker-pyloop] PASSED [ 99%] test_worker.py::test_run[AsyncioWorker-pyloop] PASSED [ 99%] test_worker.py::test_run_async_factory[AsyncioWorker-pyloop] PASSED [ 99%] test_worker.py::test_run_not_app[AsyncioWorker-pyloop] PASSED [ 99%] test_worker.py::test_handle_quit[AsyncioWorker-pyloop] PASSED [ 99%] test_worker.py::test_handle_abort[AsyncioWorker-pyloop] PASSED [ 99%] test_worker.py::test__wait_next_notify[AsyncioWorker-pyloop] PASSED [ 99%] test_worker.py::test__notify_waiter_done[AsyncioWorker-pyloop] PASSED [ 99%] test_worker.py::test__notify_waiter_done_explicit_waiter[AsyncioWorker-pyloop] PASSED [ 99%] test_worker.py::test_init_signals[AsyncioWorker-pyloop] PASSED [ 99%] test_worker.py::test__get_valid_log_format_ok[AsyncioWorker-pyloop-%a "%{Referrer}i" %s-%a "%{Referrer}i" %s] PASSED [ 99%] test_worker.py::test__get_valid_log_format_ok[AsyncioWorker-pyloop-%(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s"-%a %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"] PASSED [ 99%] test_worker.py::test__get_valid_log_format_exc[AsyncioWorker-pyloop] PASSED [ 99%] test_worker.py::test__run_ok_parent_changed[AsyncioWorker-pyloop] FAILED [ 99%] test_worker.py::test__run_exc[AsyncioWorker-pyloop] FAILED [ 99%] test_worker.py::test__create_ssl_context_without_certs_and_ciphers[AsyncioWorker-pyloop] PASSED [ 99%] test_worker.py::test__create_ssl_context_with_ciphers[AsyncioWorker-pyloop] PASSED [ 99%] test_worker.py::test__create_ssl_context_with_ca_certs[AsyncioWorker-pyloop] PASSED [100%] ==================================== ERRORS ==================================== _______________________ ERROR at setup of test_get_route _______________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> app = @pytest.fixture def test_client(loop, app) -> None: async def make_client(): return _TestClient(_TestServer(app, loop=loop), loop=loop) client = loop.run_until_complete(make_client()) > loop.run_until_complete(client.start_server()) test_test_utils.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:642: in run_until_complete return future.result() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ___________________ ERROR at setup of test_client_websocket ____________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> app = @pytest.fixture def test_client(loop, app) -> None: async def make_client(): return _TestClient(_TestServer(app, loop=loop), loop=loop) client = loop.run_until_complete(make_client()) > loop.run_until_complete(client.start_server()) test_test_utils.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:642: in run_until_complete return future.result() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning _____________________ ERROR at setup of test_client_cookie _____________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> app = @pytest.fixture def test_client(loop, app) -> None: async def make_client(): return _TestClient(_TestServer(app, loop=loop), loop=loop) client = loop.run_until_complete(make_client()) > loop.run_until_complete(client.start_server()) test_test_utils.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:642: in run_until_complete return future.result() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning _______________ ERROR at setup of test_test_client_methods[get] ________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> app = @pytest.fixture def test_client(loop, app) -> None: async def make_client(): return _TestClient(_TestServer(app, loop=loop), loop=loop) client = loop.run_until_complete(make_client()) > loop.run_until_complete(client.start_server()) test_test_utils.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:642: in run_until_complete return future.result() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ______________ ERROR at setup of test_test_client_methods[post0] _______________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> app = @pytest.fixture def test_client(loop, app) -> None: async def make_client(): return _TestClient(_TestServer(app, loop=loop), loop=loop) client = loop.run_until_complete(make_client()) > loop.run_until_complete(client.start_server()) test_test_utils.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:642: in run_until_complete return future.result() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning _____________ ERROR at setup of test_test_client_methods[options] ______________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> app = @pytest.fixture def test_client(loop, app) -> None: async def make_client(): return _TestClient(_TestServer(app, loop=loop), loop=loop) client = loop.run_until_complete(make_client()) > loop.run_until_complete(client.start_server()) test_test_utils.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:642: in run_until_complete return future.result() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ______________ ERROR at setup of test_test_client_methods[post1] _______________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> app = @pytest.fixture def test_client(loop, app) -> None: async def make_client(): return _TestClient(_TestServer(app, loop=loop), loop=loop) client = loop.run_until_complete(make_client()) > loop.run_until_complete(client.start_server()) test_test_utils.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:642: in run_until_complete return future.result() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning _______________ ERROR at setup of test_test_client_methods[put] ________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> app = @pytest.fixture def test_client(loop, app) -> None: async def make_client(): return _TestClient(_TestServer(app, loop=loop), loop=loop) client = loop.run_until_complete(make_client()) > loop.run_until_complete(client.start_server()) test_test_utils.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:642: in run_until_complete return future.result() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ______________ ERROR at setup of test_test_client_methods[patch] _______________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> app = @pytest.fixture def test_client(loop, app) -> None: async def make_client(): return _TestClient(_TestServer(app, loop=loop), loop=loop) client = loop.run_until_complete(make_client()) > loop.run_until_complete(client.start_server()) test_test_utils.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:642: in run_until_complete return future.result() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ______________ ERROR at setup of test_test_client_methods[delete] ______________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> app = @pytest.fixture def test_client(loop, app) -> None: async def make_client(): return _TestClient(_TestServer(app, loop=loop), loop=loop) client = loop.run_until_complete(make_client()) > loop.run_until_complete(client.start_server()) test_test_utils.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:642: in run_until_complete return future.result() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ___________________ ERROR at setup of test_test_client_head ____________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> app = @pytest.fixture def test_client(loop, app) -> None: async def make_client(): return _TestClient(_TestServer(app, loop=loop), loop=loop) client = loop.run_until_complete(make_client()) > loop.run_until_complete(client.start_server()) test_test_utils.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:642: in run_until_complete return future.result() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning =================================== FAILURES =================================== _________________ test_keepalive_two_requests_success[pyloop] __________________ aiohttp_client = .go at 0x7ffff3cc11f0> async def test_keepalive_two_requests_success(aiohttp_client) -> None: async def handler(request): body = await request.read() assert b"" == body return web.Response(body=b"OK") app = web.Application() app.router.add_route("GET", "/", handler) connector = aiohttp.TCPConnector(limit=1) > client = await aiohttp_client(app, connector=connector) test_client_functional.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ______________ test_keepalive_after_head_requests_success[pyloop] ______________ aiohttp_client = .go at 0x7ffff4213040> async def test_keepalive_after_head_requests_success(aiohttp_client) -> None: async def handler(request): body = await request.read() assert b"" == body return web.Response(body=b"OK") cnt_conn_reuse = 0 async def on_reuseconn(session, ctx, params): nonlocal cnt_conn_reuse cnt_conn_reuse += 1 trace_config = aiohttp.TraceConfig() trace_config._on_connection_reuseconn.append(on_reuseconn) app = web.Application() app.router.add_route("GET", "/", handler) connector = aiohttp.TCPConnector(limit=1) > client = await aiohttp_client( app, connector=connector, trace_configs=[trace_config] ) test_client_functional.py:72: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________ test_keepalive_response_released[pyloop] ___________________ aiohttp_client = .go at 0x7ffff3ee0ca0> async def test_keepalive_response_released(aiohttp_client) -> None: async def handler(request): body = await request.read() assert b"" == body return web.Response(body=b"OK") app = web.Application() app.router.add_route("GET", "/", handler) connector = aiohttp.TCPConnector(limit=1) > client = await aiohttp_client(app, connector=connector) test_client_functional.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________ test_keepalive_server_force_close_connection[pyloop] _____________ aiohttp_client = .go at 0x7ffff40c8ee0> async def test_keepalive_server_force_close_connection(aiohttp_client) -> None: async def handler(request): body = await request.read() assert b"" == body response = web.Response(body=b"OK") response.force_close() return response app = web.Application() app.router.add_route("GET", "/", handler) connector = aiohttp.TCPConnector(limit=1) > client = await aiohttp_client(app, connector=connector) test_client_functional.py:116: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_release_early[pyloop] __________________________ aiohttp_client = .go at 0x7ffff3e1e550> async def test_release_early(aiohttp_client) -> None: async def handler(request): await request.read() return web.Response(body=b"OK") app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________________ test_HTTP_304[pyloop] _____________________________ aiohttp_client = .go at 0x7ffff4213040> async def test_HTTP_304(aiohttp_client) -> None: async def handler(request): body = await request.read() assert b"" == body return web.Response(status=304) app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:148: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_HTTP_304_WITH_BODY[pyloop] ________________________ aiohttp_client = .go at 0x7ffff3cc11f0> async def test_HTTP_304_WITH_BODY(aiohttp_client) -> None: async def handler(request): body = await request.read() assert b"" == body return web.Response(body=b"test", status=304) app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:164: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_auto_header_user_agent[pyloop] ______________________ aiohttp_client = .go at 0x7ffff3ee0ca0> async def test_auto_header_user_agent(aiohttp_client) -> None: async def handler(request): assert "aiohttp" in request.headers["user-agent"] return web.Response() app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:179: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_skip_auto_headers_user_agent[pyloop] ___________________ aiohttp_client = .go at 0x7ffff3cc11f0> async def test_skip_auto_headers_user_agent(aiohttp_client) -> None: async def handler(request): assert hdrs.USER_AGENT not in request.headers return web.Response() app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:192: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________ test_skip_default_auto_headers_user_agent[pyloop] _______________ aiohttp_client = .go at 0x7ffff3e1e550> async def test_skip_default_auto_headers_user_agent(aiohttp_client) -> None: async def handler(request): assert hdrs.USER_AGENT not in request.headers return web.Response() app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app, skip_auto_headers=["user-agent"]) test_client_functional.py:205: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________ test_skip_auto_headers_content_type[pyloop] __________________ aiohttp_client = .go at 0x7ffff3cc1280> async def test_skip_auto_headers_content_type(aiohttp_client) -> None: async def handler(request): assert hdrs.CONTENT_TYPE not in request.headers return web.Response() app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:218: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_post_data_bytesio[pyloop] ________________________ aiohttp_client = .go at 0x7ffff3e1e820> async def test_post_data_bytesio(aiohttp_client) -> None: data = b"some buffer" async def handler(request): assert len(data) == request.content_length val = await request.read() assert data == val return web.Response() app = web.Application() app.router.add_route("POST", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:235: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________ test_post_data_with_bytesio_file[pyloop] ___________________ aiohttp_client = .go at 0x7ffff3cc11f0> async def test_post_data_with_bytesio_file(aiohttp_client) -> None: data = b"some buffer" async def handler(request): post_data = await request.post() assert ["file"] == list(post_data.keys()) assert data == post_data["file"].file.read() return web.Response() app = web.Application() app.router.add_route("POST", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:252: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_post_data_stringio[pyloop] ________________________ aiohttp_client = .go at 0x7ffff4213160> async def test_post_data_stringio(aiohttp_client) -> None: data = "some buffer" async def handler(request): assert len(data) == request.content_length assert request.headers["CONTENT-TYPE"] == "text/plain; charset=utf-8" val = await request.text() assert data == val return web.Response() app = web.Application() app.router.add_route("POST", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:270: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_post_data_textio_encoding[pyloop] ____________________ aiohttp_client = .go at 0x7ffff3e1e820> async def test_post_data_textio_encoding(aiohttp_client) -> None: data = "текст" async def handler(request): assert request.headers["CONTENT-TYPE"] == "text/plain; charset=koi8-r" val = await request.text() assert data == val return web.Response() app = web.Application() app.router.add_route("POST", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________________ test_ssl_client[pyloop] ____________________________ aiohttp_server = .go at 0x7ffff38b8e50> ssl_ctx = aiohttp_client = .go at 0x7ffff36d7a60> client_ssl_ctx = async def test_ssl_client( aiohttp_server, ssl_ctx, aiohttp_client, client_ssl_ctx, ) -> None: connector = aiohttp.TCPConnector(ssl=client_ssl_ctx) async def handler(request): return web.Response(text="Test message") app = web.Application() app.router.add_route("GET", "/", handler) > server = await aiohttp_server(app, ssl=ssl_ctx) test_client_functional.py:307: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_tcp_connector_fingerprint_ok[pyloop] ___________________ aiohttp_server = .go at 0x7ffff40c8e50> aiohttp_client = .go at 0x7ffff38b8ca0> ssl_ctx = tls_certificate_fingerprint_sha256 = b'\x85\xf0\xe4Z\xd8\xa59\x96\x08\x8bA\x9aY\xea\x1a\n\x8a\xd9\xc2j#\xb7\x8a\xd2H\xf7\x94\xde^4\xadr' async def test_tcp_connector_fingerprint_ok( aiohttp_server, aiohttp_client, ssl_ctx, tls_certificate_fingerprint_sha256, ): tls_fingerprint = Fingerprint(tls_certificate_fingerprint_sha256) async def handler(request): return web.Response(text="Test message") connector = aiohttp.TCPConnector(ssl=tls_fingerprint) app = web.Application() app.router.add_route("GET", "/", handler) > server = await aiohttp_server(app, ssl=ssl_ctx) test_client_functional.py:330: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _________________ test_tcp_connector_fingerprint_fail[pyloop] __________________ aiohttp_server = .go at 0x7ffff3e1e550> aiohttp_client = .go at 0x7ffff3ee0ca0> ssl_ctx = tls_certificate_fingerprint_sha256 = b'\xed\xc3\xf5\xe2N\xd9}\xff\xab\xff\x8d\t\xa3\x0c!\xd5\xe8d\xe5{^\x92F!\t\x13\xc9\x8e)\xc4\x1d(' async def test_tcp_connector_fingerprint_fail( aiohttp_server, aiohttp_client, ssl_ctx, tls_certificate_fingerprint_sha256, ): async def handler(request): return web.Response(text="Test message") bad_fingerprint = b"\x00" * len(tls_certificate_fingerprint_sha256) connector = aiohttp.TCPConnector(ssl=Fingerprint(bad_fingerprint)) app = web.Application() app.router.add_route("GET", "/", handler) > server = await aiohttp_server(app, ssl=ssl_ctx) test_client_functional.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _________________________ test_format_task_get[pyloop] _________________________ aiohttp_server = .go at 0x7ffff3d15940> async def test_format_task_get(aiohttp_server) -> None: loop = asyncio.get_event_loop() async def handler(request): return web.Response(body=b"OK") app = web.Application() app.router.add_route("GET", "/", handler) > server = await aiohttp_server(app) test_client_functional.py:371: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ___________________________ test_str_params[pyloop] ____________________________ aiohttp_client = .go at 0x7ffff36d7940> async def test_str_params(aiohttp_client) -> None: async def handler(request): assert "q=t est" in request.rel_url.query_string return web.Response() app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:387: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _____________________ test_drop_params_on_redirect[pyloop] _____________________ aiohttp_client = .go at 0x7ffff38b8e50> async def test_drop_params_on_redirect(aiohttp_client) -> None: async def handler_redirect(request): return web.Response(status=301, headers={"Location": "/ok?a=redirect"}) async def handler_ok(request): assert request.rel_url.query_string == "a=redirect" return web.Response(status=200) app = web.Application() app.router.add_route("GET", "/ok", handler_ok) app.router.add_route("GET", "/redirect", handler_redirect) > client = await aiohttp_client(app) test_client_functional.py:404: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_drop_fragment_on_redirect[pyloop] ____________________ aiohttp_client = .go at 0x7ffff383df70> async def test_drop_fragment_on_redirect(aiohttp_client) -> None: async def handler_redirect(request): return web.Response(status=301, headers={"Location": "/ok#fragment"}) async def handler_ok(request): return web.Response(status=200) app = web.Application() app.router.add_route("GET", "/ok", handler_ok) app.router.add_route("GET", "/redirect", handler_redirect) > client = await aiohttp_client(app) test_client_functional.py:420: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_drop_fragment[pyloop] __________________________ aiohttp_client = .go at 0x7ffff38b8a60> async def test_drop_fragment(aiohttp_client) -> None: async def handler_ok(request): return web.Response(status=200) app = web.Application() app.router.add_route("GET", "/ok", handler_ok) > client = await aiohttp_client(app) test_client_functional.py:433: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________________ test_history[pyloop] _____________________________ aiohttp_client = .go at 0x7ffff36d7a60> async def test_history(aiohttp_client) -> None: async def handler_redirect(request): return web.Response(status=301, headers={"Location": "/ok"}) async def handler_ok(request): return web.Response(status=200) app = web.Application() app.router.add_route("GET", "/ok", handler_ok) app.router.add_route("GET", "/redirect", handler_redirect) > client = await aiohttp_client(app) test_client_functional.py:450: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________ test_keepalive_closed_by_server[pyloop] ____________________ aiohttp_client = .go at 0x7ffff38b8e50> async def test_keepalive_closed_by_server(aiohttp_client) -> None: async def handler(request): body = await request.read() assert b"" == body resp = web.Response(body=b"OK") resp.force_close() return resp app = web.Application() app.router.add_route("GET", "/", handler) connector = aiohttp.TCPConnector(limit=1) > client = await aiohttp_client(app, connector=connector) test_client_functional.py:474: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________________ test_wait_for[pyloop] _____________________________ aiohttp_client = .go at 0x7ffff36d7940> async def test_wait_for(aiohttp_client) -> None: async def handler(request): return web.Response(body=b"OK") app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:492: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________________ test_raw_headers[pyloop] ___________________________ aiohttp_client = .go at 0x7ffff383dee0> async def test_raw_headers(aiohttp_client) -> None: async def handler(request): return web.Response() app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:506: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_host_header_first[pyloop] ________________________ aiohttp_client = .go at 0x7ffff3cc1280> async def test_host_header_first(aiohttp_client) -> None: async def handler(request): assert list(request.headers)[0] == hdrs.HOST return web.Response() app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:527: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_empty_header_values[pyloop] _______________________ aiohttp_client = .go at 0x7ffff38b8a60> async def test_empty_header_values(aiohttp_client) -> None: async def handler(request): resp = web.Response() resp.headers["X-Empty"] = "" return resp app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:540: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________ test_204_with_gzipped_content_encoding[pyloop] ________________ aiohttp_client = .go at 0x7ffff36d7a60> async def test_204_with_gzipped_content_encoding(aiohttp_client) -> None: async def handler(request): resp = web.StreamResponse(status=204) resp.content_length = 0 resp.content_type = "application/json" # resp.enable_compression(web.ContentCoding.gzip) resp.headers["Content-Encoding"] = "gzip" await resp.prepare(request) return resp app = web.Application() app.router.add_route("DELETE", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:566: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________ test_timeout_on_reading_headers[pyloop] ____________________ aiohttp_client = .go at 0x7ffff38b8ca0> mocker = async def test_timeout_on_reading_headers(aiohttp_client, mocker) -> None: async def handler(request): resp = web.StreamResponse() await asyncio.sleep(0.1) await resp.prepare(request) return resp app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:582: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________ test_timeout_on_conn_reading_headers[pyloop] _________________ aiohttp_client = .go at 0x7ffff40c8ee0> mocker = async def test_timeout_on_conn_reading_headers(aiohttp_client, mocker) -> None: # tests case where user did not set a connection timeout async def handler(request): resp = web.StreamResponse() await asyncio.sleep(0.1) await resp.prepare(request) return resp app = web.Application() app.router.add_route("GET", "/", handler) conn = aiohttp.TCPConnector() > client = await aiohttp_client(app, connector=conn) test_client_functional.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________ test_timeout_on_session_read_timeout[pyloop] _________________ aiohttp_client = .go at 0x7ffff38b8a60> mocker = async def test_timeout_on_session_read_timeout(aiohttp_client, mocker) -> None: async def handler(request): resp = web.StreamResponse() await asyncio.sleep(0.1) await resp.prepare(request) return resp app = web.Application() app.router.add_route("GET", "/", handler) conn = aiohttp.TCPConnector() > client = await aiohttp_client( app, connector=conn, timeout=aiohttp.ClientTimeout(sock_read=0.01) ) test_client_functional.py:618: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________ test_read_timeout_between_chunks[pyloop] ___________________ aiohttp_client = .go at 0x7ffff4130280> mocker = async def test_read_timeout_between_chunks(aiohttp_client, mocker) -> None: async def handler(request): resp = aiohttp.web.StreamResponse() await resp.prepare(request) # write data 4 times, with pauses. Total time 2 seconds. for _ in range(4): await asyncio.sleep(0.5) await resp.write(b"data\n") return resp app = web.Application() app.add_routes([web.get("/", handler)]) # A timeout of 0.2 seconds should apply per read. timeout = aiohttp.ClientTimeout(sock_read=1) > client = await aiohttp_client(app, timeout=timeout) test_client_functional.py:641: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________ test_read_timeout_on_reading_chunks[pyloop] __________________ aiohttp_client = .go at 0x7ffff4213040> mocker = async def test_read_timeout_on_reading_chunks(aiohttp_client, mocker) -> None: async def handler(request): resp = aiohttp.web.StreamResponse() await resp.prepare(request) await resp.write(b"data\n") await asyncio.sleep(1) await resp.write(b"data\n") return resp app = web.Application() app.add_routes([web.get("/", handler)]) # A timeout of 0.2 seconds should apply per read. timeout = aiohttp.ClientTimeout(sock_read=0.2) > client = await aiohttp_client(app, timeout=timeout) test_client_functional.py:664: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_timeout_on_reading_data[pyloop] _____________________ aiohttp_client = .go at 0x7ffff3cc1280> mocker = async def test_timeout_on_reading_data(aiohttp_client, mocker) -> None: loop = asyncio.get_event_loop() fut = loop.create_future() async def handler(request): resp = web.StreamResponse(headers={"content-length": "100"}) await resp.prepare(request) fut.set_result(None) await asyncio.sleep(0.2) return resp app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:686: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_timeout_none[pyloop] ___________________________ aiohttp_client = .go at 0x7ffff4213040> mocker = async def test_timeout_none(aiohttp_client, mocker) -> None: async def handler(request): resp = web.StreamResponse() await resp.prepare(request) return resp app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:703: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_readline_error_on_conn_close[pyloop] ___________________ aiohttp_client = .go at 0x7ffff3e1e550> async def test_readline_error_on_conn_close(aiohttp_client) -> None: loop = asyncio.get_event_loop() async def handler(request): resp_ = web.StreamResponse() await resp_.prepare(request) # make sure connection is closed by client. with pytest.raises(aiohttp.ServerDisconnectedError): for _ in range(10): await resp_.write(b"data\n") await asyncio.sleep(0.5) return resp_ app = web.Application() app.router.add_route("GET", "/", handler) > server = await aiohttp_client(app) test_client_functional.py:725: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_no_error_on_conn_close_if_eof[pyloop] __________________ aiohttp_client = .go at 0x7ffff38b8e50> async def test_no_error_on_conn_close_if_eof(aiohttp_client) -> None: async def handler(request): resp_ = web.StreamResponse() await resp_.prepare(request) await resp_.write(b"data\n") await asyncio.sleep(0.5) return resp_ app = web.Application() app.router.add_route("GET", "/", handler) > server = await aiohttp_client(app) test_client_functional.py:760: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________ test_error_not_overwrote_on_conn_close[pyloop] ________________ aiohttp_client = .go at 0x7ffff4130280> async def test_error_not_overwrote_on_conn_close(aiohttp_client) -> None: async def handler(request): resp_ = web.StreamResponse() await resp_.prepare(request) return resp_ app = web.Application() app.router.add_route("GET", "/", handler) > server = await aiohttp_client(app) test_client_functional.py:786: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_HTTP_200_OK_METHOD[pyloop] ________________________ aiohttp_client = .go at 0x7ffff36d7940> async def test_HTTP_200_OK_METHOD(aiohttp_client) -> None: async def handler(request): return web.Response(text=request.method) app = web.Application() for meth in ("get", "post", "put", "delete", "head", "patch", "options"): app.router.add_route(meth.upper(), "/", handler) > client = await aiohttp_client(app) test_client_functional.py:807: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_HTTP_200_OK_METHOD_connector[pyloop] ___________________ aiohttp_client = .go at 0x7ffff38b8a60> async def test_HTTP_200_OK_METHOD_connector(aiohttp_client) -> None: async def handler(request): return web.Response(text=request.method) conn = aiohttp.TCPConnector() conn.clear_dns_cache() app = web.Application() for meth in ("get", "post", "put", "delete", "head"): app.router.add_route(meth.upper(), "/", handler) > client = await aiohttp_client(app, connector=conn) test_client_functional.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________ test_HTTP_302_REDIRECT_GET[pyloop] ______________________ aiohttp_client = .go at 0x7ffff36d7a60> async def test_HTTP_302_REDIRECT_GET(aiohttp_client) -> None: async def handler(request): return web.Response(text=request.method) async def redirect(request): raise web.HTTPFound(location="/") app = web.Application() app.router.add_get("/", handler) app.router.add_get("/redirect", redirect) > client = await aiohttp_client(app) test_client_functional.py:861: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_HTTP_302_REDIRECT_HEAD[pyloop] ______________________ aiohttp_client = .go at 0x7ffff3d15a60> async def test_HTTP_302_REDIRECT_HEAD(aiohttp_client) -> None: async def handler(request): return web.Response(text=request.method) async def redirect(request): raise web.HTTPFound(location="/") app = web.Application() app.router.add_get("/", handler) app.router.add_get("/redirect", redirect) app.router.add_head("/", handler) app.router.add_head("/redirect", redirect) > client = await aiohttp_client(app) test_client_functional.py:881: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________ test_HTTP_302_REDIRECT_NON_HTTP[pyloop] ____________________ aiohttp_client = .go at 0x7ffff3943790> async def test_HTTP_302_REDIRECT_NON_HTTP(aiohttp_client) -> None: async def redirect(request): raise web.HTTPFound(location="ftp://127.0.0.1/test/") app = web.Application() app.router.add_get("/redirect", redirect) > client = await aiohttp_client(app) test_client_functional.py:896: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_HTTP_302_REDIRECT_POST[pyloop] ______________________ aiohttp_client = .go at 0x7ffff3cc1280> async def test_HTTP_302_REDIRECT_POST(aiohttp_client) -> None: async def handler(request): return web.Response(text=request.method) async def redirect(request): raise web.HTTPFound(location="/") app = web.Application() app.router.add_get("/", handler) app.router.add_post("/redirect", redirect) > client = await aiohttp_client(app) test_client_functional.py:912: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________ test_HTTP_302_REDIRECT_POST_with_content_length_hdr[pyloop] __________ aiohttp_client = .go at 0x7ffff4213040> async def test_HTTP_302_REDIRECT_POST_with_content_length_hdr(aiohttp_client) -> None: async def handler(request): return web.Response(text=request.method) async def redirect(request): await request.read() raise web.HTTPFound(location="/") data = json.dumps({"some": "data"}) app = web.Application() app.router.add_get("/", handler) app.router.add_post("/redirect", redirect) > client = await aiohttp_client(app) test_client_functional.py:934: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_HTTP_307_REDIRECT_POST[pyloop] ______________________ aiohttp_client = .go at 0x7ffff3943c10> async def test_HTTP_307_REDIRECT_POST(aiohttp_client) -> None: async def handler(request): return web.Response(text=request.method) async def redirect(request): await request.read() raise web.HTTPTemporaryRedirect(location="/") app = web.Application() app.router.add_post("/", handler) app.router.add_post("/redirect", redirect) > client = await aiohttp_client(app) test_client_functional.py:957: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________ test_HTTP_308_PERMANENT_REDIRECT_POST[pyloop] _________________ aiohttp_client = .go at 0x7ffff38b8a60> async def test_HTTP_308_PERMANENT_REDIRECT_POST(aiohttp_client) -> None: async def handler(request): return web.Response(text=request.method) async def redirect(request): await request.read() raise web.HTTPPermanentRedirect(location="/") app = web.Application() app.router.add_post("/", handler) app.router.add_post("/redirect", redirect) > client = await aiohttp_client(app) test_client_functional.py:978: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_HTTP_302_max_redirects[pyloop] ______________________ aiohttp_client = .go at 0x7ffff3943c10> async def test_HTTP_302_max_redirects(aiohttp_client) -> None: async def handler(request): return web.Response(text=request.method) async def redirect(request): count = int(request.match_info["count"]) if count: raise web.HTTPFound(location="/redirect/{}".format(count - 1)) else: raise web.HTTPFound(location="/") app = web.Application() app.router.add_get("/", handler) app.router.add_get(r"/redirect/{count:\d+}", redirect) > client = await aiohttp_client(app) test_client_functional.py:1002: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_HTTP_200_GET_WITH_PARAMS[pyloop] _____________________ aiohttp_client = .go at 0x7ffff38b8a60> async def test_HTTP_200_GET_WITH_PARAMS(aiohttp_client) -> None: async def handler(request): return web.Response( text="&".join(k + "=" + v for k, v in request.query.items()) ) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1019: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________ test_HTTP_200_GET_WITH_MultiDict_PARAMS[pyloop] ________________ aiohttp_client = .go at 0x7ffff3a91a60> async def test_HTTP_200_GET_WITH_MultiDict_PARAMS(aiohttp_client) -> None: async def handler(request): return web.Response( text="&".join(k + "=" + v for k, v in request.query.items()) ) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1036: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________ test_HTTP_200_GET_WITH_MIXED_PARAMS[pyloop] __________________ aiohttp_client = .go at 0x7ffff4213160> async def test_HTTP_200_GET_WITH_MIXED_PARAMS(aiohttp_client) -> None: async def handler(request): return web.Response( text="&".join(k + "=" + v for k, v in request.query.items()) ) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1053: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________________ test_POST_DATA[pyloop] ____________________________ aiohttp_client = .go at 0x7ffff3a91a60> async def test_POST_DATA(aiohttp_client) -> None: async def handler(request): data = await request.post() return web.json_response(dict(data)) app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1069: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________ test_POST_DATA_with_explicit_formdata[pyloop] _________________ aiohttp_client = .go at 0x7ffff383dee0> async def test_POST_DATA_with_explicit_formdata(aiohttp_client) -> None: async def handler(request): data = await request.post() return web.json_response(dict(data)) app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1085: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_POST_DATA_with_charset[pyloop] ______________________ aiohttp_client = .go at 0x7ffff38b8a60> async def test_POST_DATA_with_charset(aiohttp_client) -> None: async def handler(request): mp = await request.multipart() part = await mp.next() text = await part.text() return web.Response(text=text) app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________ test_POST_DATA_formdats_with_charset[pyloop] _________________ aiohttp_client = .go at 0x7ffff36d7a60> async def test_POST_DATA_formdats_with_charset(aiohttp_client) -> None: async def handler(request): mp = await request.post() assert "name" in mp return web.Response(text=mp["name"]) app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________ test_POST_DATA_with_charset_post[pyloop] ___________________ aiohttp_client = .go at 0x7ffff3d15a60> async def test_POST_DATA_with_charset_post(aiohttp_client) -> None: async def handler(request): data = await request.post() return web.Response(text=data["name"]) app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1145: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________ test_POST_DATA_with_context_transfer_encoding[pyloop] _____________ aiohttp_client = .go at 0x7ffff383dee0> async def test_POST_DATA_with_context_transfer_encoding(aiohttp_client) -> None: async def handler(request): data = await request.post() assert data["name"] == "text" return web.Response(text=data["name"]) app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1165: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______ test_POST_DATA_with_content_type_context_transfer_encoding[pyloop] ______ aiohttp_client = .go at 0x7ffff3a91ee0> async def test_POST_DATA_with_content_type_context_transfer_encoding(aiohttp_client): async def handler(request): data = await request.post() assert data["name"] == "text" return web.Response(body=data["name"]) app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1185: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_POST_MultiDict[pyloop] __________________________ aiohttp_client = .go at 0x7ffff383df70> async def test_POST_MultiDict(aiohttp_client) -> None: async def handler(request): data = await request.post() assert data == MultiDict([("q", "test1"), ("q", "test2")]) return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1207: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_POST_DATA_DEFLATE[pyloop] ________________________ aiohttp_client = .go at 0x7ffff3d15a60> async def test_POST_DATA_DEFLATE(aiohttp_client) -> None: async def handler(request): data = await request.post() return web.json_response(dict(data)) app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1221: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________________ test_POST_FILES[pyloop] ____________________________ aiohttp_client = .go at 0x7ffff3cc1280> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_POST_FILES(aiohttp_client, fname) -> None: async def handler(request): data = await request.post() assert data["some"].filename == fname.name with fname.open("rb") as f: content1 = f.read() content2 = data["some"].file.read() assert content1 == content2 assert data["test"].file.read() == b"data" return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1243: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_POST_FILES_DEFLATE[pyloop] ________________________ aiohttp_client = .go at 0x7ffff4130280> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_POST_FILES_DEFLATE(aiohttp_client, fname) -> None: async def handler(request): data = await request.post() assert data["some"].filename == fname.name with fname.open("rb") as f: content1 = f.read() content2 = data["some"].file.read() assert content1 == content2 return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1263: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________________ test_POST_bytes[pyloop] ____________________________ aiohttp_client = .go at 0x7ffff383df70> async def test_POST_bytes(aiohttp_client) -> None: body = b"0" * 12345 async def handler(request): data = await request.read() assert body == data return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1283: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________ test_POST_bytes_too_large[pyloop] _______________________ aiohttp_client = .go at 0x7ffff3a91a60> async def test_POST_bytes_too_large(aiohttp_client) -> None: body = b"0" * (2 ** 20 + 1) async def handler(request): data = await request.content.read() assert body == data return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1300: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_POST_FILES_STR[pyloop] __________________________ aiohttp_client = .go at 0x7ffff38b8a60> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_POST_FILES_STR(aiohttp_client, fname) -> None: async def handler(request): data = await request.post() with fname.open("rb") as f: content1 = f.read().decode() content2 = data["some"] assert content1 == content2 return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1320: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________ test_POST_FILES_STR_SIMPLE[pyloop] ______________________ aiohttp_client = .go at 0x7ffff3a91ee0> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_POST_FILES_STR_SIMPLE(aiohttp_client, fname) -> None: async def handler(request): data = await request.read() with fname.open("rb") as f: content = f.read() assert content == data return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_POST_FILES_LIST[pyloop] _________________________ aiohttp_client = .go at 0x7ffff383dee0> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_POST_FILES_LIST(aiohttp_client, fname) -> None: async def handler(request): data = await request.post() assert fname.name == data["some"].filename with fname.open("rb") as f: content = f.read() assert content == data["some"].file.read() return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1357: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_POST_FILES_CT[pyloop] __________________________ aiohttp_client = .go at 0x7ffff3a91a60> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_POST_FILES_CT(aiohttp_client, fname) -> None: async def handler(request): data = await request.post() assert fname.name == data["some"].filename assert "text/plain" == data["some"].content_type with fname.open("rb") as f: content = f.read() assert content == data["some"].file.read() return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_POST_FILES_SINGLE[pyloop] ________________________ aiohttp_client = .go at 0x7ffff3662e50> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_POST_FILES_SINGLE(aiohttp_client, fname) -> None: async def handler(request): data = await request.text() with fname.open("rb") as f: content = f.read().decode() assert content == data # if system cannot determine 'text/x-python' MIME type # then use 'application/octet-stream' default assert request.content_type in [ "text/plain", "application/octet-stream", "text/x-python", ] assert "content-disposition" not in request.headers return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________ test_POST_FILES_SINGLE_content_disposition[pyloop] ______________ aiohttp_client = .go at 0x7ffff3a91ee0> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_POST_FILES_SINGLE_content_disposition(aiohttp_client, fname) -> None: async def handler(request): data = await request.text() with fname.open("rb") as f: content = f.read().decode() assert content == data # if system cannot determine 'application/pgp-keys' MIME type # then use 'application/octet-stream' default assert request.content_type in [ "text/plain", "application/octet-stream", "text/x-python", ] assert request.headers["content-disposition"] == ( "inline; filename=\"conftest.py\"; filename*=utf-8''conftest.py" ) return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_POST_FILES_SINGLE_BINARY[pyloop] _____________________ aiohttp_client = .go at 0x7ffff383df70> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_POST_FILES_SINGLE_BINARY(aiohttp_client, fname) -> None: async def handler(request): data = await request.read() with fname.open("rb") as f: content = f.read() assert content == data # if system cannot determine 'application/pgp-keys' MIME type # then use 'application/octet-stream' default assert request.content_type in [ "application/pgp-keys", "text/plain", "text/x-python", "application/octet-stream", ] return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1461: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_POST_FILES_IO[pyloop] __________________________ aiohttp_client = .go at 0x7ffff3a91a60> async def test_POST_FILES_IO(aiohttp_client) -> None: async def handler(request): data = await request.post() assert b"data" == data["unknown"].file.read() assert data["unknown"].content_type == "application/octet-stream" assert data["unknown"].filename == "unknown" return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1479: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_POST_FILES_IO_WITH_PARAMS[pyloop] ____________________ aiohttp_client = .go at 0x7ffff3d15a60> async def test_POST_FILES_IO_WITH_PARAMS(aiohttp_client) -> None: async def handler(request): data = await request.post() assert data["test"] == "true" assert data["unknown"].content_type == "application/octet-stream" assert data["unknown"].filename == "unknown" assert data["unknown"].file.read() == b"data" assert data.getall("q") == ["t1", "t2"] return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1500: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________ test_POST_FILES_WITH_DATA[pyloop] _______________________ aiohttp_client = .go at 0x7ffff3cc1280> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_POST_FILES_WITH_DATA(aiohttp_client, fname) -> None: async def handler(request): data = await request.post() assert data["test"] == "true" assert data["some"].content_type in [ "text/x-python", "text/plain", "application/octet-stream", ] assert data["some"].filename == fname.name with fname.open("rb") as f: assert data["some"].file.read() == f.read() return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1527: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_POST_STREAM_DATA[pyloop] _________________________ aiohttp_client = .go at 0x7ffff3662e50> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_POST_STREAM_DATA(aiohttp_client, fname) -> None: async def handler(request): assert request.content_type == "application/octet-stream" content = await request.read() with fname.open("rb") as f: expected = f.read() assert request.content_length == len(expected) assert content == expected return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1548: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________ test_POST_STREAM_DATA_no_params[pyloop] ____________________ aiohttp_client = .go at 0x7ffff36d7a60> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_POST_STREAM_DATA_no_params(aiohttp_client, fname) -> None: async def handler(request): assert request.content_type == "application/octet-stream" content = await request.read() with fname.open("rb") as f: expected = f.read() assert request.content_length == len(expected) assert content == expected return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1583: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________________ test_json[pyloop] _______________________________ aiohttp_client = .go at 0x7ffff3662dc0> async def test_json(aiohttp_client) -> None: async def handler(request): assert request.content_type == "application/json" data = await request.json() return web.Response(body=aiohttp.JsonPayload(data)) app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1613: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________________ test_json_custom[pyloop] ___________________________ aiohttp_client = .go at 0x7ffff38b8ca0> async def test_json_custom(aiohttp_client) -> None: async def handler(request): assert request.content_type == "application/json" data = await request.json() return web.Response(body=aiohttp.JsonPayload(data)) used = False def dumps(obj): nonlocal used used = True return json.dumps(obj) app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app, json_serialize=dumps) test_client_functional.py:1640: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_expect_continue[pyloop] _________________________ aiohttp_client = .go at 0x7ffff3d15a60> async def test_expect_continue(aiohttp_client) -> None: expect_called = False async def handler(request): data = await request.post() assert data == {"some": "data"} return web.Response() async def expect_handler(request): nonlocal expect_called expect = request.headers.get(hdrs.EXPECT) if expect.lower() == "100-continue": request.transport.write(b"HTTP/1.1 100 Continue\r\n\r\n") expect_called = True app = web.Application() app.router.add_post("/", handler, expect_handler=expect_handler) > client = await aiohttp_client(app) test_client_functional.py:1670: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_encoding_deflate[pyloop] _________________________ aiohttp_client = .go at 0x7ffff3a91ee0> async def test_encoding_deflate(aiohttp_client) -> None: async def handler(request): resp = web.Response(text="text") resp.enable_chunked_encoding() resp.enable_compression(web.ContentCoding.deflate) return resp app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1687: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_encoding_deflate_nochunk[pyloop] _____________________ aiohttp_client = .go at 0x7ffff4130280> async def test_encoding_deflate_nochunk(aiohttp_client) -> None: async def handler(request): resp = web.Response(text="text") resp.enable_compression(web.ContentCoding.deflate) return resp app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1704: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_encoding_gzip[pyloop] __________________________ aiohttp_client = .go at 0x7ffff383df70> async def test_encoding_gzip(aiohttp_client) -> None: async def handler(request): resp = web.Response(text="text") resp.enable_chunked_encoding() resp.enable_compression(web.ContentCoding.gzip) return resp app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_encoding_gzip_write_by_chunks[pyloop] __________________ aiohttp_client = .go at 0x7ffff3cc1280> async def test_encoding_gzip_write_by_chunks(aiohttp_client) -> None: async def handler(request): resp = web.StreamResponse() resp.enable_compression(web.ContentCoding.gzip) await resp.prepare(request) await resp.write(b"0") await resp.write(b"0") return resp app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1742: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________ test_encoding_gzip_nochunk[pyloop] ______________________ aiohttp_client = .go at 0x7ffff3a91a60> async def test_encoding_gzip_nochunk(aiohttp_client) -> None: async def handler(request): resp = web.Response(text="text") resp.enable_compression(web.ContentCoding.gzip) return resp app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1759: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_bad_payload_compression[pyloop] _____________________ aiohttp_client = .go at 0x7ffff3943c10> async def test_bad_payload_compression(aiohttp_client) -> None: async def handler(request): resp = web.Response(text="text") resp.headers["Content-Encoding"] = "gzip" return resp app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1776: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_bad_payload_chunked_encoding[pyloop] ___________________ aiohttp_client = .go at 0x7ffff4213160> async def test_bad_payload_chunked_encoding(aiohttp_client) -> None: async def handler(request): resp = web.StreamResponse() resp.force_close() resp._length_check = False resp.headers["Transfer-Encoding"] = "chunked" writer = await resp.prepare(request) await writer.write(b"9\r\n\r\n") await writer.write_eof() return resp app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1800: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________ test_bad_payload_content_length[pyloop] ____________________ aiohttp_client = .go at 0x7ffff3662dc0> async def test_bad_payload_content_length(aiohttp_client) -> None: async def handler(request): resp = web.Response(text="text") resp.headers["Content-Length"] = "10000" resp.force_close() return resp app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1820: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________ test_payload_content_length_by_chunks[pyloop] _________________ aiohttp_client = .go at 0x7ffff3a91a60> async def test_payload_content_length_by_chunks(aiohttp_client) -> None: async def handler(request): resp = web.StreamResponse(headers={"content-length": "3"}) await resp.prepare(request) await resp.write(b"answer") await resp.write(b"two") request.transport.close() return resp app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1842: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________________ test_chunked[pyloop] _____________________________ aiohttp_client = .go at 0x7ffff4130280> async def test_chunked(aiohttp_client) -> None: async def handler(request): resp = web.Response(text="text") resp.enable_chunked_encoding() return resp app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1858: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________________ test_shortcuts[pyloop] ____________________________ aiohttp_client = .go at 0x7ffff3a91a60> async def test_shortcuts(aiohttp_client) -> None: async def handler(request): return web.Response(text=request.method) app = web.Application() for meth in ("get", "post", "put", "delete", "head", "patch", "options"): app.router.add_route(meth.upper(), "/", handler) > client = await aiohttp_client(app) test_client_functional.py:1875: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________________ test_cookies[pyloop] _____________________________ aiohttp_client = .go at 0x7ffff36d7a60> async def test_cookies(aiohttp_client) -> None: async def handler(request): assert request.cookies.keys() == {"test1", "test3"} assert request.cookies["test1"] == "123" assert request.cookies["test3"] == "456" return web.Response() c = http.cookies.Morsel() c.set("test3", "456", "456") app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app, cookies={"test1": "123", "test2": c}) test_client_functional.py:1907: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_cookies_per_request[pyloop] _______________________ aiohttp_client = .go at 0x7ffff3a8b9d0> async def test_cookies_per_request(aiohttp_client) -> None: async def handler(request): assert request.cookies.keys() == {"test1", "test3", "test4", "test6"} assert request.cookies["test1"] == "123" assert request.cookies["test3"] == "456" assert request.cookies["test4"] == "789" assert request.cookies["test6"] == "abc" return web.Response() c = http.cookies.Morsel() c.set("test3", "456", "456") app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app, cookies={"test1": "123", "test2": c}) test_client_functional.py:1928: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_cookies_redirect[pyloop] _________________________ aiohttp_client = .go at 0x7ffff36d7a60> async def test_cookies_redirect(aiohttp_client) -> None: async def redirect1(request): ret = web.Response(status=301, headers={"Location": "/redirect2"}) ret.set_cookie("c", "1") return ret async def redirect2(request): ret = web.Response(status=301, headers={"Location": "/"}) ret.set_cookie("c", "2") return ret async def handler(request): assert request.cookies.keys() == {"c"} assert request.cookies["c"] == "2" return web.Response() app = web.Application() app.router.add_get("/redirect1", redirect1) app.router.add_get("/redirect2", redirect2) app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:1959: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_cookies_on_empty_session_jar[pyloop] ___________________ aiohttp_client = .go at 0x7ffff3a91ee0> async def test_cookies_on_empty_session_jar(aiohttp_client) -> None: async def handler(request): assert "custom-cookie" in request.cookies assert request.cookies["custom-cookie"] == "abc" return web.Response() app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app, cookies=None) test_client_functional.py:1973: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_morsel_with_attributes[pyloop] ______________________ aiohttp_client = .go at 0x7ffff38b8ca0> async def test_morsel_with_attributes(aiohttp_client) -> None: # A comment from original test: # # No cookie attribute should pass here # they are only used as filters # whether to send particular cookie or not. # E.g. if cookie expires it just becomes thrown away. # Server who sent the cookie with some attributes # already knows them, no need to send this back again and again async def handler(request): assert request.cookies.keys() == {"test3"} assert request.cookies["test3"] == "456" return web.Response() c = http.cookies.Morsel() c.set("test3", "456", "456") c["httponly"] = True c["secure"] = True c["max-age"] = 1000 app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app, cookies={"test2": c}) test_client_functional.py:2003: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________________ test_set_cookies[pyloop] ___________________________ aiohttp_client = .go at 0x7ffff3943c10> async def test_set_cookies(aiohttp_client) -> None: async def handler(request): ret = web.Response() ret.set_cookie("c1", "cookie1") ret.set_cookie("c2", "cookie2") ret.headers.add( "Set-Cookie", "ISAWPLB{A7F52349-3531-4DA9-8776-F74BC6F4F1BB}=" "{925EC0B8-CB17-4BEB-8A35-1033813B0523}; " "HttpOnly; Path=/", ) return ret app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:2025: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_set_cookies_expired[pyloop] _______________________ aiohttp_client = .go at 0x7ffff3a8b3a0> async def test_set_cookies_expired(aiohttp_client) -> None: async def handler(request): ret = web.Response() ret.set_cookie("c1", "cookie1") ret.set_cookie("c2", "cookie2") ret.headers.add( "Set-Cookie", "c3=cookie3; " "HttpOnly; Path=/" " Expires=Tue, 1 Jan 1980 12:00:00 GMT; ", ) return ret app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:2050: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_set_cookies_max_age[pyloop] _______________________ aiohttp_client = .go at 0x7ffff3a91ee0> async def test_set_cookies_max_age(aiohttp_client) -> None: async def handler(request): ret = web.Response() ret.set_cookie("c1", "cookie1") ret.set_cookie("c2", "cookie2") ret.headers.add("Set-Cookie", "c3=cookie3; " "HttpOnly; Path=/" " Max-Age=1; ") return ret app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:2069: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_set_cookies_max_age_overflow[pyloop] ___________________ aiohttp_client = .go at 0x7ffff3662e50> async def test_set_cookies_max_age_overflow(aiohttp_client) -> None: async def handler(request): ret = web.Response() ret.headers.add( "Set-Cookie", "overflow=overflow; " "HttpOnly; Path=/" " Max-Age=" + str(overflow) + "; ", ) return ret overflow = int( datetime.datetime.max.replace(tzinfo=datetime.timezone.utc).timestamp() ) empty = None try: empty = datetime.datetime.now(datetime.timezone.utc) + datetime.timedelta( seconds=overflow ) except OverflowError as ex: assert isinstance(ex, OverflowError) assert not isinstance(empty, datetime.datetime) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:2103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_broken_connection_2[pyloop] _______________________ aiohttp_client = .go at 0x7ffff3a91ee0> async def test_broken_connection_2(aiohttp_client) -> None: async def handler(request): resp = web.StreamResponse(headers={"content-length": "1000"}) await resp.prepare(request) await resp.write(b"answer") request.transport.close() return resp app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:2144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_custom_headers[pyloop] __________________________ aiohttp_client = .go at 0x7ffff3a8b9d0> async def test_custom_headers(aiohttp_client) -> None: async def handler(request): assert request.headers["x-api-key"] == "foo" return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:2159: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_redirect_to_absolute_url[pyloop] _____________________ aiohttp_client = .go at 0x7ffff3662dc0> async def test_redirect_to_absolute_url(aiohttp_client) -> None: async def handler(request): return web.Response(text=request.method) async def redirect(request): raise web.HTTPFound(location=client.make_url("/")) app = web.Application() app.router.add_get("/", handler) app.router.add_get("/redirect", redirect) > client = await aiohttp_client(app) test_client_functional.py:2178: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________ test_redirect_without_location_header[pyloop] _________________ aiohttp_client = .go at 0x7ffff38b8ca0> async def test_redirect_without_location_header(aiohttp_client) -> None: body = b"redirect" async def handler_redirect(request): return web.Response(status=301, body=body) app = web.Application() app.router.add_route("GET", "/redirect", handler_redirect) > client = await aiohttp_client(app) test_client_functional.py:2192: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_chunked_deprecated[pyloop] ________________________ aiohttp_client = .go at 0x7ffff36e4550> async def test_chunked_deprecated(aiohttp_client) -> None: async def handler_redirect(request): return web.Response(status=301) app = web.Application() app.router.add_route("GET", "/redirect", handler_redirect) > client = await aiohttp_client(app) test_client_functional.py:2205: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_ok_from_status[pyloop-200-True] _____________________ aiohttp_client = .go at 0x7ffff40c8ee0> status = 200, expected_ok = True @pytest.mark.parametrize( ("status", "expected_ok"), ( (200, True), (201, True), (301, True), (400, False), (403, False), (500, False), ), ) async def test_ok_from_status(aiohttp_client, status, expected_ok) -> None: async def handler(request): return web.Response(status=status, body=b"") app = web.Application() app.router.add_route("GET", "/endpoint", handler) > client = await aiohttp_client(app, raise_for_status=False) test_client_functional.py:2228: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_ok_from_status[pyloop-201-True] _____________________ aiohttp_client = .go at 0x7ffff36e4550> status = 201, expected_ok = True @pytest.mark.parametrize( ("status", "expected_ok"), ( (200, True), (201, True), (301, True), (400, False), (403, False), (500, False), ), ) async def test_ok_from_status(aiohttp_client, status, expected_ok) -> None: async def handler(request): return web.Response(status=status, body=b"") app = web.Application() app.router.add_route("GET", "/endpoint", handler) > client = await aiohttp_client(app, raise_for_status=False) test_client_functional.py:2228: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_ok_from_status[pyloop-301-True] _____________________ aiohttp_client = .go at 0x7ffff40c8ee0> status = 301, expected_ok = True @pytest.mark.parametrize( ("status", "expected_ok"), ( (200, True), (201, True), (301, True), (400, False), (403, False), (500, False), ), ) async def test_ok_from_status(aiohttp_client, status, expected_ok) -> None: async def handler(request): return web.Response(status=status, body=b"") app = web.Application() app.router.add_route("GET", "/endpoint", handler) > client = await aiohttp_client(app, raise_for_status=False) test_client_functional.py:2228: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_ok_from_status[pyloop-400-False] _____________________ aiohttp_client = .go at 0x7ffff36e4820> status = 400, expected_ok = False @pytest.mark.parametrize( ("status", "expected_ok"), ( (200, True), (201, True), (301, True), (400, False), (403, False), (500, False), ), ) async def test_ok_from_status(aiohttp_client, status, expected_ok) -> None: async def handler(request): return web.Response(status=status, body=b"") app = web.Application() app.router.add_route("GET", "/endpoint", handler) > client = await aiohttp_client(app, raise_for_status=False) test_client_functional.py:2228: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_ok_from_status[pyloop-403-False] _____________________ aiohttp_client = .go at 0x7ffff3a8b3a0> status = 403, expected_ok = False @pytest.mark.parametrize( ("status", "expected_ok"), ( (200, True), (201, True), (301, True), (400, False), (403, False), (500, False), ), ) async def test_ok_from_status(aiohttp_client, status, expected_ok) -> None: async def handler(request): return web.Response(status=status, body=b"") app = web.Application() app.router.add_route("GET", "/endpoint", handler) > client = await aiohttp_client(app, raise_for_status=False) test_client_functional.py:2228: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_ok_from_status[pyloop-500-False] _____________________ aiohttp_client = .go at 0x7ffff3d15a60> status = 500, expected_ok = False @pytest.mark.parametrize( ("status", "expected_ok"), ( (200, True), (201, True), (301, True), (400, False), (403, False), (500, False), ), ) async def test_ok_from_status(aiohttp_client, status, expected_ok) -> None: async def handler(request): return web.Response(status=status, body=b"") app = web.Application() app.router.add_route("GET", "/endpoint", handler) > client = await aiohttp_client(app, raise_for_status=False) test_client_functional.py:2228: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_raise_for_status[pyloop] _________________________ aiohttp_client = .go at 0x7ffff383df70> async def test_raise_for_status(aiohttp_client) -> None: async def handler_redirect(request): raise web.HTTPBadRequest() app = web.Application() app.router.add_route("GET", "/", handler_redirect) > client = await aiohttp_client(app, raise_for_status=True) test_client_functional.py:2240: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_raise_for_status_per_request[pyloop] ___________________ aiohttp_client = .go at 0x7ffff36e49d0> async def test_raise_for_status_per_request(aiohttp_client) -> None: async def handler_redirect(request): raise web.HTTPBadRequest() app = web.Application() app.router.add_route("GET", "/", handler_redirect) > client = await aiohttp_client(app) test_client_functional.py:2252: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________ test_raise_for_status_disable_per_request[pyloop] _______________ aiohttp_client = .go at 0x7ffff3662dc0> async def test_raise_for_status_disable_per_request(aiohttp_client) -> None: async def handler_redirect(request): raise web.HTTPBadRequest() app = web.Application() app.router.add_route("GET", "/", handler_redirect) > client = await aiohttp_client(app, raise_for_status=True) test_client_functional.py:2264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________ test_request_raise_for_status_default[pyloop] _________________ aiohttp_server = .go at 0x7ffff3a9b310> async def test_request_raise_for_status_default(aiohttp_server) -> None: async def handler(request): raise web.HTTPBadRequest() app = web.Application() app.router.add_get("/", handler) > server = await aiohttp_server(app) test_client_functional.py:2277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________ test_request_raise_for_status_disabled[pyloop] ________________ aiohttp_server = .go at 0x7ffff383df70> async def test_request_raise_for_status_disabled(aiohttp_server) -> None: async def handler(request): raise web.HTTPBadRequest() app = web.Application() app.router.add_get("/", handler) > server = await aiohttp_server(app) test_client_functional.py:2289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ________________ test_request_raise_for_status_enabled[pyloop] _________________ aiohttp_server = .go at 0x7ffff34628b0> async def test_request_raise_for_status_enabled(aiohttp_server) -> None: async def handler(request): raise web.HTTPBadRequest() app = web.Application() app.router.add_get("/", handler) > server = await aiohttp_server(app) test_client_functional.py:2302: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _______________ test_drop_auth_on_redirect_to_other_host[pyloop] _______________ aiohttp_server = .go at 0x7ffff3a8b9d0> async def test_drop_auth_on_redirect_to_other_host(aiohttp_server) -> None: async def srv1(request): assert request.host == "host1.com" assert request.headers["Authorization"] == "Basic dXNlcjpwYXNz" raise web.HTTPFound("http://host2.com/path2") async def srv2(request): assert request.host == "host2.com" assert "Authorization" not in request.headers return web.Response() app = web.Application() app.router.add_route("GET", "/path1", srv1) app.router.add_route("GET", "/path2", srv2) > server = await aiohttp_server(app) test_client_functional.py:2345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning _____________ test_close_resp_on_error_async_with_session[pyloop] ______________ aiohttp_server = .go at 0x7ffff383df70> async def test_close_resp_on_error_async_with_session(aiohttp_server) -> None: async def handler(request): resp = web.StreamResponse(headers={"content-length": "100"}) await resp.prepare(request) await asyncio.sleep(0.1) return resp app = web.Application() app.router.add_get("/", handler) > server = await aiohttp_server(app) test_client_functional.py:2411: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning _______________ test_release_resp_on_normal_exit_from_cm[pyloop] _______________ aiohttp_server = .go at 0x7ffff34628b0> async def test_release_resp_on_normal_exit_from_cm(aiohttp_server) -> None: async def handler(request): return web.Response() app = web.Application() app.router.add_get("/", handler) > server = await aiohttp_server(app) test_client_functional.py:2428: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _____________ test_non_close_detached_session_on_error_cm[pyloop] ______________ aiohttp_server = .go at 0x7ffff3943c10> async def test_non_close_detached_session_on_error_cm(aiohttp_server) -> None: async def handler(request): resp = web.StreamResponse(headers={"content-length": "100"}) await resp.prepare(request) await asyncio.sleep(0.1) return resp app = web.Application() app.router.add_get("/", handler) > server = await aiohttp_server(app) test_client_functional.py:2446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _________________ test_aiohttp_request_context_manager[pyloop] _________________ aiohttp_server = .go at 0x7ffff34628b0> async def test_aiohttp_request_context_manager(aiohttp_server) -> None: async def handler(request): return web.Response() app = web.Application() app.router.add_get("/", handler) > server = await aiohttp_server(app) test_client_functional.py:2485: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning _________ test_aiohttp_request_ctx_manager_close_sess_on_error[pyloop] _________ ssl_ctx = aiohttp_server = .go at 0x7ffff377fd30> async def test_aiohttp_request_ctx_manager_close_sess_on_error( ssl_ctx, aiohttp_server ) -> None: async def handler(request): return web.Response() app = web.Application() app.router.add_get("/", handler) > server = await aiohttp_server(app, ssl=ssl_ctx) test_client_functional.py:2500: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ____________________ test_aiohttp_request_coroutine[pyloop] ____________________ aiohttp_server = .go at 0x7ffff3a91a60> async def test_aiohttp_request_coroutine(aiohttp_server) -> None: async def handler(request): return web.Response() app = web.Application() app.router.add_get("/", handler) > server = await aiohttp_server(app) test_client_functional.py:2524: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning __________________ test_yield_from_in_session_request[pyloop] __________________ aiohttp_client = .go at 0x7ffff377fe50> async def test_yield_from_in_session_request(aiohttp_client) -> None: # a test for backward compatibility with yield from syntax async def handler(request): return web.Response() app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:2538: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ______________________ test_close_context_manager[pyloop] ______________________ aiohttp_client = .go at 0x7ffff3a91a60> async def test_close_context_manager(aiohttp_client) -> None: # a test for backward compatibility with yield from syntax async def handler(request): return web.Response() app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:2551: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_session_auth[pyloop] ___________________________ aiohttp_client = .go at 0x7ffff377f940> async def test_session_auth(aiohttp_client) -> None: async def handler(request): return web.json_response({"headers": dict(request.headers)}) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app, auth=aiohttp.BasicAuth("login", "pass")) test_client_functional.py:2564: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________ test_session_auth_override[pyloop] ______________________ aiohttp_client = .go at 0x7ffff3662e50> async def test_session_auth_override(aiohttp_client) -> None: async def handler(request): return web.json_response({"headers": dict(request.headers)}) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app, auth=aiohttp.BasicAuth("login", "pass")) test_client_functional.py:2579: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_session_auth_header_conflict[pyloop] ___________________ aiohttp_client = .go at 0x7ffff377fca0> async def test_session_auth_header_conflict(aiohttp_client) -> None: async def handler(request): return web.Response() app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app, auth=aiohttp.BasicAuth("login", "pass")) test_client_functional.py:2595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_session_headers[pyloop] _________________________ aiohttp_client = .go at 0x7ffff3a91ee0> async def test_session_headers(aiohttp_client) -> None: async def handler(request): return web.json_response({"headers": dict(request.headers)}) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app, headers={"X-Real-IP": "192.168.0.1"}) test_client_functional.py:2608: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________ test_session_headers_merge[pyloop] ______________________ aiohttp_client = .go at 0x7ffff377f430> async def test_session_headers_merge(aiohttp_client) -> None: async def handler(request): return web.json_response({"headers": dict(request.headers)}) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client( app, headers=[("X-Real-IP", "192.168.0.1"), ("X-Sent-By", "requests")] ) test_client_functional.py:2623: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_multidict_headers[pyloop] ________________________ aiohttp_client = .go at 0x7ffff3943c10> async def test_multidict_headers(aiohttp_client) -> None: async def handler(request): assert await request.read() == data return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_client_functional.py:2642: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_request_conn_closed[pyloop] _______________________ aiohttp_client = .go at 0x7ffff377f9d0> async def test_request_conn_closed(aiohttp_client) -> None: async def handler(request): request.transport.close() return web.Response() app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:2660: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_dont_close_explicit_connector[pyloop] __________________ aiohttp_client = .go at 0x7ffff383df70> async def test_dont_close_explicit_connector(aiohttp_client) -> None: async def handler(request): return web.Response() app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_client_functional.py:2675: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_server_close_keepalive_connection ____________________ async def test_server_close_keepalive_connection() -> None: loop = asyncio.get_event_loop() class Proto(asyncio.Protocol): def connection_made(self, transport): self.transp = transport self.data = b"" def data_received(self, data): self.data += data if data.endswith(b"\r\n\r\n"): self.transp.write( b"HTTP/1.1 200 OK\r\n" b"CONTENT-LENGTH: 2\r\n" b"CONNECTION: close\r\n" b"\r\n" b"ok" ) self.transp.close() def connection_lost(self, exc): self.transp = None > server = await loop.create_server(Proto, "127.0.0.1", unused_port()) test_client_functional.py:2705: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1460: in create_server infos = await tasks.gather(*fs, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = False coros_or_futures = (,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning __________________ test_handle_keepalive_on_closed_connection __________________ async def test_handle_keepalive_on_closed_connection() -> None: loop = asyncio.get_event_loop() class Proto(asyncio.Protocol): def connection_made(self, transport): self.transp = transport self.data = b"" def data_received(self, data): self.data += data if data.endswith(b"\r\n\r\n"): self.transp.write( b"HTTP/1.1 200 OK\r\n" b"CONTENT-LENGTH: 2\r\n" b"\r\n" b"ok" ) self.transp.close() def connection_lost(self, exc): self.transp = None > server = await loop.create_server(Proto, "127.0.0.1", unused_port()) test_client_functional.py:2742: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1460: in create_server infos = await tasks.gather(*fs, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = False coros_or_futures = (,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ___________________ test_error_in_performing_request[pyloop] ___________________ ssl_ctx = aiohttp_client = .go at 0x7ffff377f430> aiohttp_server = .go at 0x7ffff344fc10> async def test_error_in_performing_request(ssl_ctx, aiohttp_client, aiohttp_server): async def handler(request): return web.Response() def exception_handler(loop, context): # skip log messages about destroyed but pending tasks pass loop = asyncio.get_event_loop() loop.set_exception_handler(exception_handler) app = web.Application() app.router.add_route("GET", "/", handler) > server = await aiohttp_server(app, ssl=ssl_ctx) test_client_functional.py:2779: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py", line 681, in __del__ _warn(f"unclosed event loop {self!r}", ResourceWarning, source=self) ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False> Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/warnings.py", line 506, in _warn_unawaited_coroutine warn(msg, category=RuntimeWarning, stacklevel=2, source=coro) RuntimeWarning: coroutine 'BaseEventLoop._create_server_getaddrinfo' was never awaited _____________________ test_await_after_cancelling[pyloop] ______________________ aiohttp_client = .go at 0x7ffff383df70> async def test_await_after_cancelling(aiohttp_client) -> None: loop = asyncio.get_event_loop() async def handler(request): return web.Response() app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_functional.py:2801: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _____________________ test_async_payload_generator[pyloop] _____________________ aiohttp_client = .go at 0x7ffff377f430> async def test_async_payload_generator(aiohttp_client) -> None: async def handler(request): data = await request.read() assert data == b"1234567890" * 100 return web.Response() app = web.Application() app.add_routes([web.post("/", handler)]) > client = await aiohttp_client(app) @async_generator test_client_functional.py:2835: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_read_from_closed_response[pyloop] ____________________ aiohttp_client = .go at 0x7ffff377fca0> async def test_read_from_closed_response(aiohttp_client) -> None: async def handler(request): return web.Response(body=b"data") app = web.Application() app.add_routes([web.get("/", handler)]) > client = await aiohttp_client(app) test_client_functional.py:2853: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________ test_read_from_closed_response2[pyloop] ____________________ aiohttp_client = .go at 0x7ffff344fc10> async def test_read_from_closed_response2(aiohttp_client) -> None: async def handler(request): return web.Response(body=b"data") app = web.Application() app.add_routes([web.get("/", handler)]) > client = await aiohttp_client(app) test_client_functional.py:2869: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_read_from_closed_content[pyloop] _____________________ aiohttp_client = .go at 0x7ffff344f5e0> async def test_read_from_closed_content(aiohttp_client) -> None: async def handler(request): return web.Response(body=b"data") app = web.Application() app.add_routes([web.get("/", handler)]) > client = await aiohttp_client(app) test_client_functional.py:2886: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_read_timeout[pyloop] ___________________________ aiohttp_client = .go at 0x7ffff34628b0> async def test_read_timeout(aiohttp_client) -> None: async def handler(request): await asyncio.sleep(5) return web.Response() app = web.Application() app.add_routes([web.get("/", handler)]) timeout = aiohttp.ClientTimeout(sock_read=0.1) > client = await aiohttp_client(app, timeout=timeout) test_client_functional.py:2904: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________ test_read_timeout_on_prepared_response[pyloop] ________________ aiohttp_client = .go at 0x7ffff3462280> async def test_read_timeout_on_prepared_response(aiohttp_client) -> None: async def handler(request): resp = aiohttp.web.StreamResponse() await resp.prepare(request) await asyncio.sleep(5) await resp.drain() return resp app = web.Application() app.add_routes([web.get("/", handler)]) timeout = aiohttp.ClientTimeout(sock_read=0.1) > client = await aiohttp_client(app, timeout=timeout) test_client_functional.py:2922: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_read_bufsize_session_default[pyloop] ___________________ aiohttp_client = .go at 0x7ffff344f5e0> async def test_read_bufsize_session_default(aiohttp_client) -> None: async def handler(request): return web.Response(body=b"1234567") app = web.Application() app.add_routes([web.get("/", handler)]) > client = await aiohttp_client(app, read_bufsize=2) test_client_functional.py:2936: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________ test_read_bufsize_explicit[pyloop] ______________________ aiohttp_client = .go at 0x7ffff3a91ee0> async def test_read_bufsize_explicit(aiohttp_client) -> None: async def handler(request): return web.Response(body=b"1234567") app = web.Application() app.add_routes([web.get("/", handler)]) > client = await aiohttp_client(app) test_client_functional.py:2949: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_cookie_jar_usage[pyloop] _________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff33208b0> async def test_cookie_jar_usage(loop, aiohttp_client) -> None: req_url = None jar = mock.Mock() jar.filter_cookies.return_value = None async def handler(request): nonlocal req_url req_url = "http://%s/" % request.host resp = web.Response() resp.set_cookie("response", "resp_value") return resp app = web.Application() app.router.add_route("GET", "/", handler) > session = await aiohttp_client( app, cookies={"request": "req_value"}, cookie_jar=jar ) test_client_session.py:491: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning _________________________ test_request_tracing[pyloop] _________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff3320ee0> async def test_request_tracing(loop, aiohttp_client) -> None: async def handler(request): return web.json_response({"ok": True}) app = web.Application() app.router.add_post("/", handler) trace_config_ctx = mock.Mock() trace_request_ctx = {} body = "This is request body" gathered_req_body = BytesIO() gathered_res_body = BytesIO() on_request_start = mock.Mock(side_effect=make_mocked_coro(mock.Mock())) on_request_redirect = mock.Mock(side_effect=make_mocked_coro(mock.Mock())) on_request_end = mock.Mock(side_effect=make_mocked_coro(mock.Mock())) async def on_request_chunk_sent(session, context, params): gathered_req_body.write(params.chunk) async def on_response_chunk_received(session, context, params): gathered_res_body.write(params.chunk) trace_config = aiohttp.TraceConfig( trace_config_ctx_factory=mock.Mock(return_value=trace_config_ctx) ) trace_config.on_request_start.append(on_request_start) trace_config.on_request_end.append(on_request_end) trace_config.on_request_chunk_sent.append(on_request_chunk_sent) trace_config.on_response_chunk_received.append(on_response_chunk_received) trace_config.on_request_redirect.append(on_request_redirect) > session = await aiohttp_client(app, trace_configs=[trace_config]) test_client_session.py:572: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ________________ test_request_tracing_interpose_headers[pyloop] ________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff3320af0> async def test_request_tracing_interpose_headers(loop, aiohttp_client) -> None: async def handler(request): return web.Response() app = web.Application() app.router.add_get("/", handler) class MyClientRequest(ClientRequest): headers = None def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) MyClientRequest.headers = self.headers async def new_headers(session, trace_config_ctx, data): data.headers["foo"] = "bar" trace_config = aiohttp.TraceConfig() trace_config.on_request_start.append(new_headers) > session = await aiohttp_client( app, request_class=MyClientRequest, trace_configs=[trace_config] ) test_client_session.py:656: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning _________________________ test_send_recv_text[pyloop] __________________________ aiohttp_client = .go at 0x7ffff3320af0> async def test_send_recv_text(aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) msg = await ws.receive_str() await ws.send_str(msg + "/answer") await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ____________________ test_send_recv_bytes_bad_type[pyloop] _____________________ aiohttp_client = .go at 0x7ffff3d98700> async def test_send_recv_bytes_bad_type(aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) msg = await ws.receive_str() await ws.send_str(msg + "/answer") await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_send_recv_bytes[pyloop] _________________________ aiohttp_client = .go at 0x7ffff3320af0> async def test_send_recv_bytes(aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) msg = await ws.receive_bytes() await ws.send_bytes(msg + b"/answer") await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_send_recv_text_bad_type[pyloop] _____________________ aiohttp_client = .go at 0x7ffff3d988b0> async def test_send_recv_text_bad_type(aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) msg = await ws.receive_bytes() await ws.send_bytes(msg + b"/answer") await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_send_recv_json[pyloop] __________________________ aiohttp_client = .go at 0x7ffff3b1bf70> async def test_send_recv_json(aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) data = await ws.receive_json() await ws.send_json({"response": data["request"]}) await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:114: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________________ test_ping_pong[pyloop] ____________________________ aiohttp_client = .go at 0x7ffff3d98ca0> async def test_ping_pong(aiohttp_client) -> None: loop = asyncio.get_event_loop() closed = loop.create_future() async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) msg = await ws.receive_bytes() await ws.ping() await ws.send_bytes(msg + b"/answer") try: await ws.close() finally: closed.set_result(1) return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:143: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_ping_pong_manual[pyloop] _________________________ aiohttp_client = .go at 0x7ffff3320d30> async def test_ping_pong_manual(aiohttp_client) -> None: loop = asyncio.get_event_loop() closed = loop.create_future() async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) msg = await ws.receive_bytes() await ws.ping() await ws.send_bytes(msg + b"/answer") try: await ws.close() finally: closed.set_result(1) return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:179: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________________ test_close[pyloop] ______________________________ aiohttp_client = .go at 0x7ffff3410b80> async def test_close(aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) await ws.receive_bytes() await ws.send_str("test") await ws.receive() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:214: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_concurrent_close[pyloop] _________________________ aiohttp_client = .go at 0x7ffff3320ee0> async def test_concurrent_close(aiohttp_client) -> None: client_ws = None async def handler(request): nonlocal client_ws ws = web.WebSocketResponse() await ws.prepare(request) await ws.receive_bytes() await ws.send_str("test") await client_ws.close() msg = await ws.receive() assert msg.type == aiohttp.WSMsgType.CLOSE return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:247: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_close_from_server[pyloop] ________________________ aiohttp_client = .go at 0x7ffff34104c0> async def test_close_from_server(aiohttp_client) -> None: loop = asyncio.get_event_loop() closed = loop.create_future() async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) try: await ws.receive_bytes() await ws.close() finally: closed.set_result(1) return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_close_manual[pyloop] ___________________________ aiohttp_client = .go at 0x7ffff33203a0> async def test_close_manual(aiohttp_client) -> None: loop = asyncio.get_event_loop() closed = loop.create_future() async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) await ws.receive_bytes() await ws.send_str("test") try: await ws.close() finally: closed.set_result(1) return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_close_timeout[pyloop] __________________________ aiohttp_client = .go at 0x7ffff3410b80> async def test_close_timeout(aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) await ws.receive_bytes() await ws.send_str("test") await asyncio.sleep(1) return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_close_cancel[pyloop] ___________________________ aiohttp_client = .go at 0x7ffff3b1bca0> async def test_close_cancel(aiohttp_client) -> None: loop = asyncio.get_event_loop() async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) await ws.receive_bytes() await ws.send_str("test") await asyncio.sleep(10) app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:366: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_override_default_headers[pyloop] _____________________ aiohttp_client = .go at 0x7ffff3410a60> async def test_override_default_headers(aiohttp_client) -> None: async def handler(request): assert request.headers[hdrs.SEC_WEBSOCKET_VERSION] == "8" ws = web.WebSocketResponse() await ws.prepare(request) await ws.send_str("answer") await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) headers = {hdrs.SEC_WEBSOCKET_VERSION: "8"} > client = await aiohttp_client(app) test_client_ws_functional.py:394: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_additional_headers[pyloop] ________________________ aiohttp_client = .go at 0x7ffff3b1bf70> async def test_additional_headers(aiohttp_client) -> None: async def handler(request): assert request.headers["x-hdr"] == "xtra" ws = web.WebSocketResponse() await ws.prepare(request) await ws.send_str("answer") await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:413: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_recv_protocol_error[pyloop] _______________________ aiohttp_client = .go at 0x7ffff34105e0> async def test_recv_protocol_error(aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) await ws.receive_str() ws._writer.transport.write(b"01234" * 100) await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:432: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_recv_timeout[pyloop] ___________________________ aiohttp_client = .go at 0x7ffff33203a0> async def test_recv_timeout(aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) await ws.receive_str() await asyncio.sleep(0.1) await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:459: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_receive_timeout[pyloop] _________________________ aiohttp_client = .go at 0x7ffff383df70> async def test_receive_timeout(aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) await ws.receive() await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:481: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_custom_receive_timeout[pyloop] ______________________ aiohttp_client = .go at 0x7ffff3320af0> async def test_custom_receive_timeout(aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) await ws.receive() await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:501: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________________ test_heartbeat[pyloop] ____________________________ aiohttp_client = .go at 0x7ffff3b1bca0> async def test_heartbeat(aiohttp_client) -> None: ping_received = False async def handler(request): nonlocal ping_received ws = web.WebSocketResponse(autoping=False) await ws.prepare(request) msg = await ws.receive() if msg.type == aiohttp.WSMsgType.ping: ping_received = True await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:526: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_heartbeat_no_pong[pyloop] ________________________ aiohttp_client = .go at 0x7ffff3320d30> async def test_heartbeat_no_pong(aiohttp_client) -> None: ping_received = False async def handler(request): nonlocal ping_received ws = web.WebSocketResponse(autoping=False) await ws.prepare(request) msg = await ws.receive() if msg.type == aiohttp.WSMsgType.ping: ping_received = True await ws.receive() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:551: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_send_recv_compress[pyloop] ________________________ aiohttp_client = .go at 0x7ffff3b1bf70> async def test_send_recv_compress(aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) msg = await ws.receive_str() await ws.send_str(msg + "/answer") await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:572: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_send_recv_compress_wbits[pyloop] _____________________ aiohttp_client = .go at 0x7ffff383df70> async def test_send_recv_compress_wbits(aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) msg = await ws.receive_str() await ws.send_str(msg + "/answer") await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:597: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_send_recv_compress_wbit_error[pyloop] __________________ aiohttp_client = .go at 0x7ffff3320d30> async def test_send_recv_compress_wbit_error(aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) msg = await ws.receive_bytes() await ws.send_bytes(msg + b"/answer") await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:624: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_ws_client_async_for[pyloop] _______________________ aiohttp_client = .go at 0x7ffff3b1bf70> async def test_ws_client_async_for(aiohttp_client) -> None: items = ["q1", "q2", "q3"] async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) for i in items: await ws.send_str(i) await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:643: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_ws_async_with[pyloop] __________________________ aiohttp_server = .go at 0x7ffff3d98dc0> async def test_ws_async_with(aiohttp_server) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) msg = await ws.receive() await ws.send_str(msg.data + "/answer") await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > server = await aiohttp_server(app) test_client_ws_functional.py:667: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_ws_async_with_send[pyloop] ________________________ aiohttp_server = .go at 0x7ffff3410ca0> async def test_ws_async_with_send(aiohttp_server) -> None: # send_xxx methods have to return awaitable objects async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) msg = await ws.receive() await ws.send_str(msg.data + "/answer") await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > server = await aiohttp_server(app) test_client_ws_functional.py:692: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _____________________ test_ws_async_with_shortcut[pyloop] ______________________ aiohttp_server = .go at 0x7ffff3320d30> async def test_ws_async_with_shortcut(aiohttp_server) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) msg = await ws.receive() await ws.send_str(msg.data + "/answer") await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > server = await aiohttp_server(app) test_client_ws_functional.py:714: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ________________________ test_closed_async_for[pyloop] _________________________ aiohttp_client = .go at 0x7ffff33208b0> async def test_closed_async_for(aiohttp_client) -> None: loop = asyncio.get_event_loop() closed = loop.create_future() async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) try: await ws.send_bytes(b"started") await ws.receive_bytes() finally: closed.set_result(1) return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:742: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ______________________ test_peer_connection_lost[pyloop] _______________________ aiohttp_client = .go at 0x7ffff3320af0> async def test_peer_connection_lost(aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) msg = await ws.receive_str() assert msg == "ask" await ws.send_str("answer") request.transport.close() await asyncio.sleep(10) return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:774: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_peer_connection_lost_iter[pyloop] ____________________ aiohttp_client = .go at 0x7ffff3b1bca0> async def test_peer_connection_lost_iter(aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) msg = await ws.receive_str() assert msg == "ask" await ws.send_str("answer") request.transport.close() await asyncio.sleep(100) return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_client_ws_functional.py:798: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_tcp_connector[pyloop] __________________________ aiohttp_client = .go at 0x7ffff3320af0> loop = <_UnixSelectorEventLoop running=False closed=False debug=False> async def test_tcp_connector(aiohttp_client, loop) -> None: async def handler(request): return web.Response() app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_connector.py:1907: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning _____________ test_tcp_connector_raise_connector_ssl_error[pyloop] _____________ aiohttp_server = .go at 0x7ffff3ab9f70> ssl_ctx = async def test_tcp_connector_raise_connector_ssl_error( aiohttp_server, ssl_ctx, ) -> None: async def handler(request): return web.Response() app = web.Application() app.router.add_get("/", handler) > srv = await aiohttp_server(app, ssl=ssl_ctx) test_connector.py:1997: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning _________ test_tcp_connector_do_not_raise_connector_ssl_error[pyloop] __________ aiohttp_server = .go at 0x7ffff3410af0> ssl_ctx = client_ssl_ctx = async def test_tcp_connector_do_not_raise_connector_ssl_error( aiohttp_server, ssl_ctx, client_ssl_ctx, ) -> None: async def handler(request): return web.Response() app = web.Application() app.router.add_get("/", handler) > srv = await aiohttp_server(app, ssl=ssl_ctx) test_connector.py:2033: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _____________ test_tcp_connector_uses_provided_local_addr[pyloop] ______________ aiohttp_server = .go at 0x7ffff33203a0> async def test_tcp_connector_uses_provided_local_addr(aiohttp_server) -> None: async def handler(request): return web.Response() app = web.Application() app.router.add_get("/", handler) > srv = await aiohttp_server(app) test_connector.py:2063: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _________________________ test_unix_connector[pyloop] __________________________ unix_server = .go at 0x7ffff3ab9ee0> unix_sockname = '/build/tmpusasy4k8/socket.sock' @pytest.mark.skipif(not hasattr(socket, "AF_UNIX"), reason="requires UNIX sockets") async def test_unix_connector(unix_server, unix_sockname) -> None: async def handler(request): return web.Response() app = web.Application() app.router.add_get("/", handler) > await unix_server(app) test_connector.py:2088: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_connector.py:61: in go await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:162: in start self._server = await loop.create_unix_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/unix_events.py:326: in create_unix_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ______________ TestEventResultOrError.test_set_exception[pyloop] _______________ self = loop = <_UnixSelectorEventLoop running=False closed=False debug=False> async def test_set_exception(self, loop) -> None: ev = EventResultOrError(loop=loop) async def c(): try: await ev.wait() except Exception as e: return e return 1 t = loop.create_task(c()) > await asyncio.sleep(0, loop=loop) test_locks.py:21: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ___________________ TestEventResultOrError.test_set[pyloop] ____________________ self = loop = <_UnixSelectorEventLoop running=False closed=False debug=False> async def test_set(self, loop) -> None: ev = EventResultOrError(loop=loop) async def c(): await ev.wait() return 1 t = loop.create_task(c()) > await asyncio.sleep(0, loop=loop) test_locks.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ---------------------------- Captured log teardown ----------------------------- ERROR  asyncio:base_events.py:1738 Task was destroyed but it is pending! task: .c() running at /build/aiohttp-3.7.4.post0/tests/test_locks.py:15> wait_for= wait_for=()]> cb=[()]>> ERROR  asyncio:base_events.py:1738 Task was destroyed but it is pending! task: wait_for=()]> cb=[()]> ______________ TestEventResultOrError.test_cancel_waiters[pyloop] ______________ self = loop = <_UnixSelectorEventLoop running=False closed=False debug=False> async def test_cancel_waiters(self, loop) -> None: ev = EventResultOrError(loop=loop) async def c(): await ev.wait() t1 = loop.create_task(c()) t2 = loop.create_task(c()) > await asyncio.sleep(0, loop=loop) test_locks.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ---------------------------- Captured log teardown ----------------------------- ERROR  asyncio:base_events.py:1738 Task was destroyed but it is pending! task: .c() running at /build/aiohttp-3.7.4.post0/tests/test_locks.py:30> wait_for= wait_for=()]> cb=[()]>> ERROR  asyncio:base_events.py:1738 Task was destroyed but it is pending! task: wait_for=()]> cb=[()]> __________________________ TestCase.test_default_loop __________________________ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:443: in setUp self.loop.run_until_complete(self.client.start_server()) /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:642: in run_until_complete return future.result() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ________________________ TestCase.test_on_startup_hook _________________________ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:443: in setUp self.loop.run_until_complete(self.client.start_server()) /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:642: in run_until_complete return future.result() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ____________________ test_proxy_http_absolute_path[pyloop] _____________________ proxy_test_server = .proxy_server at 0x7ffff3236c10> get_request = ._request at 0x7ffff3236af0> async def test_proxy_http_absolute_path(proxy_test_server, get_request) -> None: url = "http://aiohttp.io/path?query=yes" > proxy = await proxy_test_server() test_proxy_functional.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_proxy_functional.py:50: in proxy_server server = await aiohttp_raw_server(proxy_handler) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning _______________________ test_proxy_http_raw_path[pyloop] _______________________ proxy_test_server = .proxy_server at 0x7ffff33af430> get_request = ._request at 0x7ffff33af1f0> async def test_proxy_http_raw_path(proxy_test_server, get_request) -> None: url = "http://aiohttp.io:2561/space sheep?q=can:fly" raw_url = "http://aiohttp.io:2561/space%20sheep?q=can:fly" > proxy = await proxy_test_server() test_proxy_functional.py:90: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_proxy_functional.py:50: in proxy_server server = await aiohttp_raw_server(proxy_handler) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _____________________ test_proxy_http_idna_support[pyloop] _____________________ proxy_test_server = .proxy_server at 0x7ffff3236ca0> get_request = ._request at 0x7ffff3236a60> async def test_proxy_http_idna_support(proxy_test_server, get_request) -> None: url = "http://éé.com/" raw_url = "http://xn--9caa.com/" > proxy = await proxy_test_server() test_proxy_functional.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_proxy_functional.py:50: in proxy_server server = await aiohttp_raw_server(proxy_handler) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _____________________ test_proxy_http_bad_response[pyloop] _____________________ proxy_test_server = .proxy_server at 0x7ffff3236ca0> get_request = ._request at 0x7ffff3236af0> async def test_proxy_http_bad_response(proxy_test_server, get_request) -> None: url = "http://aiohttp.io/path" > proxy = await proxy_test_server() test_proxy_functional.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_proxy_functional.py:50: in proxy_server server = await aiohttp_raw_server(proxy_handler) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning _________________________ test_proxy_http_auth[pyloop] _________________________ proxy_test_server = .proxy_server at 0x7ffff31c7ee0> get_request = ._request at 0x7ffff31c7700> async def test_proxy_http_auth(proxy_test_server, get_request) -> None: url = "http://aiohttp.io/path" > proxy = await proxy_test_server() test_proxy_functional.py:130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_proxy_functional.py:50: in proxy_server server = await aiohttp_raw_server(proxy_handler) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ______________________ test_proxy_http_auth_utf8[pyloop] _______________________ proxy_test_server = .proxy_server at 0x7ffff31c7f70> get_request = ._request at 0x7ffff3236a60> async def test_proxy_http_auth_utf8(proxy_test_server, get_request) -> None: url = "http://aiohttp.io/path" auth = aiohttp.BasicAuth("юзер", "пасс", "utf-8") > proxy = await proxy_test_server() test_proxy_functional.py:157: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_proxy_functional.py:50: in proxy_server server = await aiohttp_raw_server(proxy_handler) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ____________________ test_proxy_http_auth_from_url[pyloop] _____________________ proxy_test_server = .proxy_server at 0x7ffff3236ca0> get_request = ._request at 0x7ffff32368b0> async def test_proxy_http_auth_from_url(proxy_test_server, get_request) -> None: url = "http://aiohttp.io/path" > proxy = await proxy_test_server() test_proxy_functional.py:167: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_proxy_functional.py:50: in proxy_server server = await aiohttp_raw_server(proxy_handler) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ___________________ test_proxy_http_acquired_cleanup[pyloop] ___________________ proxy_test_server = .proxy_server at 0x7ffff3320af0> loop = <_UnixSelectorEventLoop running=False closed=False debug=False> async def test_proxy_http_acquired_cleanup(proxy_test_server, loop) -> None: url = "http://aiohttp.io/path" conn = aiohttp.TCPConnector(loop=loop) sess = aiohttp.ClientSession(connector=conn, loop=loop) > proxy = await proxy_test_server() test_proxy_functional.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_proxy_functional.py:50: in proxy_server server = await aiohttp_raw_server(proxy_handler) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ____________________ test_proxy_https_bad_response[pyloop] _____________________ proxy_test_server = .proxy_server at 0x7ffff31c7700> get_request = ._request at 0x7ffff31c7ca0> async def test_proxy_https_bad_response(proxy_test_server, get_request) -> None: url = "https://secure.aiohttp.io/path" > proxy = await proxy_test_server() test_proxy_functional.py:326: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_proxy_functional.py:50: in proxy_server server = await aiohttp_raw_server(proxy_handler) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning _______________________ test_proxy_from_env_http[pyloop] _______________________ proxy_test_server = .proxy_server at 0x7ffff3236ca0> get_request = ._request at 0x7ffff32368b0> mocker = async def test_proxy_from_env_http(proxy_test_server, get_request, mocker) -> None: url = "http://aiohttp.io/path" > proxy = await proxy_test_server() test_proxy_functional.py:493: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_proxy_functional.py:50: in proxy_server server = await aiohttp_raw_server(proxy_handler) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed __________________ test_proxy_from_env_http_with_auth[pyloop] __________________ proxy_test_server = .proxy_server at 0x7ffff31c7700> get_request = ._request at 0x7ffff31c7940> mocker = async def test_proxy_from_env_http_with_auth(proxy_test_server, get_request, mocker): url = "http://aiohttp.io/path" > proxy = await proxy_test_server() test_proxy_functional.py:508: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_proxy_functional.py:50: in proxy_server server = await aiohttp_raw_server(proxy_handler) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ____________ test_proxy_from_env_http_with_auth_from_netrc[pyloop] _____________ proxy_test_server = .proxy_server at 0x7ffff33af430> get_request = ._request at 0x7ffff33af9d0> tmpdir = local('/build/pytest-of-nixbld/pytest-0/test_proxy_from_env_http_with_0') mocker = async def test_proxy_from_env_http_with_auth_from_netrc( proxy_test_server, get_request, tmpdir, mocker ): url = "http://aiohttp.io/path" > proxy = await proxy_test_server() test_proxy_functional.py:532: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_proxy_functional.py:50: in proxy_server server = await aiohttp_raw_server(proxy_handler) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ___________ test_proxy_from_env_http_without_auth_from_netrc[pyloop] ___________ proxy_test_server = .proxy_server at 0x7ffff31c7670> get_request = ._request at 0x7ffff284c160> tmpdir = local('/build/pytest-of-nixbld/pytest-0/test_proxy_from_env_http_witho0') mocker = async def test_proxy_from_env_http_without_auth_from_netrc( proxy_test_server, get_request, tmpdir, mocker ): url = "http://aiohttp.io/path" > proxy = await proxy_test_server() test_proxy_functional.py:558: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_proxy_functional.py:50: in proxy_server server = await aiohttp_raw_server(proxy_handler) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ________ test_proxy_from_env_http_without_auth_from_wrong_netrc[pyloop] ________ proxy_test_server = .proxy_server at 0x7ffff31c7ee0> get_request = ._request at 0x7ffff31c7700> tmpdir = local('/build/pytest-of-nixbld/pytest-0/test_proxy_from_env_http_witho1') mocker = async def test_proxy_from_env_http_without_auth_from_wrong_netrc( proxy_test_server, get_request, tmpdir, mocker ): url = "http://aiohttp.io/path" > proxy = await proxy_test_server() test_proxy_functional.py:584: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_proxy_functional.py:50: in proxy_server server = await aiohttp_raw_server(proxy_handler) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed __________________________ test_run_app_http[pyloop] ___________________________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> def test_run_app_http(patched_loop) -> None: app = web.Application() startup_handler = make_mocked_coro() app.on_startup.append(startup_handler) cleanup_handler = make_mocked_coro() app.on_cleanup.append(cleanup_handler) > web.run_app(app, print=stopper(patched_loop)) test_run_app.py:96: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning _______________________ test_run_app_close_loop[pyloop] ________________________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> def test_run_app_close_loop(patched_loop) -> None: app = web.Application() > web.run_app(app, print=stopper(patched_loop)) test_run_app.py:107: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ____________ test_run_app_mixed_bindings[pyloop-Nothing Specified] _____________ run_app_kwargs = {} expected_server_calls = [call(, None, 8080, ssl=None, backlog=128, reuse_address=None, reuse_port=None)] expected_unix_server_calls = [] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ________________ test_run_app_mixed_bindings[pyloop-Port Only] _________________ run_app_kwargs = {'port': 8989} expected_server_calls = [call(, None, 8989, ssl=None, backlog=128, reuse_address=None, reuse_port=None)] expected_unix_server_calls = [] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ______________ test_run_app_mixed_bindings[pyloop-Multiple Hosts] ______________ run_app_kwargs = {'host': ('127.0.0.1', '192.168.1.1')} expected_server_calls = [call(, '127.0.0.1', 8080, ssl=None, backlog=128, reuse_address=None, reuse_port=None), call(, '192.168.1.1', 8080, ssl=None, backlog=128, reuse_address=None, reuse_port=None)] expected_unix_server_calls = [] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ______________ test_run_app_mixed_bindings[pyloop-Multiple Paths] ______________ run_app_kwargs = {'path': ('/tmp/testsock1.sock', '/tmp/testsock2.sock')} expected_server_calls = [] expected_unix_server_calls = [call(, '/tmp/testsock1.sock', ssl=None, backlog=128), call(, '/tmp/testsock2.sock', ssl=None, backlog=128)] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ___________ test_run_app_mixed_bindings[pyloop-Multiple Paths, Port] ___________ run_app_kwargs = {'path': ('/tmp/testsock1.sock', '/tmp/testsock2.sock'), 'port': 8989} expected_server_calls = [call(, None, 8989, ssl=None, backlog=128, reuse_address=None, reuse_port=None)] expected_unix_server_calls = [call(, '/tmp/testsock1.sock', ssl=None, backlog=128), call(, '/tmp/testsock2.sock', ssl=None, backlog=128)] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning _______ test_run_app_mixed_bindings[pyloop-Multiple Paths, Single Host] ________ run_app_kwargs = {'host': '127.0.0.1', 'path': ('/tmp/testsock1.sock', '/tmp/testsock2.sock')} expected_server_calls = [call(, '127.0.0.1', 8080, ssl=None, backlog=128, reuse_address=None, reuse_port=None)] expected_unix_server_calls = [call(, '/tmp/testsock1.sock', ssl=None, backlog=128), call(, '/tmp/testsock2.sock', ssl=None, backlog=128)] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning _________ test_run_app_mixed_bindings[pyloop-Single Path, Single Host] _________ run_app_kwargs = {'host': '127.0.0.1', 'path': '/tmp/testsock1.sock'} expected_server_calls = [call(, '127.0.0.1', 8080, ssl=None, backlog=128, reuse_address=None, reuse_port=None)] expected_unix_server_calls = [call(, '/tmp/testsock1.sock', ssl=None, backlog=128)] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning _______ test_run_app_mixed_bindings[pyloop-Single Path, Multiple Hosts] ________ run_app_kwargs = {'host': ('127.0.0.1', '192.168.1.1'), 'path': '/tmp/testsock1.sock'} expected_server_calls = [call(, '127.0.0.1', 8080, ssl=None, backlog=128, reuse_address=None, reuse_port=None), call(, '192.168.1.1', 8080, ssl=None, backlog=128, reuse_address=None, reuse_port=None)] expected_unix_server_calls = [call(, '/tmp/testsock1.sock', ssl=None, backlog=128)] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ____________ test_run_app_mixed_bindings[pyloop-Single Path, Port] _____________ run_app_kwargs = {'path': '/tmp/testsock1.sock', 'port': 8989} expected_server_calls = [call(, None, 8989, ssl=None, backlog=128, reuse_address=None, reuse_port=None)] expected_unix_server_calls = [call(, '/tmp/testsock1.sock', ssl=None, backlog=128)] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ___ test_run_app_mixed_bindings[pyloop-Multiple Paths, Multiple Hosts, Port] ___ run_app_kwargs = {'host': ('127.0.0.1', '192.168.1.1'), 'path': ('/tmp/testsock1.sock', '/tmp/testsock2.sock'), 'port': 8000} expected_server_calls = [call(, '127.0.0.1', 8000, ssl=None, backlog=128, reuse_address=None, reuse_port=None), call(, '192.168.1.1', 8000, ssl=None, backlog=128, reuse_address=None, reuse_port=None)] expected_unix_server_calls = [call(, '/tmp/testsock1.sock', ssl=None, backlog=128), call(, '/tmp/testsock2.sock', ssl=None, backlog=128)] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning _______________ test_run_app_mixed_bindings[pyloop-Only socket] ________________ run_app_kwargs = {'sock': []} expected_server_calls = [call(, ssl=None, sock=, backlog=128)] expected_unix_server_calls = [] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning _______________ test_run_app_mixed_bindings[pyloop-Socket, port] _______________ run_app_kwargs = {'port': 8765, 'sock': []} expected_server_calls = [call(, None, 8765, ssl=None, backlog=128, reuse_address=None, reuse_port=None), call(, sock=, ssl=None, backlog=128)] expected_unix_server_calls = [] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning __________ test_run_app_mixed_bindings[pyloop-Socket, Host, No port] ___________ run_app_kwargs = {'host': 'localhost', 'sock': []} expected_server_calls = [call(, 'localhost', 8080, ssl=None, backlog=128, reuse_address=None, reuse_port=None), call(, sock=, ssl=None, backlog=128)] expected_unix_server_calls = [] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ________________ test_run_app_mixed_bindings[pyloop-reuse_port] ________________ run_app_kwargs = {'reuse_port': True} expected_server_calls = [call(, None, 8080, ssl=None, backlog=128, reuse_address=None, reuse_port=True)] expected_unix_server_calls = [] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ______________ test_run_app_mixed_bindings[pyloop-reuse_address] _______________ run_app_kwargs = {'reuse_address': False} expected_server_calls = [call(, None, 8080, ssl=None, backlog=128, reuse_address=False, reuse_port=None)] expected_unix_server_calls = [] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ________ test_run_app_mixed_bindings[pyloop-reuse_port, reuse_address] _________ run_app_kwargs = {'reuse_address': True, 'reuse_port': True} expected_server_calls = [call(, None, 8080, ssl=None, backlog=128, reuse_address=True, reuse_port=True)] expected_unix_server_calls = [] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning _____________ test_run_app_mixed_bindings[pyloop-Port, reuse_port] _____________ run_app_kwargs = {'port': 8989, 'reuse_port': True} expected_server_calls = [call(, None, 8989, ssl=None, backlog=128, reuse_address=None, reuse_port=True)] expected_unix_server_calls = [] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ________ test_run_app_mixed_bindings[pyloop-Multiple Hosts, reuse_port] ________ run_app_kwargs = {'host': ('127.0.0.1', '192.168.1.1'), 'reuse_port': True} expected_server_calls = [call(, '127.0.0.1', 8080, ssl=None, backlog=128, reuse_address=None, reuse_port=True), call(, '192.168.1.1', 8080, ssl=None, backlog=128, reuse_address=None, reuse_port=True)] expected_unix_server_calls = [] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ___ test_run_app_mixed_bindings[pyloop-Multiple Paths, Port, reuse_address] ____ run_app_kwargs = {'path': ('/tmp/testsock1.sock', '/tmp/testsock2.sock'), 'port': 8989, 'reuse_address': False} expected_server_calls = [call(, None, 8989, ssl=None, backlog=128, reuse_address=False, reuse_port=None)] expected_unix_server_calls = [call(, '/tmp/testsock1.sock', ssl=None, backlog=128), call(, '/tmp/testsock2.sock', ssl=None, backlog=128)] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning _ test_run_app_mixed_bindings[pyloop-Multiple Paths, Single Host, reuse_address, reuse_port] _ run_app_kwargs = {'host': '127.0.0.1', 'path': ('/tmp/testsock1.sock', '/tmp/testsock2.sock'), 'reuse_address': True, 'reuse_port': True} expected_server_calls = [call(, '127.0.0.1', 8080, ssl=None, backlog=128, reuse_address=True, reuse_port=True)] expected_unix_server_calls = [call(, '/tmp/testsock1.sock', ssl=None, backlog=128), call(, '/tmp/testsock2.sock', ssl=None, backlog=128)] patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "run_app_kwargs, expected_server_calls, expected_unix_server_calls", mixed_bindings_test_params, ids=mixed_bindings_test_ids, ) def test_run_app_mixed_bindings( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop ): app = web.Application() > web.run_app(app, print=stopper(patched_loop), **run_app_kwargs) test_run_app.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning __________________________ test_run_app_https[pyloop] __________________________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> def test_run_app_https(patched_loop) -> None: app = web.Application() ssl_context = ssl.create_default_context() > web.run_app(app, ssl_context=ssl_context, print=stopper(patched_loop)) test_run_app.py:437: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning __________________ test_run_app_nondefault_host_port[pyloop] ___________________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_unused_port = def test_run_app_nondefault_host_port(patched_loop, aiohttp_unused_port) -> None: port = aiohttp_unused_port() host = "127.0.0.1" app = web.Application() > web.run_app(app, host=host, port=port, print=stopper(patched_loop)) test_run_app.py:455: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning _____________________ test_run_app_multiple_hosts[pyloop] ______________________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> def test_run_app_multiple_hosts(patched_loop) -> None: hosts = ("127.0.0.1", "127.0.0.2") app = web.Application() > web.run_app(app, host=hosts, print=stopper(patched_loop)) test_run_app.py:466: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning _____________________ test_run_app_custom_backlog[pyloop] ______________________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> def test_run_app_custom_backlog(patched_loop) -> None: app = web.Application() > web.run_app(app, backlog=10, print=stopper(patched_loop)) test_run_app.py:485: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ___________________ test_run_app_custom_backlog_unix[pyloop] ___________________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> def test_run_app_custom_backlog_unix(patched_loop) -> None: app = web.Application() > web.run_app(app, path="/tmp/tmpsock.sock", backlog=10, print=stopper(patched_loop)) test_run_app.py:494: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ____________________ test_run_app_http_unix_socket[pyloop] _____________________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> shorttmpdir = PosixPath('/build/tmpu4s0u4s_') @skip_if_no_unix_socks def test_run_app_http_unix_socket(patched_loop, shorttmpdir) -> None: app = web.Application() sock_path = str(shorttmpdir / "socket.sock") printer = mock.Mock(wraps=stopper(patched_loop)) > web.run_app(app, path=sock_path, print=printer) test_run_app.py:507: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ____________________ test_run_app_https_unix_socket[pyloop] ____________________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> shorttmpdir = PosixPath('/build/tmp16cxlq7j') @skip_if_no_unix_socks def test_run_app_https_unix_socket(patched_loop, shorttmpdir) -> None: app = web.Application() sock_path = str(shorttmpdir / "socket.sock") ssl_context = ssl.create_default_context() printer = mock.Mock(wraps=stopper(patched_loop)) > web.run_app(app, path=sock_path, ssl_context=ssl_context, print=printer) test_run_app.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning __________________ test_run_app_abstract_linux_socket[pyloop] __________________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @skip_if_no_unix_socks @skip_if_no_abstract_paths def test_run_app_abstract_linux_socket(patched_loop) -> None: sock_path = b"\x00" + uuid4().hex.encode("ascii") app = web.Application() > web.run_app( app, path=sock_path.decode("ascii", "ignore"), print=stopper(patched_loop) ) test_run_app.py:535: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning _________________ test_run_app_preexisting_inet_socket[pyloop] _________________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> mocker = def test_run_app_preexisting_inet_socket(patched_loop, mocker) -> None: app = web.Application() sock = socket.socket() with contextlib.closing(sock): sock.bind(("0.0.0.0", 0)) _, port = sock.getsockname() printer = mock.Mock(wraps=stopper(patched_loop)) > web.run_app(app, sock=sock, print=printer) test_run_app.py:553: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ________________ test_run_app_preexisting_inet6_socket[pyloop] _________________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.skipif(not HAS_IPV6, reason="IPv6 is not available") def test_run_app_preexisting_inet6_socket(patched_loop) -> None: app = web.Application() sock = socket.socket(socket.AF_INET6) with contextlib.closing(sock): sock.bind(("::", 0)) port = sock.getsockname()[1] printer = mock.Mock(wraps=stopper(patched_loop)) > web.run_app(app, sock=sock, print=printer) test_run_app.py:571: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning _________________ test_run_app_preexisting_unix_socket[pyloop] _________________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> mocker = @skip_if_no_unix_socks def test_run_app_preexisting_unix_socket(patched_loop, mocker) -> None: app = web.Application() sock_path = "/tmp/test_preexisting_sock1" sock = socket.socket(socket.AF_UNIX) with contextlib.closing(sock): sock.bind(sock_path) os.unlink(sock_path) printer = mock.Mock(wraps=stopper(patched_loop)) > web.run_app(app, sock=sock, print=printer) test_run_app.py:590: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ______________ test_run_app_multiple_preexisting_sockets[pyloop] _______________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> def test_run_app_multiple_preexisting_sockets(patched_loop) -> None: app = web.Application() sock1 = socket.socket() sock2 = socket.socket() with contextlib.closing(sock1), contextlib.closing(sock2): sock1.bind(("0.0.0.0", 0)) _, port1 = sock1.getsockname() sock2.bind(("0.0.0.0", 0)) _, port2 = sock2.getsockname() printer = mock.Mock(wraps=stopper(patched_loop)) > web.run_app(app, sock=(sock1, sock2), print=printer) test_run_app.py:610: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning _____________ test_startup_cleanup_signals_even_on_failure[pyloop] _____________ app = def run_app( app: Union[Application, Awaitable[Application]], *, host: Optional[Union[str, HostSequence]] = None, port: Optional[int] = None, path: Optional[str] = None, sock: Optional[socket.socket] = None, shutdown_timeout: float = 60.0, ssl_context: Optional[SSLContext] = None, print: Callable[..., None] = print, backlog: int = 128, access_log_class: Type[AbstractAccessLogger] = AccessLogger, access_log_format: str = AccessLogger.LOG_FORMAT, access_log: Optional[logging.Logger] = access_logger, handle_signals: bool = True, reuse_address: Optional[bool] = None, reuse_port: Optional[bool] = None, ) -> None: """Run an app locally""" loop = asyncio.get_event_loop() # Configure if and only if in debugging mode and using the default logger if loop.get_debug() and access_log and access_log.name == "aiohttp.access": if access_log.level == logging.NOTSET: access_log.setLevel(logging.DEBUG) if not access_log.hasHandlers(): access_log.addHandler(logging.StreamHandler()) try: main_task = loop.create_task( _run_app( app, host=host, port=port, path=path, sock=sock, shutdown_timeout=shutdown_timeout, ssl_context=ssl_context, print=print, backlog=backlog, access_log_class=access_log_class, access_log_format=access_log_format, access_log=access_log, handle_signals=handle_signals, reuse_address=reuse_address, reuse_port=reuse_port, ) ) > loop.run_until_complete(main_task) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:508: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_UnixSelectorEventLoop running=False closed=False debug=False> future = exception=RuntimeError()> def run_until_complete(self, future): """Run until the Future is done. If the argument is a coroutine, it is wrapped in a Task. WARNING: It would be disastrous to call run_until_complete() with the same coroutine twice -- it would wrap it in two different Tasks and that can't be good. Return the Future's result, or raise its exception. """ self._check_closed() self._check_running() new_task = not futures.isfuture(future) future = tasks.ensure_future(future, loop=self) if new_task: # An exception is raised if the future didn't complete, so there # is no need to log the "destroy pending task" message future._log_destroy_pending = False future.add_done_callback(_run_until_complete_cb) try: self.run_forever() except: if new_task and future.done() and not future.cancelled(): # The coroutine raised a BaseException. Consume the exception # to not log a warning, the caller doesn't have access to the # local task. future.exception() raise finally: future.remove_done_callback(_run_until_complete_cb) if not future.done(): raise RuntimeError('Event loop stopped before Future completed.') > return future.result() /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:642: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ app = async def _run_app( app: Union[Application, Awaitable[Application]], *, host: Optional[Union[str, HostSequence]] = None, port: Optional[int] = None, path: Optional[str] = None, sock: Optional[socket.socket] = None, shutdown_timeout: float = 60.0, ssl_context: Optional[SSLContext] = None, print: Callable[..., None] = print, backlog: int = 128, access_log_class: Type[AbstractAccessLogger] = AccessLogger, access_log_format: str = AccessLogger.LOG_FORMAT, access_log: Optional[logging.Logger] = access_logger, handle_signals: bool = True, reuse_address: Optional[bool] = None, reuse_port: Optional[bool] = None, ) -> None: # A internal functio to actually do all dirty job for application running if asyncio.iscoroutine(app): app = await app # type: ignore app = cast(Application, app) runner = AppRunner( app, handle_signals=handle_signals, access_log_class=access_log_class, access_log_format=access_log_format, access_log=access_log, ) await runner.setup() sites = [] # type: List[BaseSite] try: if host is not None: if isinstance(host, (str, bytes, bytearray, memoryview)): sites.append( TCPSite( runner, host, port, shutdown_timeout=shutdown_timeout, ssl_context=ssl_context, backlog=backlog, reuse_address=reuse_address, reuse_port=reuse_port, ) ) else: for h in host: sites.append( TCPSite( runner, h, port, shutdown_timeout=shutdown_timeout, ssl_context=ssl_context, backlog=backlog, reuse_address=reuse_address, reuse_port=reuse_port, ) ) elif path is None and sock is None or port is not None: sites.append( TCPSite( runner, port=port, shutdown_timeout=shutdown_timeout, ssl_context=ssl_context, backlog=backlog, reuse_address=reuse_address, reuse_port=reuse_port, ) ) if path is not None: if isinstance(path, (str, bytes, bytearray, memoryview)): sites.append( UnixSite( runner, path, shutdown_timeout=shutdown_timeout, ssl_context=ssl_context, backlog=backlog, ) ) else: for p in path: sites.append( UnixSite( runner, p, shutdown_timeout=shutdown_timeout, ssl_context=ssl_context, backlog=backlog, ) ) if sock is not None: if not isinstance(sock, Iterable): sites.append( SockSite( runner, sock, shutdown_timeout=shutdown_timeout, ssl_context=ssl_context, backlog=backlog, ) ) else: for s in sock: sites.append( SockSite( runner, s, shutdown_timeout=shutdown_timeout, ssl_context=ssl_context, backlog=backlog, ) ) for site in sites: > await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:411: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = async def start(self) -> None: await super().start() loop = asyncio.get_event_loop() server = self._runner.server assert server is not None > self._server = await loop.create_server( server, self._host, self._port, ssl=self._ssl_context, backlog=self._backlog, reuse_address=self._reuse_address, reuse_port=self._reuse_port, ) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (, None, 8080) kwargs = {'backlog': 128, 'reuse_address': None, 'reuse_port': None, 'ssl': None} def __call__(self, /, *args, **kwargs): # can't use self in-case a function / method we are mocking uses self # in the signature self._mock_check_sig(*args, **kwargs) self._increment_mock_call(*args, **kwargs) > return self._mock_call(*args, **kwargs) /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/unittest/mock.py:1093: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (, None, 8080) kwargs = {'backlog': 128, 'reuse_address': None, 'reuse_port': None, 'ssl': None} def _mock_call(self, /, *args, **kwargs): > return self._execute_mock_call(*args, **kwargs) /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/unittest/mock.py:1097: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = (, None, 8080) kwargs = {'backlog': 128, 'reuse_address': None, 'reuse_port': None, 'ssl': None} effect = RuntimeError() def _execute_mock_call(self, /, *args, **kwargs): # separate from _increment_mock_call so that awaited functions are # executed separately from their call, also AsyncMock overrides this method effect = self.side_effect if effect is not None: if _is_exception(effect): > raise effect E RuntimeError /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/unittest/mock.py:1152: RuntimeError During handling of the above exception, another exception occurred: patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> def test_startup_cleanup_signals_even_on_failure(patched_loop) -> None: patched_loop.create_server = mock.Mock(side_effect=RuntimeError()) app = web.Application() startup_handler = make_mocked_coro() app.on_startup.append(startup_handler) cleanup_handler = make_mocked_coro() app.on_cleanup.append(cleanup_handler) with pytest.raises(RuntimeError): > web.run_app(app, print=stopper(patched_loop)) test_run_app.py:666: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( exception=RuntimeError()>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning __________________________ test_run_app_coro[pyloop] ___________________________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> def test_run_app_coro(patched_loop) -> None: startup_handler = cleanup_handler = None async def make_app(): nonlocal startup_handler, cleanup_handler app = web.Application() startup_handler = make_mocked_coro() app.on_startup.append(startup_handler) cleanup_handler = make_mocked_coro() app.on_cleanup.append(cleanup_handler) return app > web.run_app(make_app(), print=stopper(patched_loop)) test_run_app.py:684: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning _____________________ test_run_app_default_logger[pyloop] ______________________ monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7ffff3647610> patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=True> def test_run_app_default_logger(monkeypatch, patched_loop): patched_loop.set_debug(True) logger = web.access_logger attrs = { "hasHandlers.return_value": False, "level": logging.NOTSET, "name": "aiohttp.access", } mock_logger = mock.create_autospec(logger, name="mock_access_logger") mock_logger.configure_mock(**attrs) app = web.Application() > web.run_app(app, print=stopper(patched_loop), access_log=mock_logger) test_run_app.py:705: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=True> return_exceptions = True coros_or_futures = (,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ___________ test_run_app_default_logger_setup_requires_debug[pyloop] ___________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> def test_run_app_default_logger_setup_requires_debug(patched_loop): patched_loop.set_debug(False) logger = web.access_logger attrs = { "hasHandlers.return_value": False, "level": logging.NOTSET, "name": "aiohttp.access", } mock_logger = mock.create_autospec(logger, name="mock_access_logger") mock_logger.configure_mock(**attrs) app = web.Application() > web.run_app(app, print=stopper(patched_loop), access_log=mock_logger) test_run_app.py:723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ______ test_run_app_default_logger_setup_requires_default_logger[pyloop] _______ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=True> def test_run_app_default_logger_setup_requires_default_logger(patched_loop): patched_loop.set_debug(True) logger = web.access_logger attrs = { "hasHandlers.return_value": False, "level": logging.NOTSET, "name": None, } mock_logger = mock.create_autospec(logger, name="mock_access_logger") mock_logger.configure_mock(**attrs) app = web.Application() > web.run_app(app, print=stopper(patched_loop), access_log=mock_logger) test_run_app.py:741: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=True> return_exceptions = True coros_or_futures = (,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ________ test_run_app_default_logger_setup_only_if_unconfigured[pyloop] ________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=True> def test_run_app_default_logger_setup_only_if_unconfigured(patched_loop): patched_loop.set_debug(True) logger = web.access_logger attrs = { "hasHandlers.return_value": True, "level": None, "name": "aiohttp.access", } mock_logger = mock.create_autospec(logger, name="mock_access_logger") mock_logger.configure_mock(**attrs) app = web.Application() > web.run_app(app, print=stopper(patched_loop), access_log=mock_logger) test_run_app.py:759: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=True> return_exceptions = True coros_or_futures = (,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ________________ test_run_app_cancels_all_pending_tasks[pyloop] ________________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> def test_run_app_cancels_all_pending_tasks(patched_loop): app = web.Application() task = None async def on_startup(app): nonlocal task loop = asyncio.get_event_loop() task = loop.create_task(asyncio.sleep(1000)) app.on_startup.append(on_startup) > web.run_app(app, print=stopper(patched_loop)) test_run_app.py:776: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ___________________ test_run_app_cancels_done_tasks[pyloop] ____________________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> def test_run_app_cancels_done_tasks(patched_loop): app = web.Application() task = None async def coro(): return 123 async def on_startup(app): nonlocal task loop = asyncio.get_event_loop() task = loop.create_task(coro()) app.on_startup.append(on_startup) > web.run_app(app, print=stopper(patched_loop)) test_run_app.py:794: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ---------------------------- Captured log teardown ----------------------------- ERROR  asyncio:base_events.py:1738 Task was destroyed but it is pending! task: wait_for=()]>> __________________ test_run_app_cancels_failed_tasks[pyloop] ___________________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> def test_run_app_cancels_failed_tasks(patched_loop): app = web.Application() task = None exc = RuntimeError("FAIL") async def fail(): try: await asyncio.sleep(1000) except asyncio.CancelledError: raise exc async def on_startup(app): nonlocal task loop = asyncio.get_event_loop() task = loop.create_task(fail()) await asyncio.sleep(0.01) app.on_startup.append(on_startup) exc_handler = mock.Mock() patched_loop.set_exception_handler(exc_handler) > web.run_app(app, print=stopper(patched_loop)) test_run_app.py:820: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning ______________________ test_run_app_context_vars[pyloop] _______________________ patched_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.skipif(not PY_37, reason="contextvars support is required") def test_run_app_context_vars(patched_loop): from contextvars import ContextVar count = 0 VAR = ContextVar("VAR", default="default") async def on_startup(app): nonlocal count assert "init" == VAR.get() VAR.set("on_startup") count += 1 async def on_cleanup(app): nonlocal count assert "on_startup" == VAR.get() count += 1 async def init(): nonlocal count assert "default" == VAR.get() VAR.set("init") app = web.Application() app.on_startup.append(on_startup) app.on_cleanup.append(on_cleanup) count += 1 return app > web.run_app(init(), print=stopper(patched_loop)) test_run_app.py:860: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:512: in run_app _cancel_tasks({main_task}, loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web.py:444: in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> return_exceptions = True coros_or_futures = ( wait_for=>,) def gather(*coros_or_futures, loop=None, return_exceptions=False): """Return a future aggregating results from the given coroutines/futures. Coroutines will be wrapped in a future and scheduled in the event loop. They will not necessarily be scheduled in the same order as passed in. All futures must share the same event loop. If all the tasks are done successfully, the returned future's result is the list of results (in the order of the original sequence, not necessarily the order of results arrival). If *return_exceptions* is True, exceptions in the tasks are treated the same as successful results, and gathered in the result list; otherwise, the first raised exception will be immediately propagated to the returned future. Cancellation: if the outer Future is cancelled, all children (that have not completed yet) are also cancelled. If any child is cancelled, this is treated as if it raised CancelledError -- the outer Future is *not* cancelled in this case. (This is to prevent the cancellation of one child to cause other children to be cancelled.) If *return_exceptions* is False, cancelling gather() after it has been marked done won't cancel any submitted awaitables. For instance, gather can be marked done after propagating an exception to the caller, therefore, calling ``gather.cancel()`` after catching an exception (raised by one of the awaitables) from gather won't cancel any other awaitables. """ if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:755: DeprecationWarning _______________________ TestAioHTTPTestCase.test_example _______________________ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:443: in setUp self.loop.run_until_complete(self.client.start_server()) /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:642: in run_until_complete return future.result() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning __________________ TestAioHTTPTestCase.test_example_with_loop __________________ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:443: in setUp self.loop.run_until_complete(self.client.start_server()) /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:642: in run_until_complete return future.result() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ____________________________ test_test_client_props ____________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> async def test_test_client_props(loop) -> None: app = _create_example_app() client = _TestClient(_TestServer(app, host="127.0.0.1", loop=loop), loop=loop) assert client.host == "127.0.0.1" assert client.port is None > async with client: test_test_utils.py:219: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:391: in __aenter__ await self.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ______________________ test_test_client_raw_server_props _______________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> async def test_test_client_raw_server_props(loop) -> None: async def hello(request): return web.Response(body=_hello_world_bytes) client = _TestClient(_RawTestServer(hello, host="127.0.0.1", loop=loop), loop=loop) assert client.host == "127.0.0.1" assert client.port is None > async with client: test_test_utils.py:233: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:391: in __aenter__ await self.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _______________________ test_test_server_context_manager _______________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> async def test_test_server_context_manager(loop) -> None: app = _create_example_app() > async with _TestServer(app, loop=loop) as server: test_test_utils.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:189: in __aenter__ await self.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ___________________ test_server_make_url_yarl_compatibility ____________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> async def test_server_make_url_yarl_compatibility(loop) -> None: app = _create_example_app() > async with _TestServer(app, loop=loop) as server: test_test_utils.py:261: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:189: in __aenter__ await self.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _________________________ test_server_context_manager __________________________ app = loop = <_UnixSelectorEventLoop running=False closed=False debug=False> async def test_server_context_manager(app, loop) -> None: > async with _TestServer(app, loop=loop) as server: test_test_utils.py:286: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:189: in __aenter__ await self.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning __________________ test_client_context_manager_response[head] __________________ method = 'head', app = loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "method", ["head", "get", "post", "options", "post", "put", "patch", "delete"] ) async def test_client_context_manager_response(method, app, loop) -> None: > async with _TestClient(_TestServer(app), loop=loop) as client: test_test_utils.py:296: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:391: in __aenter__ await self.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed __________________ test_client_context_manager_response[get] ___________________ method = 'get', app = loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "method", ["head", "get", "post", "options", "post", "put", "patch", "delete"] ) async def test_client_context_manager_response(method, app, loop) -> None: > async with _TestClient(_TestServer(app), loop=loop) as client: test_test_utils.py:296: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:391: in __aenter__ await self.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________ test_client_context_manager_response[post0] __________________ method = 'post', app = loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "method", ["head", "get", "post", "options", "post", "put", "patch", "delete"] ) async def test_client_context_manager_response(method, app, loop) -> None: > async with _TestClient(_TestServer(app), loop=loop) as client: test_test_utils.py:296: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:391: in __aenter__ await self.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________ test_client_context_manager_response[options] _________________ method = 'options', app = loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "method", ["head", "get", "post", "options", "post", "put", "patch", "delete"] ) async def test_client_context_manager_response(method, app, loop) -> None: > async with _TestClient(_TestServer(app), loop=loop) as client: test_test_utils.py:296: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:391: in __aenter__ await self.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________ test_client_context_manager_response[post1] __________________ method = 'post', app = loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "method", ["head", "get", "post", "options", "post", "put", "patch", "delete"] ) async def test_client_context_manager_response(method, app, loop) -> None: > async with _TestClient(_TestServer(app), loop=loop) as client: test_test_utils.py:296: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:391: in __aenter__ await self.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_client_context_manager_response[put] ___________________ method = 'put', app = loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "method", ["head", "get", "post", "options", "post", "put", "patch", "delete"] ) async def test_client_context_manager_response(method, app, loop) -> None: > async with _TestClient(_TestServer(app), loop=loop) as client: test_test_utils.py:296: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:391: in __aenter__ await self.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________ test_client_context_manager_response[patch] __________________ method = 'patch', app = loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "method", ["head", "get", "post", "options", "post", "put", "patch", "delete"] ) async def test_client_context_manager_response(method, app, loop) -> None: > async with _TestClient(_TestServer(app), loop=loop) as client: test_test_utils.py:296: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:391: in __aenter__ await self.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________ test_client_context_manager_response[delete] _________________ method = 'delete', app = loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @pytest.mark.parametrize( "method", ["head", "get", "post", "options", "post", "put", "patch", "delete"] ) async def test_client_context_manager_response(method, app, loop) -> None: > async with _TestClient(_TestServer(app), loop=loop) as client: test_test_utils.py:296: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:391: in __aenter__ await self.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________________ test_custom_port _______________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> app = aiohttp_unused_port = async def test_custom_port(loop, app, aiohttp_unused_port) -> None: port = aiohttp_unused_port() client = _TestClient(_TestServer(app, loop=loop, port=port), loop=loop) > await client.start_server() test_test_utils.py:307: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________ test_subapp_chained_config_dict_visibility[pyloop] ______________ aiohttp_client = .go at 0x7ffff24a5b80> async def test_subapp_chained_config_dict_visibility(aiohttp_client) -> None: async def main_handler(request): assert request.config_dict["key1"] == "val1" assert "key2" not in request.config_dict return web.Response(status=200) root = web.Application() root["key1"] = "val1" root.add_routes([web.get("/", main_handler)]) async def sub_handler(request): assert request.config_dict["key1"] == "val1" assert request.config_dict["key2"] == "val2" return web.Response(status=201) sub = web.Application() sub["key2"] = "val2" sub.add_routes([web.get("/", sub_handler)]) root.add_subapp("/sub", sub) > client = await aiohttp_client(root) test_web_app.py:458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ______________ test_subapp_chained_config_dict_overriding[pyloop] ______________ aiohttp_client = .go at 0x7ffff264bca0> async def test_subapp_chained_config_dict_overriding(aiohttp_client) -> None: async def main_handler(request): assert request.config_dict["key"] == "val1" return web.Response(status=200) root = web.Application() root["key"] = "val1" root.add_routes([web.get("/", main_handler)]) async def sub_handler(request): assert request.config_dict["key"] == "val2" return web.Response(status=201) sub = web.Application() sub["key"] = "val2" sub.add_routes([web.get("/", sub_handler)]) root.add_subapp("/sub", sub) > client = await aiohttp_client(root) test_web_app.py:484: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_subapp_on_startup[pyloop] ________________________ aiohttp_client = .go at 0x7ffff24a5790> async def test_subapp_on_startup(aiohttp_client) -> None: subapp = web.Application() startup_called = False async def on_startup(app): nonlocal startup_called startup_called = True app["startup"] = True subapp.on_startup.append(on_startup) ctx_pre_called = False ctx_post_called = False @async_generator async def cleanup_ctx(app): nonlocal ctx_pre_called, ctx_post_called ctx_pre_called = True app["cleanup"] = True await yield_(None) ctx_post_called = True subapp.cleanup_ctx.append(cleanup_ctx) shutdown_called = False async def on_shutdown(app): nonlocal shutdown_called shutdown_called = True subapp.on_shutdown.append(on_shutdown) cleanup_called = False async def on_cleanup(app): nonlocal cleanup_called cleanup_called = True subapp.on_cleanup.append(on_cleanup) app = web.Application() app.add_subapp("/subapp", subapp) assert not startup_called assert not ctx_pre_called assert not ctx_post_called assert not shutdown_called assert not cleanup_called assert subapp.on_startup.frozen assert subapp.cleanup_ctx.frozen assert subapp.on_shutdown.frozen assert subapp.on_cleanup.frozen assert subapp.router.frozen > client = await aiohttp_client(app) test_web_app.py:550: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________________ test_simple_get[pyloop] ____________________________ aiohttp_client = .go at 0x7ffff24a5f70> async def test_simple_get(aiohttp_client) -> None: async def handler(request): body = await request.read() assert b"" == body return web.Response(body=b"OK") app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ______________________ test_simple_get_with_text[pyloop] _______________________ aiohttp_client = .go at 0x7ffff26b99d0> async def test_simple_get_with_text(aiohttp_client) -> None: async def handler(request): body = await request.read() assert b"" == body return web.Response(text="OK", headers={"content-type": "text/plain"}) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_handler_returns_not_response[pyloop] ___________________ aiohttp_server = .go at 0x7ffff24a5dc0> aiohttp_client = .go at 0x7ffff24a51f0> async def test_handler_returns_not_response(aiohttp_server, aiohttp_client) -> None: asyncio.get_event_loop().set_debug(True) logger = mock.Mock() async def handler(request): return "abc" app = web.Application() app.router.add_get("/", handler) > server = await aiohttp_server(app, logger=logger) test_web_functional.py:82: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________ test_handler_returns_none[pyloop] _______________________ aiohttp_server = .go at 0x7ffff264bca0> aiohttp_client = .go at 0x7ffff264b3a0> async def test_handler_returns_none(aiohttp_server, aiohttp_client) -> None: asyncio.get_event_loop().set_debug(True) logger = mock.Mock() async def handler(request): return None app = web.Application() app.router.add_get("/", handler) > server = await aiohttp_server(app, logger=logger) test_web_functional.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _____________________ test_head_returns_empty_body[pyloop] _____________________ aiohttp_client = .go at 0x7ffff24a5dc0> async def test_head_returns_empty_body(aiohttp_client) -> None: async def handler(request): return web.Response(body=b"test") app = web.Application() app.router.add_head("/", handler) > client = await aiohttp_client(app, version=HttpVersion11) test_web_functional.py:120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ____________________ test_response_before_complete[pyloop] _____________________ aiohttp_client = .go at 0x7ffff26b9af0> async def test_response_before_complete(aiohttp_client) -> None: async def handler(request): return web.Response(body=b"OK") app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________________ test_post_form[pyloop] ____________________________ aiohttp_client = .go at 0x7ffff24a5b80> async def test_post_form(aiohttp_client) -> None: async def handler(request): data = await request.post() assert {"a": "1", "b": "2", "c": ""} == data return web.Response(body=b"OK") app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:152: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________________ test_post_text[pyloop] ____________________________ aiohttp_client = .go at 0x7ffff25b61f0> async def test_post_text(aiohttp_client) -> None: async def handler(request): data = await request.text() assert "русский" == data data2 = await request.text() assert data == data2 return web.Response(text=data) app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:170: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________________ test_post_json[pyloop] ____________________________ aiohttp_client = .go at 0x7ffff264baf0> async def test_post_json(aiohttp_client) -> None: dct = {"key": "текст"} async def handler(request): data = await request.json() assert dct == data data2 = await request.json(loads=json.loads) assert data == data2 resp = web.Response() resp.content_type = "application/json" resp.body = json.dumps(data).encode("utf8") return resp app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:194: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________________ test_multipart[pyloop] ____________________________ aiohttp_client = .go at 0x7ffff24a5430> async def test_multipart(aiohttp_client) -> None: with multipart.MultipartWriter() as writer: writer.append("test") writer.append_json({"passed": True}) async def handler(request): reader = await request.multipart() assert isinstance(reader, multipart.MultipartReader) part = await reader.next() assert isinstance(part, multipart.BodyPartReader) thing = await part.text() assert thing == "test" part = await reader.next() assert isinstance(part, multipart.BodyPartReader) assert part.headers["Content-Type"] == "application/json" thing = await part.json() assert thing == {"passed": True} resp = web.Response() resp.content_type = "application/json" resp.body = b"" return resp app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:230: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_multipart_empty[pyloop] _________________________ aiohttp_client = .go at 0x7ffff25b6a60> async def test_multipart_empty(aiohttp_client) -> None: with multipart.MultipartWriter() as writer: pass async def handler(request): reader = await request.multipart() assert isinstance(reader, multipart.MultipartReader) async for part in reader: assert False, f"Unexpected part found in reader: {part!r}" return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:250: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________ test_multipart_content_transfer_encoding[pyloop] _______________ aiohttp_client = .go at 0x7ffff24a5430> async def test_multipart_content_transfer_encoding(aiohttp_client) -> None: # For issue #1168 with multipart.MultipartWriter() as writer: writer.append(b"\x00" * 10, headers={"Content-Transfer-Encoding": "binary"}) async def handler(request): reader = await request.multipart() assert isinstance(reader, multipart.MultipartReader) part = await reader.next() assert isinstance(part, multipart.BodyPartReader) assert part.headers["Content-Transfer-Encoding"] == "binary" thing = await part.read() assert thing == b"\x00" * 10 resp = web.Response() resp.content_type = "application/json" resp.body = b"" return resp app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_render_redirect[pyloop] _________________________ aiohttp_client = .go at 0x7ffff24a5f70> async def test_render_redirect(aiohttp_client) -> None: async def handler(request): raise web.HTTPMovedPermanently(location="/path") app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:292: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_post_single_file[pyloop] _________________________ aiohttp_client = .go at 0x7ffff25b6a60> async def test_post_single_file(aiohttp_client) -> None: here = pathlib.Path(__file__).parent def check_file(fs): fullname = here / fs.filename with fullname.open("rb") as f: test_data = f.read() data = fs.file.read() assert test_data == data async def handler(request): data = await request.post() assert ["data.unknown_mime_type"] == list(data.keys()) for fs in data.values(): check_file(fs) fs.file.close() resp = web.Response(body=b"OK") return resp app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:323: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________ test_files_upload_with_same_key[pyloop] ____________________ aiohttp_client = .go at 0x7ffff24a5790> async def test_files_upload_with_same_key(aiohttp_client) -> None: async def handler(request): data = await request.post() files = data.getall("file") file_names = set() for _file in files: assert not _file.file.closed if _file.filename == "test1.jpeg": assert _file.file.read() == b"binary data 1" if _file.filename == "test2.jpeg": assert _file.file.read() == b"binary data 2" file_names.add(_file.filename) assert len(files) == 2 assert file_names == {"test1.jpeg", "test2.jpeg"} resp = web.Response(body=b"OK") return resp app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:350: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________________ test_post_files[pyloop] ____________________________ aiohttp_client = .go at 0x7ffff26b9040> async def test_post_files(aiohttp_client) -> None: here = pathlib.Path(__file__).parent def check_file(fs): fullname = here / fs.filename with fullname.open("rb") as f: test_data = f.read() data = fs.file.read() assert test_data == data async def handler(request): data = await request.post() assert ["data.unknown_mime_type", "conftest.py"] == list(data.keys()) for fs in data.values(): check_file(fs) fs.file.close() resp = web.Response(body=b"OK") return resp app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:385: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_release_post_data[pyloop] ________________________ aiohttp_client = .go at 0x7ffff24a5430> async def test_release_post_data(aiohttp_client) -> None: async def handler(request): await request.release() chunk = await request.content.readany() assert chunk == b"" return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:402: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________ test_POST_DATA_with_content_transfer_encoding[pyloop] _____________ aiohttp_client = .go at 0x7ffff264bca0> async def test_POST_DATA_with_content_transfer_encoding(aiohttp_client) -> None: async def handler(request): data = await request.post() assert b"123" == data["name"] return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:416: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_post_form_with_duplicate_keys[pyloop] __________________ aiohttp_client = .go at 0x7ffff26b9af0> async def test_post_form_with_duplicate_keys(aiohttp_client) -> None: async def handler(request): data = await request.post() lst = list(data.items()) assert [("a", "1"), ("a", "2")] == lst return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:434: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________ test_expect_default_handler_unknown[pyloop] __________________ aiohttp_client = .go at 0x7ffff264bca0> async def test_expect_default_handler_unknown(aiohttp_client) -> None: # Test default Expect handler for unknown Expect value. # A server that does not understand or is unable to comply with any of # the expectation values in the Expect field of a request MUST respond # with appropriate error status. The server MUST respond with a 417 # (Expectation Failed) status if any of the expectations cannot be met # or, if there are other problems with the request, some other 4xx # status. # http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.20 async def handler(request): await request.post() pytest.xfail( "Handler should not proceed to this point in case of " "unknown Expect header" ) app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:465: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_100_continue[pyloop] ___________________________ aiohttp_client = .go at 0x7ffff25b61f0> async def test_100_continue(aiohttp_client) -> None: async def handler(request): data = await request.post() assert b"123" == data["name"] return web.Response() form = FormData() form.add_field("name", b"123", content_transfer_encoding="base64") app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:482: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_100_continue_custom[pyloop] _______________________ aiohttp_client = .go at 0x7ffff24a51f0> async def test_100_continue_custom(aiohttp_client) -> None: expect_received = False async def handler(request): data = await request.post() assert b"123" == data["name"] return web.Response() async def expect_handler(request): nonlocal expect_received expect_received = True if request.version == HttpVersion11: await request.writer.write(b"HTTP/1.1 100 Continue\r\n\r\n") app = web.Application() app.router.add_post("/", handler, expect_handler=expect_handler) > client = await aiohttp_client(app) test_web_functional.py:505: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_100_continue_custom_response[pyloop] ___________________ aiohttp_client = .go at 0x7ffff26b9040> async def test_100_continue_custom_response(aiohttp_client) -> None: async def handler(request): data = await request.post() assert b"123", data["name"] return web.Response() async def expect_handler(request): if request.version == HttpVersion11: if auth_err: raise web.HTTPForbidden() await request.writer.write(b"HTTP/1.1 100 Continue\r\n\r\n") app = web.Application() app.router.add_post("/", handler, expect_handler=expect_handler) > client = await aiohttp_client(app) test_web_functional.py:527: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________ test_100_continue_for_not_found[pyloop] ____________________ aiohttp_client = .go at 0x7ffff24ca5e0> async def test_100_continue_for_not_found(aiohttp_client) -> None: app = web.Application() > client = await aiohttp_client(app) test_web_functional.py:541: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_100_continue_for_not_allowed[pyloop] ___________________ aiohttp_client = .go at 0x7ffff264bca0> async def test_100_continue_for_not_allowed(aiohttp_client) -> None: async def handler(request): return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:553: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_http11_keep_alive_default[pyloop] ____________________ aiohttp_client = .go at 0x7ffff24a51f0> async def test_http11_keep_alive_default(aiohttp_client) -> None: async def handler(request): return web.Response() app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app, version=HttpVersion11) test_web_functional.py:565: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________ test_http10_keep_alive_with_headers_close[pyloop] _______________ aiohttp_client = .go at 0x7ffff24a5430> async def test_http10_keep_alive_with_headers_close(aiohttp_client) -> None: async def handler(request): await request.read() return web.Response(body=b"OK") app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app, version=HttpVersion10) test_web_functional.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________ test_http10_keep_alive_with_headers[pyloop] __________________ aiohttp_client = .go at 0x7ffff25b61f0> async def test_http10_keep_alive_with_headers(aiohttp_client) -> None: async def handler(request): await request.read() return web.Response(body=b"OK") app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app, version=HttpVersion10) test_web_functional.py:611: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________________ test_upload_file[pyloop] ___________________________ aiohttp_client = .go at 0x7ffff24a5dc0> async def test_upload_file(aiohttp_client) -> None: here = pathlib.Path(__file__).parent fname = here / "aiohttp.png" with fname.open("rb") as f: data = f.read() async def handler(request): form = await request.post() raw_data = form["file"].file.read() assert data == raw_data return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:635: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_upload_file_object[pyloop] ________________________ aiohttp_client = .go at 0x7ffff264b3a0> async def test_upload_file_object(aiohttp_client) -> None: here = pathlib.Path(__file__).parent fname = here / "aiohttp.png" with fname.open("rb") as f: data = f.read() async def handler(request): form = await request.post() raw_data = form["file"].file.read() assert data == raw_data return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:655: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________ test_empty_content_for_query_without_body[pyloop-get] _____________ method = 'get' aiohttp_client = .go at 0x7ffff26b9d30> @pytest.mark.parametrize( "method", ["get", "post", "options", "post", "put", "patch", "delete"] ) async def test_empty_content_for_query_without_body(method, aiohttp_client) -> None: async def handler(request): assert not request.body_exists assert not request.can_read_body with pytest.warns(DeprecationWarning): assert not request.has_body return web.Response() app = web.Application() app.router.add_route(method, "/", handler) > client = await aiohttp_client(app) test_web_functional.py:675: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________ test_empty_content_for_query_without_body[pyloop-post0] ____________ method = 'post' aiohttp_client = .go at 0x7ffff25b61f0> @pytest.mark.parametrize( "method", ["get", "post", "options", "post", "put", "patch", "delete"] ) async def test_empty_content_for_query_without_body(method, aiohttp_client) -> None: async def handler(request): assert not request.body_exists assert not request.can_read_body with pytest.warns(DeprecationWarning): assert not request.has_body return web.Response() app = web.Application() app.router.add_route(method, "/", handler) > client = await aiohttp_client(app) test_web_functional.py:675: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________ test_empty_content_for_query_without_body[pyloop-options] ___________ method = 'options' aiohttp_client = .go at 0x7ffff24a5790> @pytest.mark.parametrize( "method", ["get", "post", "options", "post", "put", "patch", "delete"] ) async def test_empty_content_for_query_without_body(method, aiohttp_client) -> None: async def handler(request): assert not request.body_exists assert not request.can_read_body with pytest.warns(DeprecationWarning): assert not request.has_body return web.Response() app = web.Application() app.router.add_route(method, "/", handler) > client = await aiohttp_client(app) test_web_functional.py:675: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________ test_empty_content_for_query_without_body[pyloop-post1] ____________ method = 'post' aiohttp_client = .go at 0x7ffff264baf0> @pytest.mark.parametrize( "method", ["get", "post", "options", "post", "put", "patch", "delete"] ) async def test_empty_content_for_query_without_body(method, aiohttp_client) -> None: async def handler(request): assert not request.body_exists assert not request.can_read_body with pytest.warns(DeprecationWarning): assert not request.has_body return web.Response() app = web.Application() app.router.add_route(method, "/", handler) > client = await aiohttp_client(app) test_web_functional.py:675: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________ test_empty_content_for_query_without_body[pyloop-put] _____________ method = 'put' aiohttp_client = .go at 0x7ffff24a5430> @pytest.mark.parametrize( "method", ["get", "post", "options", "post", "put", "patch", "delete"] ) async def test_empty_content_for_query_without_body(method, aiohttp_client) -> None: async def handler(request): assert not request.body_exists assert not request.can_read_body with pytest.warns(DeprecationWarning): assert not request.has_body return web.Response() app = web.Application() app.router.add_route(method, "/", handler) > client = await aiohttp_client(app) test_web_functional.py:675: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________ test_empty_content_for_query_without_body[pyloop-patch] ____________ method = 'patch' aiohttp_client = .go at 0x7ffff26b9af0> @pytest.mark.parametrize( "method", ["get", "post", "options", "post", "put", "patch", "delete"] ) async def test_empty_content_for_query_without_body(method, aiohttp_client) -> None: async def handler(request): assert not request.body_exists assert not request.can_read_body with pytest.warns(DeprecationWarning): assert not request.has_body return web.Response() app = web.Application() app.router.add_route(method, "/", handler) > client = await aiohttp_client(app) test_web_functional.py:675: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________ test_empty_content_for_query_without_body[pyloop-delete] ___________ method = 'delete' aiohttp_client = .go at 0x7ffff24a5f70> @pytest.mark.parametrize( "method", ["get", "post", "options", "post", "put", "patch", "delete"] ) async def test_empty_content_for_query_without_body(method, aiohttp_client) -> None: async def handler(request): assert not request.body_exists assert not request.can_read_body with pytest.warns(DeprecationWarning): assert not request.has_body return web.Response() app = web.Application() app.router.add_route(method, "/", handler) > client = await aiohttp_client(app) test_web_functional.py:675: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________ test_empty_content_for_query_with_body[pyloop] ________________ aiohttp_client = .go at 0x7ffff25b61f0> async def test_empty_content_for_query_with_body(aiohttp_client) -> None: async def handler(request): assert request.body_exists assert request.can_read_body with pytest.warns(DeprecationWarning): assert request.has_body body = await request.read() return web.Response(body=body) app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:692: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_get_with_empty_arg[pyloop] ________________________ aiohttp_client = .go at 0x7ffff24ea700> async def test_get_with_empty_arg(aiohttp_client) -> None: async def handler(request): assert "arg" in request.query assert "" == request.query["arg"] return web.Response() app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:706: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_large_header[pyloop] ___________________________ aiohttp_client = .go at 0x7ffff24ca790> async def test_large_header(aiohttp_client) -> None: async def handler(request): return web.Response() app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:718: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________ test_large_header_allowed[pyloop] _______________________ aiohttp_client = .go at 0x7ffff24a5dc0> aiohttp_server = .go at 0x7ffff24a5f70> async def test_large_header_allowed(aiohttp_client, aiohttp_server) -> None: async def handler(request): return web.Response() app = web.Application() app.router.add_post("/", handler) > server = await aiohttp_server(app, max_field_size=81920) test_web_functional.py:731: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_get_with_empty_arg_with_equal[pyloop] __________________ aiohttp_client = .go at 0x7ffff26b9af0> async def test_get_with_empty_arg_with_equal(aiohttp_client) -> None: async def handler(request): assert "arg" in request.query assert "" == request.query["arg"] return web.Response() app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:747: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _____________________ test_response_with_async_gen[pyloop] _____________________ aiohttp_client = .go at 0x7ffff24a5430> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_response_with_async_gen(aiohttp_client, fname) -> None: with fname.open("rb") as f: data = f.read() data_size = len(data) @async_generator async def stream(f_name): with f_name.open("rb") as f: data = f.read(100) while data: await yield_(data) data = f.read(100) async def handler(request): headers = {"Content-Length": str(data_size)} return web.Response(body=stream(fname), headers=headers) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:774: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_response_with_streamer[pyloop] ______________________ aiohttp_client = .go at 0x7ffff24a5b80> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_response_with_streamer(aiohttp_client, fname) -> None: with fname.open("rb") as f: data = f.read() data_size = len(data) with pytest.warns(DeprecationWarning): @aiohttp.streamer async def stream(writer, f_name): with f_name.open("rb") as f: data = f.read(100) while data: await writer.write(data) data = f.read(100) async def handler(request): headers = {"Content-Length": str(data_size)} return web.Response(body=stream(fname), headers=headers) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:806: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________ test_response_with_async_gen_no_params[pyloop] ________________ aiohttp_client = .go at 0x7ffff24c4ee0> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_response_with_async_gen_no_params(aiohttp_client, fname) -> None: with fname.open("rb") as f: data = f.read() data_size = len(data) @async_generator async def stream(): with fname.open("rb") as f: data = f.read(100) while data: await yield_(data) data = f.read(100) async def handler(request): headers = {"Content-Length": str(data_size)} return web.Response(body=stream(), headers=headers) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:836: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________ test_response_with_streamer_no_params[pyloop] _________________ aiohttp_client = .go at 0x7ffff24ea940> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_response_with_streamer_no_params(aiohttp_client, fname) -> None: with fname.open("rb") as f: data = f.read() data_size = len(data) with pytest.warns(DeprecationWarning): @aiohttp.streamer async def stream(writer): with fname.open("rb") as f: data = f.read(100) while data: await writer.write(data) data = f.read(100) async def handler(request): headers = {"Content-Length": str(data_size)} return web.Response(body=stream, headers=headers) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:868: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_response_with_file[pyloop] ________________________ aiohttp_client = .go at 0x7ffff25b68b0> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_response_with_file(aiohttp_client, fname) -> None: with fname.open("rb") as f: data = f.read() async def handler(request): return web.Response(body=fname.open("rb")) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:887: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_response_with_file_ctype[pyloop] _____________________ aiohttp_client = .go at 0x7ffff264baf0> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_response_with_file_ctype(aiohttp_client, fname) -> None: with fname.open("rb") as f: data = f.read() async def handler(request): return web.Response( body=fname.open("rb"), headers={"content-type": "text/binary"} ) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:917: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________ test_response_with_payload_disp[pyloop] ____________________ aiohttp_client = .go at 0x7ffff24ca790> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_response_with_payload_disp(aiohttp_client, fname) -> None: with fname.open("rb") as f: data = f.read() async def handler(request): pl = aiohttp.get_payload(fname.open("rb")) pl.set_content_disposition("inline", filename="test.txt") return web.Response(body=pl, headers={"content-type": "text/binary"}) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:943: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________ test_response_with_payload_stringio[pyloop] __________________ aiohttp_client = .go at 0x7ffff25b68b0> fname = PosixPath('/build/aiohttp-3.7.4.post0/tests/conftest.py') async def test_response_with_payload_stringio(aiohttp_client, fname) -> None: async def handler(request): return web.Response(body=io.StringIO("test")) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:963: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________ test_response_with_precompressed_body_gzip[pyloop] ______________ aiohttp_client = .go at 0x7ffff264b3a0> async def test_response_with_precompressed_body_gzip(aiohttp_client) -> None: async def handler(request): headers = {"Content-Encoding": "gzip"} zcomp = zlib.compressobj(wbits=16 + zlib.MAX_WBITS) data = zcomp.compress(b"mydata") + zcomp.flush() return web.Response(body=data, headers=headers) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:980: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________ test_response_with_precompressed_body_deflate[pyloop] _____________ aiohttp_client = .go at 0x7ffff24ca790> async def test_response_with_precompressed_body_deflate(aiohttp_client) -> None: async def handler(request): headers = {"Content-Encoding": "deflate"} zcomp = zlib.compressobj(wbits=zlib.MAX_WBITS) data = zcomp.compress(b"mydata") + zcomp.flush() return web.Response(body=data, headers=headers) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:998: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________ test_response_with_precompressed_body_deflate_no_hdrs[pyloop] _________ aiohttp_client = .go at 0x7ffff24a5f70> async def test_response_with_precompressed_body_deflate_no_hdrs(aiohttp_client) -> None: async def handler(request): headers = {"Content-Encoding": "deflate"} # Actually, wrong compression format, but # should be supported for some legacy cases. zcomp = zlib.compressobj(wbits=-zlib.MAX_WBITS) data = zcomp.compress(b"mydata") + zcomp.flush() return web.Response(body=data, headers=headers) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:1018: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_bad_request_payload[pyloop] _______________________ aiohttp_client = .go at 0x7ffff25b6a60> async def test_bad_request_payload(aiohttp_client) -> None: async def handler(request): assert request.method == "POST" with pytest.raises(aiohttp.web.RequestPayloadError): await request.content.read() return web.Response() app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:1038: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________ test_stream_response_multiple_chunks[pyloop] _________________ aiohttp_client = .go at 0x7ffff24ea700> async def test_stream_response_multiple_chunks(aiohttp_client) -> None: async def handler(request): resp = web.StreamResponse() resp.enable_chunked_encoding() await resp.prepare(request) await resp.write(b"x") await resp.write(b"y") await resp.write(b"z") return resp app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:1056: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________ test_start_without_routes[pyloop] _______________________ aiohttp_client = .go at 0x7ffff24a5430> async def test_start_without_routes(aiohttp_client) -> None: app = web.Application() > client = await aiohttp_client(app) test_web_functional.py:1067: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_requests_count[pyloop] __________________________ aiohttp_client = .go at 0x7ffff24a5dc0> async def test_requests_count(aiohttp_client) -> None: async def handler(request): return web.Response() app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:1079: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_redirect_url[pyloop] ___________________________ aiohttp_client = .go at 0x7ffff24a51f0> async def test_redirect_url(aiohttp_client) -> None: async def redirector(request): raise web.HTTPFound(location=URL("/redirected")) async def redirected(request): return web.Response() app = web.Application() app.router.add_get("/redirector", redirector) app.router.add_get("/redirected", redirected) > client = await aiohttp_client(app) test_web_functional.py:1106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_simple_subapp[pyloop] __________________________ aiohttp_client = .go at 0x7ffff264baf0> async def test_simple_subapp(aiohttp_client) -> None: async def handler(request): return web.Response(text="OK") app = web.Application() subapp = web.Application() subapp.router.add_get("/to", handler) app.add_subapp("/path", subapp) > client = await aiohttp_client(app) test_web_functional.py:1120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_subapp_reverse_url[pyloop] ________________________ aiohttp_client = .go at 0x7ffff24ca790> async def test_subapp_reverse_url(aiohttp_client) -> None: async def handler(request): raise web.HTTPMovedPermanently(location=subapp.router["name"].url_for()) async def handler2(request): return web.Response(text="OK") app = web.Application() subapp = web.Application() subapp.router.add_get("/to", handler) subapp.router.add_get("/final", handler2, name="name") app.add_subapp("/path", subapp) > client = await aiohttp_client(app) test_web_functional.py:1140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________ test_subapp_reverse_variable_url[pyloop] ___________________ aiohttp_client = .go at 0x7ffff24ea700> async def test_subapp_reverse_variable_url(aiohttp_client) -> None: async def handler(request): raise web.HTTPMovedPermanently( location=subapp.router["name"].url_for(part="final") ) async def handler2(request): return web.Response(text="OK") app = web.Application() subapp = web.Application() subapp.router.add_get("/to", handler) subapp.router.add_get("/{part}", handler2, name="name") app.add_subapp("/path", subapp) > client = await aiohttp_client(app) test_web_functional.py:1163: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_subapp_reverse_static_url[pyloop] ____________________ aiohttp_client = .go at 0x7ffff24a5b80> async def test_subapp_reverse_static_url(aiohttp_client) -> None: fname = "aiohttp.png" async def handler(request): raise web.HTTPMovedPermanently( location=subapp.router["name"].url_for(filename=fname) ) app = web.Application() subapp = web.Application() subapp.router.add_get("/to", handler) here = pathlib.Path(__file__).parent subapp.router.add_static("/static", here, name="name") app.add_subapp("/path", subapp) > client = await aiohttp_client(app) test_web_functional.py:1186: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________________ test_subapp_app[pyloop] ____________________________ aiohttp_client = .go at 0x7ffff24bedc0> async def test_subapp_app(aiohttp_client) -> None: async def handler(request): assert request.app is subapp return web.Response(text="OK") app = web.Application() subapp = web.Application() subapp.router.add_get("/to", handler) app.add_subapp("/path/", subapp) > client = await aiohttp_client(app) test_web_functional.py:1205: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_subapp_not_found[pyloop] _________________________ aiohttp_client = .go at 0x7ffff24be9d0> async def test_subapp_not_found(aiohttp_client) -> None: async def handler(request): return web.Response(text="OK") app = web.Application() subapp = web.Application() subapp.router.add_get("/to", handler) app.add_subapp("/path/", subapp) > client = await aiohttp_client(app) test_web_functional.py:1221: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_subapp_not_found2[pyloop] ________________________ aiohttp_client = .go at 0x7ffff25b6a60> async def test_subapp_not_found2(aiohttp_client) -> None: async def handler(request): return web.Response(text="OK") app = web.Application() subapp = web.Application() subapp.router.add_get("/to", handler) app.add_subapp("/path/", subapp) > client = await aiohttp_client(app) test_web_functional.py:1235: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_subapp_not_allowed[pyloop] ________________________ aiohttp_client = .go at 0x7ffff25b68b0> async def test_subapp_not_allowed(aiohttp_client) -> None: async def handler(request): return web.Response(text="OK") app = web.Application() subapp = web.Application() subapp.router.add_get("/to", handler) app.add_subapp("/path/", subapp) > client = await aiohttp_client(app) test_web_functional.py:1249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________ test_subapp_cannot_add_app_in_handler[pyloop] _________________ aiohttp_client = .go at 0x7ffff26b9af0> async def test_subapp_cannot_add_app_in_handler(aiohttp_client) -> None: async def handler(request): request.match_info.add_app(app) return web.Response(text="OK") app = web.Application() subapp = web.Application() subapp.router.add_get("/to", handler) app.add_subapp("/path/", subapp) > client = await aiohttp_client(app) test_web_functional.py:1265: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________ test_subapp_on_response_prepare[pyloop] ____________________ aiohttp_client = .go at 0x7ffff25351f0> async def test_subapp_on_response_prepare(aiohttp_client) -> None: order = [] async def handler(request): return web.Response(text="OK") def make_signal(app): async def on_response(request, response): order.append(app) return on_response app = web.Application() app.on_response_prepare.append(make_signal(app)) subapp1 = web.Application() subapp1.on_response_prepare.append(make_signal(subapp1)) subapp2 = web.Application() subapp2.on_response_prepare.append(make_signal(subapp2)) subapp2.router.add_get("/to", handler) subapp1.add_subapp("/b/", subapp2) app.add_subapp("/a/", subapp1) > client = await aiohttp_client(app) test_web_functional.py:1329: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ________________________ test_subapp_on_startup[pyloop] ________________________ aiohttp_server = .go at 0x7ffff26b99d0> async def test_subapp_on_startup(aiohttp_server) -> None: order = [] async def on_signal(app): order.append(app) app = web.Application() app.on_startup.append(on_signal) subapp1 = web.Application() subapp1.on_startup.append(on_signal) subapp2 = web.Application() subapp2.on_startup.append(on_signal) subapp1.add_subapp("/b/", subapp2) app.add_subapp("/a/", subapp1) > await aiohttp_server(app) test_web_functional.py:1350: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_subapp_on_shutdown[pyloop] ________________________ aiohttp_server = .go at 0x7ffff24bea60> async def test_subapp_on_shutdown(aiohttp_server) -> None: order = [] async def on_signal(app): order.append(app) app = web.Application() app.on_shutdown.append(on_signal) subapp1 = web.Application() subapp1.on_shutdown.append(on_signal) subapp2 = web.Application() subapp2.on_shutdown.append(on_signal) subapp1.add_subapp("/b/", subapp2) app.add_subapp("/a/", subapp1) > server = await aiohttp_server(app) test_web_functional.py:1370: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ________________________ test_subapp_on_cleanup[pyloop] ________________________ aiohttp_server = .go at 0x7ffff2535d30> async def test_subapp_on_cleanup(aiohttp_server) -> None: order = [] async def on_signal(app): order.append(app) app = web.Application() app.on_cleanup.append(on_signal) subapp1 = web.Application() subapp1.on_cleanup.append(on_signal) subapp2 = web.Application() subapp2.on_cleanup.append(on_signal) subapp1.add_subapp("/b/", subapp2) app.add_subapp("/a/", subapp1) > server = await aiohttp_server(app) test_web_functional.py:1391: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed __________ test_subapp_middleware_context[pyloop-/sub/-expected0-AC] ___________ aiohttp_client = .go at 0x7ffff24ea940> route = '/sub/', expected = ['A: root', 'C: sub', 'D: sub'], middlewares = 'AC' @pytest.mark.parametrize( "route,expected,middlewares", [ ("/sub/", ["A: root", "C: sub", "D: sub"], "AC"), ("/", ["A: root", "B: root"], "AC"), ("/sub/", ["A: root", "D: sub"], "A"), ("/", ["A: root", "B: root"], "A"), ("/sub/", ["C: sub", "D: sub"], "C"), ("/", ["B: root"], "C"), ("/sub/", ["D: sub"], ""), ("/", ["B: root"], ""), ], ) async def test_subapp_middleware_context(aiohttp_client, route, expected, middlewares): values = [] def show_app_context(appname): @web.middleware async def middleware(request, handler): values.append("{}: {}".format(appname, request.app["my_value"])) return await handler(request) return middleware def make_handler(appname): async def handler(request): values.append("{}: {}".format(appname, request.app["my_value"])) return web.Response(text="Ok") return handler app = web.Application() app["my_value"] = "root" if "A" in middlewares: app.middlewares.append(show_app_context("A")) app.router.add_get("/", make_handler("B")) subapp = web.Application() subapp["my_value"] = "sub" if "C" in middlewares: subapp.middlewares.append(show_app_context("C")) subapp.router.add_get("/", make_handler("D")) app.add_subapp("/sub/", subapp) > client = await aiohttp_client(app) test_web_functional.py:1441: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ____________ test_subapp_middleware_context[pyloop-/-expected1-AC] _____________ aiohttp_client = .go at 0x7ffff2535790> route = '/', expected = ['A: root', 'B: root'], middlewares = 'AC' @pytest.mark.parametrize( "route,expected,middlewares", [ ("/sub/", ["A: root", "C: sub", "D: sub"], "AC"), ("/", ["A: root", "B: root"], "AC"), ("/sub/", ["A: root", "D: sub"], "A"), ("/", ["A: root", "B: root"], "A"), ("/sub/", ["C: sub", "D: sub"], "C"), ("/", ["B: root"], "C"), ("/sub/", ["D: sub"], ""), ("/", ["B: root"], ""), ], ) async def test_subapp_middleware_context(aiohttp_client, route, expected, middlewares): values = [] def show_app_context(appname): @web.middleware async def middleware(request, handler): values.append("{}: {}".format(appname, request.app["my_value"])) return await handler(request) return middleware def make_handler(appname): async def handler(request): values.append("{}: {}".format(appname, request.app["my_value"])) return web.Response(text="Ok") return handler app = web.Application() app["my_value"] = "root" if "A" in middlewares: app.middlewares.append(show_app_context("A")) app.router.add_get("/", make_handler("B")) subapp = web.Application() subapp["my_value"] = "sub" if "C" in middlewares: subapp.middlewares.append(show_app_context("C")) subapp.router.add_get("/", make_handler("D")) app.add_subapp("/sub/", subapp) > client = await aiohttp_client(app) test_web_functional.py:1441: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________ test_subapp_middleware_context[pyloop-/sub/-expected2-A] ___________ aiohttp_client = .go at 0x7ffff270b9d0> route = '/sub/', expected = ['A: root', 'D: sub'], middlewares = 'A' @pytest.mark.parametrize( "route,expected,middlewares", [ ("/sub/", ["A: root", "C: sub", "D: sub"], "AC"), ("/", ["A: root", "B: root"], "AC"), ("/sub/", ["A: root", "D: sub"], "A"), ("/", ["A: root", "B: root"], "A"), ("/sub/", ["C: sub", "D: sub"], "C"), ("/", ["B: root"], "C"), ("/sub/", ["D: sub"], ""), ("/", ["B: root"], ""), ], ) async def test_subapp_middleware_context(aiohttp_client, route, expected, middlewares): values = [] def show_app_context(appname): @web.middleware async def middleware(request, handler): values.append("{}: {}".format(appname, request.app["my_value"])) return await handler(request) return middleware def make_handler(appname): async def handler(request): values.append("{}: {}".format(appname, request.app["my_value"])) return web.Response(text="Ok") return handler app = web.Application() app["my_value"] = "root" if "A" in middlewares: app.middlewares.append(show_app_context("A")) app.router.add_get("/", make_handler("B")) subapp = web.Application() subapp["my_value"] = "sub" if "C" in middlewares: subapp.middlewares.append(show_app_context("C")) subapp.router.add_get("/", make_handler("D")) app.add_subapp("/sub/", subapp) > client = await aiohttp_client(app) test_web_functional.py:1441: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________ test_subapp_middleware_context[pyloop-/-expected3-A] _____________ aiohttp_client = .go at 0x7ffff270bdc0> route = '/', expected = ['A: root', 'B: root'], middlewares = 'A' @pytest.mark.parametrize( "route,expected,middlewares", [ ("/sub/", ["A: root", "C: sub", "D: sub"], "AC"), ("/", ["A: root", "B: root"], "AC"), ("/sub/", ["A: root", "D: sub"], "A"), ("/", ["A: root", "B: root"], "A"), ("/sub/", ["C: sub", "D: sub"], "C"), ("/", ["B: root"], "C"), ("/sub/", ["D: sub"], ""), ("/", ["B: root"], ""), ], ) async def test_subapp_middleware_context(aiohttp_client, route, expected, middlewares): values = [] def show_app_context(appname): @web.middleware async def middleware(request, handler): values.append("{}: {}".format(appname, request.app["my_value"])) return await handler(request) return middleware def make_handler(appname): async def handler(request): values.append("{}: {}".format(appname, request.app["my_value"])) return web.Response(text="Ok") return handler app = web.Application() app["my_value"] = "root" if "A" in middlewares: app.middlewares.append(show_app_context("A")) app.router.add_get("/", make_handler("B")) subapp = web.Application() subapp["my_value"] = "sub" if "C" in middlewares: subapp.middlewares.append(show_app_context("C")) subapp.router.add_get("/", make_handler("D")) app.add_subapp("/sub/", subapp) > client = await aiohttp_client(app) test_web_functional.py:1441: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________ test_subapp_middleware_context[pyloop-/sub/-expected4-C] ___________ aiohttp_client = .go at 0x7ffff25351f0> route = '/sub/', expected = ['C: sub', 'D: sub'], middlewares = 'C' @pytest.mark.parametrize( "route,expected,middlewares", [ ("/sub/", ["A: root", "C: sub", "D: sub"], "AC"), ("/", ["A: root", "B: root"], "AC"), ("/sub/", ["A: root", "D: sub"], "A"), ("/", ["A: root", "B: root"], "A"), ("/sub/", ["C: sub", "D: sub"], "C"), ("/", ["B: root"], "C"), ("/sub/", ["D: sub"], ""), ("/", ["B: root"], ""), ], ) async def test_subapp_middleware_context(aiohttp_client, route, expected, middlewares): values = [] def show_app_context(appname): @web.middleware async def middleware(request, handler): values.append("{}: {}".format(appname, request.app["my_value"])) return await handler(request) return middleware def make_handler(appname): async def handler(request): values.append("{}: {}".format(appname, request.app["my_value"])) return web.Response(text="Ok") return handler app = web.Application() app["my_value"] = "root" if "A" in middlewares: app.middlewares.append(show_app_context("A")) app.router.add_get("/", make_handler("B")) subapp = web.Application() subapp["my_value"] = "sub" if "C" in middlewares: subapp.middlewares.append(show_app_context("C")) subapp.router.add_get("/", make_handler("D")) app.add_subapp("/sub/", subapp) > client = await aiohttp_client(app) test_web_functional.py:1441: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________ test_subapp_middleware_context[pyloop-/-expected5-C] _____________ aiohttp_client = .go at 0x7ffff25b6a60> route = '/', expected = ['B: root'], middlewares = 'C' @pytest.mark.parametrize( "route,expected,middlewares", [ ("/sub/", ["A: root", "C: sub", "D: sub"], "AC"), ("/", ["A: root", "B: root"], "AC"), ("/sub/", ["A: root", "D: sub"], "A"), ("/", ["A: root", "B: root"], "A"), ("/sub/", ["C: sub", "D: sub"], "C"), ("/", ["B: root"], "C"), ("/sub/", ["D: sub"], ""), ("/", ["B: root"], ""), ], ) async def test_subapp_middleware_context(aiohttp_client, route, expected, middlewares): values = [] def show_app_context(appname): @web.middleware async def middleware(request, handler): values.append("{}: {}".format(appname, request.app["my_value"])) return await handler(request) return middleware def make_handler(appname): async def handler(request): values.append("{}: {}".format(appname, request.app["my_value"])) return web.Response(text="Ok") return handler app = web.Application() app["my_value"] = "root" if "A" in middlewares: app.middlewares.append(show_app_context("A")) app.router.add_get("/", make_handler("B")) subapp = web.Application() subapp["my_value"] = "sub" if "C" in middlewares: subapp.middlewares.append(show_app_context("C")) subapp.router.add_get("/", make_handler("D")) app.add_subapp("/sub/", subapp) > client = await aiohttp_client(app) test_web_functional.py:1441: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________ test_subapp_middleware_context[pyloop-/sub/-expected6-] ____________ aiohttp_client = .go at 0x7ffff25354c0> route = '/sub/', expected = ['D: sub'], middlewares = '' @pytest.mark.parametrize( "route,expected,middlewares", [ ("/sub/", ["A: root", "C: sub", "D: sub"], "AC"), ("/", ["A: root", "B: root"], "AC"), ("/sub/", ["A: root", "D: sub"], "A"), ("/", ["A: root", "B: root"], "A"), ("/sub/", ["C: sub", "D: sub"], "C"), ("/", ["B: root"], "C"), ("/sub/", ["D: sub"], ""), ("/", ["B: root"], ""), ], ) async def test_subapp_middleware_context(aiohttp_client, route, expected, middlewares): values = [] def show_app_context(appname): @web.middleware async def middleware(request, handler): values.append("{}: {}".format(appname, request.app["my_value"])) return await handler(request) return middleware def make_handler(appname): async def handler(request): values.append("{}: {}".format(appname, request.app["my_value"])) return web.Response(text="Ok") return handler app = web.Application() app["my_value"] = "root" if "A" in middlewares: app.middlewares.append(show_app_context("A")) app.router.add_get("/", make_handler("B")) subapp = web.Application() subapp["my_value"] = "sub" if "C" in middlewares: subapp.middlewares.append(show_app_context("C")) subapp.router.add_get("/", make_handler("D")) app.add_subapp("/sub/", subapp) > client = await aiohttp_client(app) test_web_functional.py:1441: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________ test_subapp_middleware_context[pyloop-/-expected7-] ______________ aiohttp_client = .go at 0x7ffff270b5e0> route = '/', expected = ['B: root'], middlewares = '' @pytest.mark.parametrize( "route,expected,middlewares", [ ("/sub/", ["A: root", "C: sub", "D: sub"], "AC"), ("/", ["A: root", "B: root"], "AC"), ("/sub/", ["A: root", "D: sub"], "A"), ("/", ["A: root", "B: root"], "A"), ("/sub/", ["C: sub", "D: sub"], "C"), ("/", ["B: root"], "C"), ("/sub/", ["D: sub"], ""), ("/", ["B: root"], ""), ], ) async def test_subapp_middleware_context(aiohttp_client, route, expected, middlewares): values = [] def show_app_context(appname): @web.middleware async def middleware(request, handler): values.append("{}: {}".format(appname, request.app["my_value"])) return await handler(request) return middleware def make_handler(appname): async def handler(request): values.append("{}: {}".format(appname, request.app["my_value"])) return web.Response(text="Ok") return handler app = web.Application() app["my_value"] = "root" if "A" in middlewares: app.middlewares.append(show_app_context("A")) app.router.add_get("/", make_handler("B")) subapp = web.Application() subapp["my_value"] = "sub" if "C" in middlewares: subapp.middlewares.append(show_app_context("C")) subapp.router.add_get("/", make_handler("D")) app.add_subapp("/sub/", subapp) > client = await aiohttp_client(app) test_web_functional.py:1441: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_custom_date_header[pyloop] ________________________ aiohttp_client = .go at 0x7ffff2535ca0> async def test_custom_date_header(aiohttp_client) -> None: async def handler(request): return web.Response(headers={"Date": "Sun, 30 Oct 2016 03:13:52 GMT"}) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:1454: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_response_prepared_with_clone[pyloop] ___________________ aiohttp_client = .go at 0x7ffff26b9af0> async def test_response_prepared_with_clone(aiohttp_client) -> None: async def handler(request): cloned = request.clone() resp = web.StreamResponse() await resp.prepare(cloned) return resp app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:1470: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_app_max_client_size[pyloop] _______________________ aiohttp_client = .go at 0x7ffff24a51f0> async def test_app_max_client_size(aiohttp_client) -> None: async def handler(request): await request.post() return web.Response(body=b"ok") max_size = 1024 ** 2 app = web.Application() app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:1484: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_app_max_client_size_adjusted[pyloop] ___________________ aiohttp_client = .go at 0x7ffff26b9040> async def test_app_max_client_size_adjusted(aiohttp_client) -> None: async def handler(request): await request.post() return web.Response(body=b"ok") default_max_size = 1024 ** 2 custom_max_size = default_max_size * 2 app = web.Application(client_max_size=custom_max_size) app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:1507: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_app_max_client_size_none[pyloop] _____________________ aiohttp_client = .go at 0x7ffff24a5430> async def test_app_max_client_size_none(aiohttp_client) -> None: async def handler(request): await request.post() return web.Response(body=b"ok") default_max_size = 1024 ** 2 custom_max_size = None app = web.Application(client_max_size=custom_max_size) app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:1536: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________ test_post_max_client_size[pyloop] _______________________ aiohttp_client = .go at 0x7ffff26b99d0> async def test_post_max_client_size(aiohttp_client) -> None: async def handler(request): await request.post() return web.Response() app = web.Application(client_max_size=10) app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:1558: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_post_max_client_size_for_file[pyloop] __________________ aiohttp_client = .go at 0x7ffff264b3a0> async def test_post_max_client_size_for_file(aiohttp_client) -> None: async def handler(request): await request.post() return web.Response() app = web.Application(client_max_size=2) app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:1577: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_response_with_bodypart[pyloop] ______________________ aiohttp_client = .go at 0x7ffff26b99d0> async def test_response_with_bodypart(aiohttp_client) -> None: async def handler(request): reader = await request.multipart() part = await reader.next() return web.Response(body=part) app = web.Application(client_max_size=2) app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:1593: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_response_with_bodypart_named[pyloop] ___________________ aiohttp_client = .go at 0x7ffff2535ca0> tmpdir = local('/build/pytest-of-nixbld/pytest-0/test_response_with_bodypart_na0') async def test_response_with_bodypart_named(aiohttp_client, tmpdir) -> None: async def handler(request): reader = await request.multipart() part = await reader.next() return web.Response(body=part) app = web.Application(client_max_size=2) app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:1617: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________ test_response_with_bodypart_invalid_name[pyloop] _______________ aiohttp_client = .go at 0x7ffff26b9040> async def test_response_with_bodypart_invalid_name(aiohttp_client) -> None: async def handler(request): reader = await request.multipart() part = await reader.next() return web.Response(body=part) app = web.Application(client_max_size=2) app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:1643: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_request_clone[pyloop] __________________________ aiohttp_client = .go at 0x7ffff264baf0> async def test_request_clone(aiohttp_client) -> None: async def handler(request): r2 = request.clone(method="POST") assert r2.method == "POST" assert r2.match_info is request.match_info return web.Response() app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_functional.py:1665: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________________ test_await[pyloop] ______________________________ aiohttp_server = .go at 0x7ffff24a5430> async def test_await(aiohttp_server) -> None: async def handler(request): resp = web.StreamResponse(headers={"content-length": str(4)}) await resp.prepare(request) with pytest.warns(DeprecationWarning): await resp.drain() await asyncio.sleep(0.01) await resp.write(b"test") await asyncio.sleep(0.01) await resp.write_eof() return resp app = web.Application() app.router.add_route("GET", "/", handler) > server = await aiohttp_server(app) test_web_functional.py:1685: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_response_context_manager[pyloop] _____________________ aiohttp_server = .go at 0x7ffff24c4ee0> async def test_response_context_manager(aiohttp_server) -> None: async def handler(request): return web.Response() app = web.Application() app.router.add_route("GET", "/", handler) > server = await aiohttp_server(app) test_web_functional.py:1702: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _________________ test_response_context_manager_error[pyloop] __________________ aiohttp_server = .go at 0x7ffff24a51f0> async def test_response_context_manager_error(aiohttp_server) -> None: async def handler(request): return web.Response(text="some text") app = web.Application() app.router.add_route("GET", "/", handler) > server = await aiohttp_server(app) test_web_functional.py:1716: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ________________ test_context_manager_close_on_release[pyloop] _________________ aiohttp_server = .go at 0x7ffff24ca790> mocker = async def test_context_manager_close_on_release(aiohttp_server, mocker) -> None: async def handler(request): resp = web.StreamResponse() await resp.prepare(request) with pytest.warns(DeprecationWarning): await resp.drain() await asyncio.sleep(10) return resp app = web.Application() app.router.add_route("GET", "/", handler) > server = await aiohttp_server(app) test_web_functional.py:1756: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ____________________________ test_iter_any[pyloop] _____________________________ aiohttp_server = .go at 0x7ffff24a5b80> async def test_iter_any(aiohttp_server) -> None: data = b"0123456789" * 1024 async def handler(request): buf = [] async for raw in request.content.iter_any(): buf.append(raw) assert b"".join(buf) == data return web.Response() app = web.Application() app.router.add_route("POST", "/", handler) > server = await aiohttp_server(app) test_web_functional.py:1782: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _________________________ test_request_tracing[pyloop] _________________________ aiohttp_server = .go at 0x7ffff2535ee0> async def test_request_tracing(aiohttp_server) -> None: on_request_start = mock.Mock(side_effect=make_mocked_coro(mock.Mock())) on_request_end = mock.Mock(side_effect=make_mocked_coro(mock.Mock())) on_dns_resolvehost_start = mock.Mock(side_effect=make_mocked_coro(mock.Mock())) on_dns_resolvehost_end = mock.Mock(side_effect=make_mocked_coro(mock.Mock())) on_request_redirect = mock.Mock(side_effect=make_mocked_coro(mock.Mock())) on_connection_create_start = mock.Mock(side_effect=make_mocked_coro(mock.Mock())) on_connection_create_end = mock.Mock(side_effect=make_mocked_coro(mock.Mock())) async def redirector(request): raise web.HTTPFound(location=URL("/redirected")) async def redirected(request): return web.Response() trace_config = TraceConfig() trace_config.on_request_start.append(on_request_start) trace_config.on_request_end.append(on_request_end) trace_config.on_request_redirect.append(on_request_redirect) trace_config.on_connection_create_start.append(on_connection_create_start) trace_config.on_connection_create_end.append(on_connection_create_end) trace_config.on_dns_resolvehost_start.append(on_dns_resolvehost_start) trace_config.on_dns_resolvehost_end.append(on_dns_resolvehost_end) app = web.Application() app.router.add_get("/redirector", redirector) app.router.add_get("/redirected", redirected) > server = await aiohttp_server(app) test_web_functional.py:1818: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ________________ test_return_http_exception_deprecated[pyloop] _________________ aiohttp_client = .go at 0x7ffff24a51f0> async def test_return_http_exception_deprecated(aiohttp_client) -> None: async def handler(request): return web.HTTPForbidden() app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_web_functional.py:1866: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed __________________________ test_request_path[pyloop] ___________________________ aiohttp_client = .go at 0x7ffff253d550> async def test_request_path(aiohttp_client) -> None: async def handler(request): assert request.path_qs == "/path%20to?a=1" assert request.path == "/path to" assert request.raw_path == "/path%20to?a=1" return web.Response(body=b"OK") app = web.Application() app.router.add_get("/path to", handler) > client = await aiohttp_client(app) test_web_functional.py:1881: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_app_add_routes[pyloop] __________________________ aiohttp_client = .go at 0x7ffff253de50> async def test_app_add_routes(aiohttp_client) -> None: async def handler(request): return web.Response() app = web.Application() app.add_routes([web.get("/get", handler)]) > client = await aiohttp_client(app) test_web_functional.py:1896: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________ test_request_headers_type[pyloop] _______________________ aiohttp_client = .go at 0x7ffff253dca0> async def test_request_headers_type(aiohttp_client) -> None: async def handler(request): assert isinstance(request.headers, CIMultiDictProxy) return web.Response() app = web.Application() app.add_routes([web.get("/get", handler)]) > client = await aiohttp_client(app) test_web_functional.py:1909: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_signal_on_error_handler[pyloop] _____________________ aiohttp_client = .go at 0x7ffff24a5b80> async def test_signal_on_error_handler(aiohttp_client) -> None: async def on_prepare(request, response): response.headers["X-Custom"] = "val" app = web.Application() app.on_response_prepare.append(on_prepare) > client = await aiohttp_client(app) test_web_functional.py:1921: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________ test_bad_method_for_c_http_parser_not_hangs[pyloop] ______________ aiohttp_client = .go at 0x7ffff26b99d0> @pytest.mark.skipif( "HttpRequestParserC" not in dir(aiohttp.http_parser), reason="C based HTTP parser not available", ) async def test_bad_method_for_c_http_parser_not_hangs(aiohttp_client) -> None: app = web.Application() timeout = aiohttp.ClientTimeout(sock_read=0.2) > client = await aiohttp_client(app, timeout=timeout) test_web_functional.py:1934: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_read_bufsize[pyloop] ___________________________ aiohttp_client = .go at 0x7ffff24be670> async def test_read_bufsize(aiohttp_client) -> None: async def handler(request): ret = request.content.get_read_buffer_limits() data = await request.text() # read posted data return web.Response(text=f"{data} {ret!r}") app = web.Application(handler_args={"read_bufsize": 2}) app.router.add_post("/", handler) > client = await aiohttp_client(app) test_web_functional.py:1948: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________ test_response_101_204_no_content_length_http11[pyloop-101] __________ status = 101 aiohttp_client = .go at 0x7ffff24a5430> @pytest.mark.parametrize( "status", [101, 204], ) async def test_response_101_204_no_content_length_http11( status, aiohttp_client ) -> None: async def handler(_): return web.Response(status=status) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app, version="1.1") test_web_functional.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________ test_response_101_204_no_content_length_http11[pyloop-204] __________ status = 204 aiohttp_client = .go at 0x7ffff2535ca0> @pytest.mark.parametrize( "status", [101, 204], ) async def test_response_101_204_no_content_length_http11( status, aiohttp_client ) -> None: async def handler(_): return web.Response(status=status) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app, version="1.1") test_web_functional.py:1966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_contextvars_logger[pyloop] ________________________ aiohttp_server = .go at 0x7ffff25350d0> aiohttp_client = .go at 0x7ffff253dca0> @pytest.mark.skipif(not PY_37, reason="contextvars support is required") async def test_contextvars_logger(aiohttp_server, aiohttp_client): VAR = ContextVar("VAR") async def handler(request): return web.Response() @web.middleware async def middleware(request, handler): VAR.set("uuid") return await handler(request) msg = None class Logger(AbstractAccessLogger): def log(self, request, response, time): nonlocal msg msg = f"contextvars: {VAR.get()}" app = web.Application(middlewares=[middleware]) app.router.add_get("/", handler) > server = await aiohttp_server(app, access_log_class=Logger) test_web_log.py:193: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_middleware_modifies_response[pyloop] ___________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff24be670> async def test_middleware_modifies_response(loop, aiohttp_client) -> None: async def handler(request): return web.Response(body=b"OK") @web.middleware async def middleware(request, handler): resp = await handler(request) assert 200 == resp.status resp.set_status(201) resp.text = resp.text + "[MIDDLEWARE]" return resp app = web.Application() app.middlewares.append(middleware) app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_web_middleware.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed __________________ test_middleware_handles_exception[pyloop] ___________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff253d9d0> async def test_middleware_handles_exception(loop, aiohttp_client) -> None: async def handler(request): raise RuntimeError("Error text") @web.middleware async def middleware(request, handler): with pytest.raises(RuntimeError) as ctx: await handler(request) return web.Response(status=501, text=str(ctx.value) + "[MIDDLEWARE]") app = web.Application() app.middlewares.append(middleware) app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_web_middleware.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_middleware_chain[pyloop] _________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff25350d0> async def test_middleware_chain(loop, aiohttp_client) -> None: async def handler(request): return web.Response(text="OK") handler.annotation = "annotation_value" async def handler2(request): return web.Response(text="OK") middleware_annotation_seen_values = [] def make_middleware(num): @web.middleware async def middleware(request, handler): middleware_annotation_seen_values.append( getattr(handler, "annotation", None) ) resp = await handler(request) resp.text = resp.text + f"[{num}]" return resp return middleware app = web.Application() app.middlewares.append(make_middleware(1)) app.middlewares.append(make_middleware(2)) app.router.add_route("GET", "/", handler) app.router.add_route("GET", "/r2", handler2) > client = await aiohttp_client(app) test_web_middleware.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_middleware_subapp[pyloop] ________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff2712a60> async def test_middleware_subapp(loop, aiohttp_client) -> None: async def sub_handler(request): return web.Response(text="OK") sub_handler.annotation = "annotation_value" async def handler(request): return web.Response(text="OK") middleware_annotation_seen_values = [] def make_middleware(num): @web.middleware async def middleware(request, handler): annotation = getattr(handler, "annotation", None) if annotation is not None: middleware_annotation_seen_values.append(f"{annotation}/{num}") return await handler(request) return middleware app = web.Application() app.middlewares.append(make_middleware(1)) app.router.add_route("GET", "/r2", handler) subapp = web.Application() subapp.middlewares.append(make_middleware(2)) subapp.router.add_route("GET", "/", sub_handler) app.add_subapp("/sub", subapp) > client = await aiohttp_client(app) test_web_middleware.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_add_trailing_when_necessary[pyloop-/resource1-200] _ self = path = '/resource1', status = 200 cli = .wrapper at 0x7ffff24bedc0> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 200), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 200), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 200), ("/resource2/a/b%2Fc/", 200), ], ) async def test_add_trailing_when_necessary(self, path, status, cli): extra_middlewares = [web.normalize_path_middleware(merge_slashes=False)] > client = await cli(extra_middlewares) test_web_middleware.py:180: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_add_trailing_when_necessary[pyloop-/resource1/-404] _ self = path = '/resource1/', status = 404 cli = .wrapper at 0x7ffff253de50> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 200), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 200), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 200), ("/resource2/a/b%2Fc/", 200), ], ) async def test_add_trailing_when_necessary(self, path, status, cli): extra_middlewares = [web.normalize_path_middleware(merge_slashes=False)] > client = await cli(extra_middlewares) test_web_middleware.py:180: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_add_trailing_when_necessary[pyloop-/resource2-200] _ self = path = '/resource2', status = 200 cli = .wrapper at 0x7ffff253dca0> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 200), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 200), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 200), ("/resource2/a/b%2Fc/", 200), ], ) async def test_add_trailing_when_necessary(self, path, status, cli): extra_middlewares = [web.normalize_path_middleware(merge_slashes=False)] > client = await cli(extra_middlewares) test_web_middleware.py:180: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_add_trailing_when_necessary[pyloop-/resource2/-200] _ self = path = '/resource2/', status = 200 cli = .wrapper at 0x7ffff253de50> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 200), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 200), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 200), ("/resource2/a/b%2Fc/", 200), ], ) async def test_add_trailing_when_necessary(self, path, status, cli): extra_middlewares = [web.normalize_path_middleware(merge_slashes=False)] > client = await cli(extra_middlewares) test_web_middleware.py:180: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_add_trailing_when_necessary[pyloop-/resource1?p1=1&p2=2-200] _ self = path = '/resource1?p1=1&p2=2', status = 200 cli = .wrapper at 0x7ffff253da60> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 200), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 200), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 200), ("/resource2/a/b%2Fc/", 200), ], ) async def test_add_trailing_when_necessary(self, path, status, cli): extra_middlewares = [web.normalize_path_middleware(merge_slashes=False)] > client = await cli(extra_middlewares) test_web_middleware.py:180: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_add_trailing_when_necessary[pyloop-/resource1/?p1=1&p2=2-404] _ self = path = '/resource1/?p1=1&p2=2', status = 404 cli = .wrapper at 0x7ffff254d700> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 200), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 200), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 200), ("/resource2/a/b%2Fc/", 200), ], ) async def test_add_trailing_when_necessary(self, path, status, cli): extra_middlewares = [web.normalize_path_middleware(merge_slashes=False)] > client = await cli(extra_middlewares) test_web_middleware.py:180: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_add_trailing_when_necessary[pyloop-/resource2?p1=1&p2=2-200] _ self = path = '/resource2?p1=1&p2=2', status = 200 cli = .wrapper at 0x7ffff254d8b0> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 200), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 200), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 200), ("/resource2/a/b%2Fc/", 200), ], ) async def test_add_trailing_when_necessary(self, path, status, cli): extra_middlewares = [web.normalize_path_middleware(merge_slashes=False)] > client = await cli(extra_middlewares) test_web_middleware.py:180: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_add_trailing_when_necessary[pyloop-/resource2/?p1=1&p2=2-200] _ self = path = '/resource2/?p1=1&p2=2', status = 200 cli = .wrapper at 0x7ffff254d160> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 200), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 200), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 200), ("/resource2/a/b%2Fc/", 200), ], ) async def test_add_trailing_when_necessary(self, path, status, cli): extra_middlewares = [web.normalize_path_middleware(merge_slashes=False)] > client = await cli(extra_middlewares) test_web_middleware.py:180: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_add_trailing_when_necessary[pyloop-/resource2/a/b%2Fc-200] _ self = path = '/resource2/a/b%2Fc', status = 200 cli = .wrapper at 0x7ffff254d8b0> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 200), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 200), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 200), ("/resource2/a/b%2Fc/", 200), ], ) async def test_add_trailing_when_necessary(self, path, status, cli): extra_middlewares = [web.normalize_path_middleware(merge_slashes=False)] > client = await cli(extra_middlewares) test_web_middleware.py:180: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_add_trailing_when_necessary[pyloop-/resource2/a/b%2Fc/-200] _ self = path = '/resource2/a/b%2Fc/', status = 200 cli = .wrapper at 0x7ffff254d700> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 200), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 200), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 200), ("/resource2/a/b%2Fc/", 200), ], ) async def test_add_trailing_when_necessary(self, path, status, cli): extra_middlewares = [web.normalize_path_middleware(merge_slashes=False)] > client = await cli(extra_middlewares) test_web_middleware.py:180: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_trailing_when_necessary[pyloop-/resource1-200] _ self = path = '/resource1', status = 200 cli = .wrapper at 0x7ffff20884c0> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 200), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 200), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_remove_trailing_when_necessary(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware( append_slash=False, remove_slash=True, merge_slashes=False ) ] > client = await cli(extra_middlewares) test_web_middleware.py:207: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_trailing_when_necessary[pyloop-/resource1/-200] _ self = path = '/resource1/', status = 200 cli = .wrapper at 0x7ffff2088af0> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 200), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 200), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_remove_trailing_when_necessary(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware( append_slash=False, remove_slash=True, merge_slashes=False ) ] > client = await cli(extra_middlewares) test_web_middleware.py:207: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_trailing_when_necessary[pyloop-/resource2-404] _ self = path = '/resource2', status = 404 cli = .wrapper at 0x7ffff2088790> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 200), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 200), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_remove_trailing_when_necessary(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware( append_slash=False, remove_slash=True, merge_slashes=False ) ] > client = await cli(extra_middlewares) test_web_middleware.py:207: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_trailing_when_necessary[pyloop-/resource2/-200] _ self = path = '/resource2/', status = 200 cli = .wrapper at 0x7ffff2088b80> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 200), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 200), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_remove_trailing_when_necessary(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware( append_slash=False, remove_slash=True, merge_slashes=False ) ] > client = await cli(extra_middlewares) test_web_middleware.py:207: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_trailing_when_necessary[pyloop-/resource1?p1=1&p2=2-200] _ self = path = '/resource1?p1=1&p2=2', status = 200 cli = .wrapper at 0x7ffff20889d0> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 200), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 200), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_remove_trailing_when_necessary(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware( append_slash=False, remove_slash=True, merge_slashes=False ) ] > client = await cli(extra_middlewares) test_web_middleware.py:207: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_trailing_when_necessary[pyloop-/resource1/?p1=1&p2=2-200] _ self = path = '/resource1/?p1=1&p2=2', status = 200 cli = .wrapper at 0x7ffff20884c0> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 200), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 200), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_remove_trailing_when_necessary(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware( append_slash=False, remove_slash=True, merge_slashes=False ) ] > client = await cli(extra_middlewares) test_web_middleware.py:207: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_trailing_when_necessary[pyloop-/resource2?p1=1&p2=2-404] _ self = path = '/resource2?p1=1&p2=2', status = 404 cli = .wrapper at 0x7ffff20885e0> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 200), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 200), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_remove_trailing_when_necessary(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware( append_slash=False, remove_slash=True, merge_slashes=False ) ] > client = await cli(extra_middlewares) test_web_middleware.py:207: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_trailing_when_necessary[pyloop-/resource2/?p1=1&p2=2-200] _ self = path = '/resource2/?p1=1&p2=2', status = 200 cli = .wrapper at 0x7ffff2088790> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 200), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 200), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_remove_trailing_when_necessary(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware( append_slash=False, remove_slash=True, merge_slashes=False ) ] > client = await cli(extra_middlewares) test_web_middleware.py:207: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_trailing_when_necessary[pyloop-/resource2/a/b%2Fc-404] _ self = path = '/resource2/a/b%2Fc', status = 404 cli = .wrapper at 0x7ffff2088b80> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 200), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 200), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_remove_trailing_when_necessary(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware( append_slash=False, remove_slash=True, merge_slashes=False ) ] > client = await cli(extra_middlewares) test_web_middleware.py:207: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_trailing_when_necessary[pyloop-/resource2/a/b%2Fc/-200] _ self = path = '/resource2/a/b%2Fc/', status = 200 cli = .wrapper at 0x7ffff2088790> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 200), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 200), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_remove_trailing_when_necessary(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware( append_slash=False, remove_slash=True, merge_slashes=False ) ] > client = await cli(extra_middlewares) test_web_middleware.py:207: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_no_trailing_slash_when_disabled[pyloop-/resource1-200] _ self = path = '/resource1', status = 200 cli = .wrapper at 0x7ffff20888b0> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_no_trailing_slash_when_disabled(self, path, status, cli): extra_middlewares = [ web.normalize_path_middleware(append_slash=False, merge_slashes=False) ] > client = await cli(extra_middlewares) test_web_middleware.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_no_trailing_slash_when_disabled[pyloop-/resource1/-404] _ self = path = '/resource1/', status = 404 cli = .wrapper at 0x7ffff2088790> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_no_trailing_slash_when_disabled(self, path, status, cli): extra_middlewares = [ web.normalize_path_middleware(append_slash=False, merge_slashes=False) ] > client = await cli(extra_middlewares) test_web_middleware.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_no_trailing_slash_when_disabled[pyloop-/resource2-404] _ self = path = '/resource2', status = 404 cli = .wrapper at 0x7ffff20885e0> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_no_trailing_slash_when_disabled(self, path, status, cli): extra_middlewares = [ web.normalize_path_middleware(append_slash=False, merge_slashes=False) ] > client = await cli(extra_middlewares) test_web_middleware.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_no_trailing_slash_when_disabled[pyloop-/resource2/-200] _ self = path = '/resource2/', status = 200 cli = .wrapper at 0x7ffff2088af0> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_no_trailing_slash_when_disabled(self, path, status, cli): extra_middlewares = [ web.normalize_path_middleware(append_slash=False, merge_slashes=False) ] > client = await cli(extra_middlewares) test_web_middleware.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_no_trailing_slash_when_disabled[pyloop-/resource1?p1=1&p2=2-200] _ self = path = '/resource1?p1=1&p2=2', status = 200 cli = .wrapper at 0x7ffff20885e0> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_no_trailing_slash_when_disabled(self, path, status, cli): extra_middlewares = [ web.normalize_path_middleware(append_slash=False, merge_slashes=False) ] > client = await cli(extra_middlewares) test_web_middleware.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_no_trailing_slash_when_disabled[pyloop-/resource1/?p1=1&p2=2-404] _ self = path = '/resource1/?p1=1&p2=2', status = 404 cli = .wrapper at 0x7ffff20884c0> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_no_trailing_slash_when_disabled(self, path, status, cli): extra_middlewares = [ web.normalize_path_middleware(append_slash=False, merge_slashes=False) ] > client = await cli(extra_middlewares) test_web_middleware.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_no_trailing_slash_when_disabled[pyloop-/resource2?p1=1&p2=2-404] _ self = path = '/resource2?p1=1&p2=2', status = 404 cli = .wrapper at 0x7ffff20885e0> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_no_trailing_slash_when_disabled(self, path, status, cli): extra_middlewares = [ web.normalize_path_middleware(append_slash=False, merge_slashes=False) ] > client = await cli(extra_middlewares) test_web_middleware.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_no_trailing_slash_when_disabled[pyloop-/resource2/?p1=1&p2=2-200] _ self = path = '/resource2/?p1=1&p2=2', status = 200 cli = .wrapper at 0x7ffff2088790> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_no_trailing_slash_when_disabled(self, path, status, cli): extra_middlewares = [ web.normalize_path_middleware(append_slash=False, merge_slashes=False) ] > client = await cli(extra_middlewares) test_web_middleware.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_no_trailing_slash_when_disabled[pyloop-/resource2/a/b%2Fc-404] _ self = path = '/resource2/a/b%2Fc', status = 404 cli = .wrapper at 0x7ffff20888b0> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_no_trailing_slash_when_disabled(self, path, status, cli): extra_middlewares = [ web.normalize_path_middleware(append_slash=False, merge_slashes=False) ] > client = await cli(extra_middlewares) test_web_middleware.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_no_trailing_slash_when_disabled[pyloop-/resource2/a/b%2Fc/-200] _ self = path = '/resource2/a/b%2Fc/', status = 200 cli = .wrapper at 0x7ffff242d940> @pytest.mark.parametrize( "path, status", [ ("/resource1", 200), ("/resource1/", 404), ("/resource2", 404), ("/resource2/", 200), ("/resource1?p1=1&p2=2", 200), ("/resource1/?p1=1&p2=2", 404), ("/resource2?p1=1&p2=2", 404), ("/resource2/?p1=1&p2=2", 200), ("/resource2/a/b%2Fc", 404), ("/resource2/a/b%2Fc/", 200), ], ) async def test_no_trailing_slash_when_disabled(self, path, status, cli): extra_middlewares = [ web.normalize_path_middleware(append_slash=False, merge_slashes=False) ] > client = await cli(extra_middlewares) test_web_middleware.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___ TestNormalizePathMiddleware.test_merge_slash[pyloop-/resource1/a/b-200] ____ self = path = '/resource1/a/b', status = 200 cli = .wrapper at 0x7ffff239b8b0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("//resource1//a//b", 200), ("//resource1//a//b/", 404), ("///resource1//a//b", 200), ("/////resource1/a///b", 200), ("/////resource1/a//b/", 404), ("/resource1/a/b?p=1", 200), ("//resource1//a//b?p=1", 200), ("//resource1//a//b/?p=1", 404), ("///resource1//a//b?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a//b/?p=1", 404), ], ) async def test_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware(append_slash=False)] > client = await cli(extra_middlewares) test_web_middleware.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __ TestNormalizePathMiddleware.test_merge_slash[pyloop-//resource1//a//b-200] __ self = path = '//resource1//a//b', status = 200 cli = .wrapper at 0x7ffff242dca0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("//resource1//a//b", 200), ("//resource1//a//b/", 404), ("///resource1//a//b", 200), ("/////resource1/a///b", 200), ("/////resource1/a//b/", 404), ("/resource1/a/b?p=1", 200), ("//resource1//a//b?p=1", 200), ("//resource1//a//b/?p=1", 404), ("///resource1//a//b?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a//b/?p=1", 404), ], ) async def test_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware(append_slash=False)] > client = await cli(extra_middlewares) test_web_middleware.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_merge_slash[pyloop-//resource1//a//b/-404] __ self = path = '//resource1//a//b/', status = 404 cli = .wrapper at 0x7ffff24be670> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("//resource1//a//b", 200), ("//resource1//a//b/", 404), ("///resource1//a//b", 200), ("/////resource1/a///b", 200), ("/////resource1/a//b/", 404), ("/resource1/a/b?p=1", 200), ("//resource1//a//b?p=1", 200), ("//resource1//a//b/?p=1", 404), ("///resource1//a//b?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a//b/?p=1", 404), ], ) async def test_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware(append_slash=False)] > client = await cli(extra_middlewares) test_web_middleware.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_merge_slash[pyloop-///resource1//a//b-200] __ self = path = '///resource1//a//b', status = 200 cli = .wrapper at 0x7ffff242d1f0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("//resource1//a//b", 200), ("//resource1//a//b/", 404), ("///resource1//a//b", 200), ("/////resource1/a///b", 200), ("/////resource1/a//b/", 404), ("/resource1/a/b?p=1", 200), ("//resource1//a//b?p=1", 200), ("//resource1//a//b/?p=1", 404), ("///resource1//a//b?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a//b/?p=1", 404), ], ) async def test_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware(append_slash=False)] > client = await cli(extra_middlewares) test_web_middleware.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_merge_slash[pyloop-/////resource1/a///b-200] _ self = path = '/////resource1/a///b', status = 200 cli = .wrapper at 0x7ffff2088af0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("//resource1//a//b", 200), ("//resource1//a//b/", 404), ("///resource1//a//b", 200), ("/////resource1/a///b", 200), ("/////resource1/a//b/", 404), ("/resource1/a/b?p=1", 200), ("//resource1//a//b?p=1", 200), ("//resource1//a//b/?p=1", 404), ("///resource1//a//b?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a//b/?p=1", 404), ], ) async def test_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware(append_slash=False)] > client = await cli(extra_middlewares) test_web_middleware.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_merge_slash[pyloop-/////resource1/a//b/-404] _ self = path = '/////resource1/a//b/', status = 404 cli = .wrapper at 0x7ffff24be670> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("//resource1//a//b", 200), ("//resource1//a//b/", 404), ("///resource1//a//b", 200), ("/////resource1/a///b", 200), ("/////resource1/a//b/", 404), ("/resource1/a/b?p=1", 200), ("//resource1//a//b?p=1", 200), ("//resource1//a//b/?p=1", 404), ("///resource1//a//b?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a//b/?p=1", 404), ], ) async def test_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware(append_slash=False)] > client = await cli(extra_middlewares) test_web_middleware.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_merge_slash[pyloop-/resource1/a/b?p=1-200] __ self = path = '/resource1/a/b?p=1', status = 200 cli = .wrapper at 0x7ffff242d1f0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("//resource1//a//b", 200), ("//resource1//a//b/", 404), ("///resource1//a//b", 200), ("/////resource1/a///b", 200), ("/////resource1/a//b/", 404), ("/resource1/a/b?p=1", 200), ("//resource1//a//b?p=1", 200), ("//resource1//a//b/?p=1", 404), ("///resource1//a//b?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a//b/?p=1", 404), ], ) async def test_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware(append_slash=False)] > client = await cli(extra_middlewares) test_web_middleware.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_merge_slash[pyloop-//resource1//a//b?p=1-200] _ self = path = '//resource1//a//b?p=1', status = 200 cli = .wrapper at 0x7ffff2088b80> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("//resource1//a//b", 200), ("//resource1//a//b/", 404), ("///resource1//a//b", 200), ("/////resource1/a///b", 200), ("/////resource1/a//b/", 404), ("/resource1/a/b?p=1", 200), ("//resource1//a//b?p=1", 200), ("//resource1//a//b/?p=1", 404), ("///resource1//a//b?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a//b/?p=1", 404), ], ) async def test_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware(append_slash=False)] > client = await cli(extra_middlewares) test_web_middleware.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_merge_slash[pyloop-//resource1//a//b/?p=1-404] _ self = path = '//resource1//a//b/?p=1', status = 404 cli = .wrapper at 0x7ffff24be670> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("//resource1//a//b", 200), ("//resource1//a//b/", 404), ("///resource1//a//b", 200), ("/////resource1/a///b", 200), ("/////resource1/a//b/", 404), ("/resource1/a/b?p=1", 200), ("//resource1//a//b?p=1", 200), ("//resource1//a//b/?p=1", 404), ("///resource1//a//b?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a//b/?p=1", 404), ], ) async def test_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware(append_slash=False)] > client = await cli(extra_middlewares) test_web_middleware.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_merge_slash[pyloop-///resource1//a//b?p=1-200] _ self = path = '///resource1//a//b?p=1', status = 200 cli = .wrapper at 0x7ffff242d1f0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("//resource1//a//b", 200), ("//resource1//a//b/", 404), ("///resource1//a//b", 200), ("/////resource1/a///b", 200), ("/////resource1/a//b/", 404), ("/resource1/a/b?p=1", 200), ("//resource1//a//b?p=1", 200), ("//resource1//a//b/?p=1", 404), ("///resource1//a//b?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a//b/?p=1", 404), ], ) async def test_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware(append_slash=False)] > client = await cli(extra_middlewares) test_web_middleware.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_merge_slash[pyloop-/////resource1/a///b?p=1-200] _ self = path = '/////resource1/a///b?p=1', status = 200 cli = .wrapper at 0x7ffff239b790> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("//resource1//a//b", 200), ("//resource1//a//b/", 404), ("///resource1//a//b", 200), ("/////resource1/a///b", 200), ("/////resource1/a//b/", 404), ("/resource1/a/b?p=1", 200), ("//resource1//a//b?p=1", 200), ("//resource1//a//b/?p=1", 404), ("///resource1//a//b?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a//b/?p=1", 404), ], ) async def test_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware(append_slash=False)] > client = await cli(extra_middlewares) test_web_middleware.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_merge_slash[pyloop-/////resource1/a//b/?p=1-404] _ self = path = '/////resource1/a//b/?p=1', status = 404 cli = .wrapper at 0x7ffff239ba60> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("//resource1//a//b", 200), ("//resource1//a//b/", 404), ("///resource1//a//b", 200), ("/////resource1/a///b", 200), ("/////resource1/a//b/", 404), ("/resource1/a/b?p=1", 200), ("//resource1//a//b?p=1", 200), ("//resource1//a//b/?p=1", 404), ("///resource1//a//b?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a//b/?p=1", 404), ], ) async def test_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware(append_slash=False)] > client = await cli(extra_middlewares) test_web_middleware.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-/resource1/a/b-200] _ self = path = '/resource1/a/b', status = 200 cli = .wrapper at 0x7ffff239b790> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-/resource1/a/b/-404] _ self = path = '/resource1/a/b/', status = 404 cli = .wrapper at 0x7ffff239be50> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-//resource2//a//b-2000] _ self = path = '//resource2//a//b', status = 200 cli = .wrapper at 0x7ffff22068b0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-//resource2//a//b/-2000] _ self = path = '//resource2//a//b/', status = 200 cli = .wrapper at 0x7ffff242d1f0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-///resource1//a//b-200] _ self = path = '///resource1//a//b', status = 200 cli = .wrapper at 0x7ffff22064c0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-///resource1//a//b/-404] _ self = path = '///resource1//a//b/', status = 404 cli = .wrapper at 0x7ffff2206550> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-/////resource1/a///b-200] _ self = path = '/////resource1/a///b', status = 200 cli = .wrapper at 0x7ffff2206430> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-/////resource1/a///b/-404] _ self = path = '/////resource1/a///b/', status = 404 cli = .wrapper at 0x7ffff2206d30> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-/resource2/a/b-200] _ self = path = '/resource2/a/b', status = 200 cli = .wrapper at 0x7ffff2206b80> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-//resource2//a//b-2001] _ self = path = '//resource2//a//b', status = 200 cli = .wrapper at 0x7ffff22069d0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-//resource2//a//b/-2001] _ self = path = '//resource2//a//b/', status = 200 cli = .wrapper at 0x7ffff2206b80> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-///resource2//a//b-200] _ self = path = '///resource2//a//b', status = 200 cli = .wrapper at 0x7ffff22069d0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-///resource2//a//b/-200] _ self = path = '///resource2//a//b/', status = 200 cli = .wrapper at 0x7ffff2206d30> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-/////resource2/a///b-200] _ self = path = '/////resource2/a///b', status = 200 cli = .wrapper at 0x7ffff22064c0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-/////resource2/a///b/-200] _ self = path = '/////resource2/a///b/', status = 200 cli = .wrapper at 0x7ffff2501430> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-/resource1/a/b?p=1-200] _ self = path = '/resource1/a/b?p=1', status = 200 cli = .wrapper at 0x7ffff2501550> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-/resource1/a/b/?p=1-404] _ self = path = '/resource1/a/b/?p=1', status = 404 cli = .wrapper at 0x7ffff25011f0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-//resource2//a//b?p=1-2000] _ self = path = '//resource2//a//b?p=1', status = 200 cli = .wrapper at 0x7ffff2501dc0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-//resource2//a//b/?p=1-2000] _ self = path = '//resource2//a//b/?p=1', status = 200 cli = .wrapper at 0x7ffff2501160> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-///resource1//a//b?p=1-200] _ self = path = '///resource1//a//b?p=1', status = 200 cli = .wrapper at 0x7ffff2501940> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-///resource1//a//b/?p=1-404] _ self = path = '///resource1//a//b/?p=1', status = 404 cli = .wrapper at 0x7ffff2501160> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-/////resource1/a///b?p=1-200] _ self = path = '/////resource1/a///b?p=1', status = 200 cli = .wrapper at 0x7ffff2501940> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-/////resource1/a///b/?p=1-404] _ self = path = '/////resource1/a///b/?p=1', status = 404 cli = .wrapper at 0x7ffff2501dc0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-/resource2/a/b?p=1-200] _ self = path = '/resource2/a/b?p=1', status = 200 cli = .wrapper at 0x7ffff2501430> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-//resource2//a//b?p=1-2001] _ self = path = '//resource2//a//b?p=1', status = 200 cli = .wrapper at 0x7ffff20cbee0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-//resource2//a//b/?p=1-2001] _ self = path = '//resource2//a//b/?p=1', status = 200 cli = .wrapper at 0x7ffff20cb160> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-///resource2//a//b?p=1-200] _ self = path = '///resource2//a//b?p=1', status = 200 cli = .wrapper at 0x7ffff20cbf70> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-///resource2//a//b/?p=1-200] _ self = path = '///resource2//a//b/?p=1', status = 200 cli = .wrapper at 0x7ffff20cb820> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-/////resource2/a///b?p=1-200] _ self = path = '/////resource2/a///b?p=1', status = 200 cli = .wrapper at 0x7ffff20cb700> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_append_and_merge_slash[pyloop-/////resource2/a///b/?p=1-200] _ self = path = '/////resource2/a///b/?p=1', status = 200 cli = .wrapper at 0x7ffff20cb160> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 404), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 404), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 404), ("/resource2/a/b", 200), ("//resource2//a//b", 200), ("//resource2//a//b/", 200), ("///resource2//a//b", 200), ("///resource2//a//b/", 200), ("/////resource2/a///b", 200), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 404), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 404), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 404), ("/resource2/a/b?p=1", 200), ("//resource2//a//b?p=1", 200), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 200), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 200), ("/////resource2/a///b/?p=1", 200), ], ) async def test_append_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [web.normalize_path_middleware()] > client = await cli(extra_middlewares) test_web_middleware.py:301: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-/resource1/a/b-200] _ self = path = '/resource1/a/b', status = 200 cli = .wrapper at 0x7ffff20cb700> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-/resource1/a/b/-200] _ self = path = '/resource1/a/b/', status = 200 cli = .wrapper at 0x7ffff20cbf70> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-//resource2//a//b-4040] _ self = path = '//resource2//a//b', status = 404 cli = .wrapper at 0x7ffff20cb280> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-//resource2//a//b/-2000] _ self = path = '//resource2//a//b/', status = 200 cli = .wrapper at 0x7ffff224ee50> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-///resource1//a//b-200] _ self = path = '///resource1//a//b', status = 200 cli = .wrapper at 0x7ffff224eaf0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-///resource1//a//b/-200] _ self = path = '///resource1//a//b/', status = 200 cli = .wrapper at 0x7ffff224eb80> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-/////resource1/a///b-200] _ self = path = '/////resource1/a///b', status = 200 cli = .wrapper at 0x7ffff224eee0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-/////resource1/a///b/-200] _ self = path = '/////resource1/a///b/', status = 200 cli = .wrapper at 0x7ffff224eb80> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-/////resource1/a///b///-200] _ self = path = '/////resource1/a///b///', status = 200 cli = .wrapper at 0x7ffff224eaf0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-/resource2/a/b-404] _ self = path = '/resource2/a/b', status = 404 cli = .wrapper at 0x7ffff23b6160> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-//resource2//a//b-4041] _ self = path = '//resource2//a//b', status = 404 cli = .wrapper at 0x7ffff23b61f0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-//resource2//a//b/-2001] _ self = path = '//resource2//a//b/', status = 200 cli = .wrapper at 0x7ffff23b6790> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-///resource2//a//b-404] _ self = path = '///resource2//a//b', status = 404 cli = .wrapper at 0x7ffff23b6f70> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-///resource2//a//b/-200] _ self = path = '///resource2//a//b/', status = 200 cli = .wrapper at 0x7ffff23b6160> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-/////resource2/a///b-404] _ self = path = '/////resource2/a///b', status = 404 cli = .wrapper at 0x7ffff23b6f70> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-/////resource2/a///b/-200] _ self = path = '/////resource2/a///b/', status = 200 cli = .wrapper at 0x7ffff23b6790> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-/resource1/a/b?p=1-200] _ self = path = '/resource1/a/b?p=1', status = 200 cli = .wrapper at 0x7ffff2577160> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-/resource1/a/b/?p=1-200] _ self = path = '/resource1/a/b/?p=1', status = 200 cli = .wrapper at 0x7ffff25771f0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-//resource2//a//b?p=1-4040] _ self = path = '//resource2//a//b?p=1', status = 404 cli = .wrapper at 0x7ffff2577790> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-//resource2//a//b/?p=1-2000] _ self = path = '//resource2//a//b/?p=1', status = 200 cli = .wrapper at 0x7ffff2577f70> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-///resource1//a//b?p=1-200] _ self = path = '///resource1//a//b?p=1', status = 200 cli = .wrapper at 0x7ffff2577160> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-///resource1//a//b/?p=1-200] _ self = path = '///resource1//a//b/?p=1', status = 200 cli = .wrapper at 0x7ffff2577f70> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-/////resource1/a///b?p=1-200] _ self = path = '/////resource1/a///b?p=1', status = 200 cli = .wrapper at 0x7ffff2577790> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-/////resource1/a///b/?p=1-200] _ self = path = '/////resource1/a///b/?p=1', status = 200 cli = .wrapper at 0x7ffff259d160> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-/resource2/a/b?p=1-404] _ self = path = '/resource2/a/b?p=1', status = 404 cli = .wrapper at 0x7ffff259d1f0> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-//resource2//a//b?p=1-4041] _ self = path = '//resource2//a//b?p=1', status = 404 cli = .wrapper at 0x7ffff259d790> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-//resource2//a//b/?p=1-2001] _ self = path = '//resource2//a//b/?p=1', status = 200 cli = .wrapper at 0x7ffff259df70> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-///resource2//a//b?p=1-404] _ self = path = '///resource2//a//b?p=1', status = 404 cli = .wrapper at 0x7ffff259d160> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-///resource2//a//b/?p=1-200] _ self = path = '///resource2//a//b/?p=1', status = 200 cli = .wrapper at 0x7ffff259df70> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-/////resource2/a///b?p=1-404] _ self = path = '/////resource2/a///b?p=1', status = 404 cli = .wrapper at 0x7ffff259d790> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ TestNormalizePathMiddleware.test_remove_and_merge_slash[pyloop-/////resource2/a///b/?p=1-200] _ self = path = '/////resource2/a///b/?p=1', status = 200 cli = .wrapper at 0x7ffff25a2160> @pytest.mark.parametrize( "path, status", [ ("/resource1/a/b", 200), ("/resource1/a/b/", 200), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource1//a//b", 200), ("///resource1//a//b/", 200), ("/////resource1/a///b", 200), ("/////resource1/a///b/", 200), ("/////resource1/a///b///", 200), ("/resource2/a/b", 404), ("//resource2//a//b", 404), ("//resource2//a//b/", 200), ("///resource2//a//b", 404), ("///resource2//a//b/", 200), ("/////resource2/a///b", 404), ("/////resource2/a///b/", 200), ("/resource1/a/b?p=1", 200), ("/resource1/a/b/?p=1", 200), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource1//a//b?p=1", 200), ("///resource1//a//b/?p=1", 200), ("/////resource1/a///b?p=1", 200), ("/////resource1/a///b/?p=1", 200), ("/resource2/a/b?p=1", 404), ("//resource2//a//b?p=1", 404), ("//resource2//a//b/?p=1", 200), ("///resource2//a//b?p=1", 404), ("///resource2//a//b/?p=1", 200), ("/////resource2/a///b?p=1", 404), ("/////resource2/a///b/?p=1", 200), ], ) async def test_remove_and_merge_slash(self, path, status, cli) -> None: extra_middlewares = [ web.normalize_path_middleware(append_slash=False, remove_slash=True) ] > client = await cli(extra_middlewares) test_web_middleware.py:347: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______ TestNormalizePathMiddleware.test_open_redirects[pyloop-True-False] ______ self = append_slash = True, remove_slash = False aiohttp_client = .go at 0x7ffff23b6790> @pytest.mark.parametrize( ["append_slash", "remove_slash"], [ (True, False), (False, True), (False, False), ], ) async def test_open_redirects( self, append_slash: bool, remove_slash: bool, aiohttp_client: Any ) -> None: async def handle(request: web.Request) -> web.StreamResponse: pytest.fail( msg="Security advisory 'GHSA-v6wp-4m6f-gcjg' test handler " "matched unexpectedly", pytrace=False, ) app = web.Application( middlewares=[ web.normalize_path_middleware( append_slash=append_slash, remove_slash=remove_slash ) ] ) app.add_routes([web.get("/", handle), web.get("/google.com", handle)]) > client = await aiohttp_client(app, server_kwargs={"skip_url_asserts": True}) test_web_middleware.py:382: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ______ TestNormalizePathMiddleware.test_open_redirects[pyloop-False-True] ______ self = append_slash = False, remove_slash = True aiohttp_client = .go at 0x7ffff25a29d0> @pytest.mark.parametrize( ["append_slash", "remove_slash"], [ (True, False), (False, True), (False, False), ], ) async def test_open_redirects( self, append_slash: bool, remove_slash: bool, aiohttp_client: Any ) -> None: async def handle(request: web.Request) -> web.StreamResponse: pytest.fail( msg="Security advisory 'GHSA-v6wp-4m6f-gcjg' test handler " "matched unexpectedly", pytrace=False, ) app = web.Application( middlewares=[ web.normalize_path_middleware( append_slash=append_slash, remove_slash=remove_slash ) ] ) app.add_routes([web.get("/", handle), web.get("/google.com", handle)]) > client = await aiohttp_client(app, server_kwargs={"skip_url_asserts": True}) test_web_middleware.py:382: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____ TestNormalizePathMiddleware.test_open_redirects[pyloop-False-False] ______ self = append_slash = False, remove_slash = False aiohttp_client = .go at 0x7ffff259d9d0> @pytest.mark.parametrize( ["append_slash", "remove_slash"], [ (True, False), (False, True), (False, False), ], ) async def test_open_redirects( self, append_slash: bool, remove_slash: bool, aiohttp_client: Any ) -> None: async def handle(request: web.Request) -> web.StreamResponse: pytest.fail( msg="Security advisory 'GHSA-v6wp-4m6f-gcjg' test handler " "matched unexpectedly", pytrace=False, ) app = web.Application( middlewares=[ web.normalize_path_middleware( append_slash=append_slash, remove_slash=remove_slash ) ] ) app.add_routes([web.get("/", handle), web.get("/google.com", handle)]) > client = await aiohttp_client(app, server_kwargs={"skip_url_asserts": True}) test_web_middleware.py:382: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________ test_old_style_middleware[pyloop] _______________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff2577f70> async def test_old_style_middleware(loop, aiohttp_client) -> None: async def handler(request): return web.Response(body=b"OK") async def middleware_factory(app, handler): async def middleware(request): resp = await handler(request) assert 200 == resp.status resp.set_status(201) resp.text = resp.text + "[old style middleware]" return resp return middleware with pytest.warns(DeprecationWarning) as warning_checker: app = web.Application() app.middlewares.append(middleware_factory) app.router.add_route("GET", "/", handler) client = await aiohttp_client(app) resp = await client.get("/") assert 201 == resp.status txt = await resp.text() assert "OK[old style middleware]" == txt > assert len(warning_checker) == 1 E assert 2 == 1 E +2 E -1 test_web_middleware.py:413: AssertionError --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_mixed_middleware[pyloop] _________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff25a2550> async def test_mixed_middleware(loop, aiohttp_client) -> None: async def handler(request): return web.Response(body=b"OK") async def m_old1(app, handler): async def middleware(request): resp = await handler(request) resp.text += "[old style 1]" return resp return middleware @web.middleware async def m_new1(request, handler): resp = await handler(request) resp.text += "[new style 1]" return resp async def m_old2(app, handler): async def middleware(request): resp = await handler(request) resp.text += "[old style 2]" return resp return middleware @web.middleware async def m_new2(request, handler): resp = await handler(request) resp.text += "[new style 2]" return resp middlewares = m_old1, m_new1, m_old2, m_new2 with pytest.warns(DeprecationWarning) as w: app = web.Application(middlewares=middlewares) app.router.add_route("GET", "/", handler) client = await aiohttp_client(app) resp = await client.get("/") assert 200 == resp.status txt = await resp.text() assert "OK[new style 2][old style 2][new style 1][old style 1]" == txt > assert len(w) == 2 E assert 3 == 2 E +3 E -2 test_web_middleware.py:467: AssertionError ___________________ test_old_style_middleware_class[pyloop] ____________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff25a2160> async def test_old_style_middleware_class(loop, aiohttp_client) -> None: async def handler(request): return web.Response(body=b"OK") class Middleware: async def __call__(self, app, handler): async def middleware(request): resp = await handler(request) assert 200 == resp.status resp.set_status(201) resp.text = resp.text + "[old style middleware]" return resp return middleware with pytest.warns(DeprecationWarning) as warning_checker: app = web.Application() app.middlewares.append(Middleware()) app.router.add_route("GET", "/", handler) client = await aiohttp_client(app) resp = await client.get("/") assert 201 == resp.status txt = await resp.text() assert "OK[old style middleware]" == txt > assert len(warning_checker) == 1 E assert 2 == 1 E +2 E -1 test_web_middleware.py:506: AssertionError ___________________ test_new_style_middleware_class[pyloop] ____________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff25a2550> async def test_new_style_middleware_class(loop, aiohttp_client) -> None: async def handler(request): return web.Response(body=b"OK") @web.middleware class Middleware: async def __call__(self, request, handler): resp = await handler(request) assert 200 == resp.status resp.set_status(201) resp.text = resp.text + "[new style middleware]" return resp with pytest.warns(None) as warning_checker: app = web.Application() app.middlewares.append(Middleware()) app.router.add_route("GET", "/", handler) client = await aiohttp_client(app) resp = await client.get("/") assert 201 == resp.status txt = await resp.text() assert "OK[new style middleware]" == txt > assert len(warning_checker) == 0 E assert 1 == 0 E +1 E -0 test_web_middleware.py:540: AssertionError ___________________ test_new_style_middleware_method[pyloop] ___________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff25a2c10> async def test_new_style_middleware_method(loop, aiohttp_client) -> None: async def handler(request): return web.Response(body=b"OK") class Middleware: @web.middleware async def call(self, request, handler): resp = await handler(request) assert 200 == resp.status resp.set_status(201) resp.text = resp.text + "[new style middleware]" return resp with pytest.warns(None) as warning_checker: app = web.Application() app.middlewares.append(Middleware().call) app.router.add_route("GET", "/", handler) client = await aiohttp_client(app) resp = await client.get("/") assert 201 == resp.status txt = await resp.text() assert "OK[new style middleware]" == txt > assert len(warning_checker) == 0 E assert 1 == 0 E +1 E -0 test_web_middleware.py:566: AssertionError ________________________ test_client_disconnect[pyloop] ________________________ aiohttp_server = .go at 0x7ffff259d550> async def test_client_disconnect(aiohttp_server) -> None: async def handler(request): buf = b"" with pytest.raises(ConnectionError): while len(buf) < 10: buf += await request.content.read(10) # return with closed transport means premature client disconnection return web.Response() logger = mock.Mock() app = web.Application() app._debug = True app.router.add_route("POST", "/", handler) > server = await aiohttp_server(app, logger=logger) test_web_protocol.py:738: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ________________________ test_site_double_added[pyloop] ________________________ make_runner = .go at 0x7ffff23403a0> async def test_site_double_added(make_runner) -> None: _sock = get_unused_port_socket("127.0.0.1") runner = make_runner() await runner.setup() site = web.SockSite(runner, _sock) > await site.start() test_web_runner.py:66: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ____________________________ test_addresses[pyloop] ____________________________ make_runner = .go at 0x7ffff259d1f0> shorttmpdir = PosixPath('/build/tmpvttnr8u5') @pytest.mark.skipif( platform.system() == "Windows", reason="Unix socket support is required" ) async def test_addresses(make_runner, shorttmpdir) -> None: _sock = get_unused_port_socket("127.0.0.1") runner = make_runner() await runner.setup() tcp = web.SockSite(runner, _sock) > await tcp.start() test_web_runner.py:115: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning _____________________ test_static_file_ok[sendfile-pyloop] _____________________ aiohttp_client = .go at 0x7ffff259d550> sender = .maker at 0x7ffff23403a0> async def test_static_file_ok(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "data.unknown_mime_type" async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning ___________________ test_static_file_ok[no_sendfile-pyloop] ____________________ aiohttp_client = .go at 0x7ffff225adc0> sender = .maker at 0x7ffff225af70> async def test_static_file_ok(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "data.unknown_mime_type" async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________ test_zero_bytes_file_ok[sendfile-pyloop] ___________________ aiohttp_client = .go at 0x7ffff259d160> sender = .maker at 0x7ffff20cb700> async def test_zero_bytes_file_ok(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "data.zero_bytes" async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________ test_zero_bytes_file_ok[no_sendfile-pyloop] __________________ aiohttp_client = .go at 0x7ffff225a550> sender = .maker at 0x7ffff225aa60> async def test_zero_bytes_file_ok(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "data.zero_bytes" async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________ test_static_file_ok_string_path[sendfile-pyloop] _______________ aiohttp_client = .go at 0x7ffff23408b0> sender = .maker at 0x7ffff225a5e0> async def test_static_file_ok_string_path(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "data.unknown_mime_type" async def handler(request): return sender(str(filepath)) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:84: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________ test_static_file_ok_string_path[no_sendfile-pyloop] ______________ aiohttp_client = .go at 0x7ffff225a430> sender = .maker at 0x7ffff225aa60> async def test_static_file_ok_string_path(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "data.unknown_mime_type" async def handler(request): return sender(str(filepath)) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:84: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_static_file_not_exists[pyloop] ______________________ aiohttp_client = .go at 0x7ffff259d550> async def test_static_file_not_exists(aiohttp_client) -> None: app = web.Application() > client = await aiohttp_client(app) test_web_sendfile_functional.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_static_file_name_too_long[pyloop] ____________________ aiohttp_client = .go at 0x7ffff259d9d0> async def test_static_file_name_too_long(aiohttp_client) -> None: app = web.Application() > client = await aiohttp_client(app) test_web_sendfile_functional.py:108: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________ test_static_file_upper_directory[pyloop] ___________________ aiohttp_client = .go at 0x7ffff23403a0> async def test_static_file_upper_directory(aiohttp_client) -> None: app = web.Application() > client = await aiohttp_client(app) test_web_sendfile_functional.py:118: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________ test_static_file_with_content_type[sendfile-pyloop] ______________ aiohttp_client = .go at 0x7ffff225aca0> sender = .maker at 0x7ffff225ab80> async def test_static_file_with_content_type(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "aiohttp.jpg" async def handler(request): return sender(filepath, chunk_size=16) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:133: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________ test_static_file_with_content_type[no_sendfile-pyloop] ____________ aiohttp_client = .go at 0x7ffff259d160> sender = .maker at 0x7ffff225aa60> async def test_static_file_with_content_type(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "aiohttp.jpg" async def handler(request): return sender(filepath, chunk_size=16) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:133: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________ test_static_file_custom_content_type[sendfile-pyloop] _____________ aiohttp_client = .go at 0x7ffff225ab80> sender = .maker at 0x7ffff225a310> async def test_static_file_custom_content_type(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "hello.txt.gz" async def handler(request): resp = sender(filepath, chunk_size=16) resp.content_type = "application/pdf" return resp app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________ test_static_file_custom_content_type[no_sendfile-pyloop] ___________ aiohttp_client = .go at 0x7ffff23403a0> sender = .maker at 0x7ffff225aa60> async def test_static_file_custom_content_type(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "hello.txt.gz" async def handler(request): resp = sender(filepath, chunk_size=16) resp.content_type = "application/pdf" return resp app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________ test_static_file_custom_content_type_compress[sendfile-pyloop] ________ aiohttp_client = .go at 0x7ffff225af70> sender = .maker at 0x7ffff225ab80> async def test_static_file_custom_content_type_compress(aiohttp_client, sender): filepath = pathlib.Path(__file__).parent / "hello.txt" async def handler(request): resp = sender(filepath, chunk_size=16) resp.content_type = "application/pdf" return resp app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:179: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______ test_static_file_custom_content_type_compress[no_sendfile-pyloop] _______ aiohttp_client = .go at 0x7ffff20cb700> sender = .maker at 0x7ffff225aa60> async def test_static_file_custom_content_type_compress(aiohttp_client, sender): filepath = pathlib.Path(__file__).parent / "hello.txt" async def handler(request): resp = sender(filepath, chunk_size=16) resp.content_type = "application/pdf" return resp app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:179: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________ test_static_file_with_content_encoding[sendfile-pyloop] ____________ aiohttp_client = .go at 0x7ffff225af70> sender = .maker at 0x7ffff225a820> async def test_static_file_with_content_encoding(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "hello.txt.gz" async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:198: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________ test_static_file_with_content_encoding[no_sendfile-pyloop] __________ aiohttp_client = .go at 0x7ffff259d9d0> sender = .maker at 0x7ffff23403a0> async def test_static_file_with_content_encoding(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "hello.txt.gz" async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:198: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________ test_static_file_if_modified_since[sendfile-pyloop] ______________ aiohttp_client = .go at 0x7ffff225ab80> sender = .maker at 0x7ffff225aa60> async def test_static_file_if_modified_since(aiohttp_client, sender) -> None: filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:220: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________ test_static_file_if_modified_since[no_sendfile-pyloop] ____________ aiohttp_client = .go at 0x7ffff225aca0> sender = .maker at 0x7ffff2340b80> async def test_static_file_if_modified_since(aiohttp_client, sender) -> None: filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:220: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________ test_static_file_if_modified_since_past_date[sendfile-pyloop] _________ aiohttp_client = .go at 0x7ffff20df940> sender = .maker at 0x7ffff259d9d0> async def test_static_file_if_modified_since_past_date(aiohttp_client, sender) -> None: filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:245: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______ test_static_file_if_modified_since_past_date[no_sendfile-pyloop] _______ aiohttp_client = .go at 0x7ffff225aca0> sender = .maker at 0x7ffff225ab80> async def test_static_file_if_modified_since_past_date(aiohttp_client, sender) -> None: filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:245: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______ test_static_file_if_modified_since_invalid_date[sendfile-pyloop] _______ aiohttp_client = .go at 0x7ffff225af70> sender = .maker at 0x7ffff2340b80> async def test_static_file_if_modified_since_invalid_date(aiohttp_client, sender): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:263: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____ test_static_file_if_modified_since_invalid_date[no_sendfile-pyloop] ______ aiohttp_client = .go at 0x7ffff225aca0> sender = .maker at 0x7ffff225a820> async def test_static_file_if_modified_since_invalid_date(aiohttp_client, sender): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:263: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______ test_static_file_if_modified_since_future_date[sendfile-pyloop] ________ aiohttp_client = .go at 0x7ffff223c670> sender = .maker at 0x7ffff2005f70> async def test_static_file_if_modified_since_future_date(aiohttp_client, sender): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:281: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______ test_static_file_if_modified_since_future_date[no_sendfile-pyloop] ______ aiohttp_client = .go at 0x7ffff225a820> sender = .maker at 0x7ffff225a430> async def test_static_file_if_modified_since_future_date(aiohttp_client, sender): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:281: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_static_file_ssl[pyloop] _________________________ aiohttp_server = .go at 0x7ffff223cd30> ssl_ctx = aiohttp_client = .go at 0x7ffff20df160> client_ssl_ctx = @pytest.mark.skipif(not ssl, reason="ssl not supported") async def test_static_file_ssl( aiohttp_server, ssl_ctx, aiohttp_client, client_ssl_ctx, ) -> None: dirname = os.path.dirname(__file__) filename = "data.unknown_mime_type" app = web.Application() app.router.add_static("/static", dirname) > server = await aiohttp_server(app, ssl=ssl_ctx) test_web_sendfile_functional.py:304: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________ test_static_file_directory_traversal_attack[pyloop] ______________ aiohttp_client = .go at 0x7ffff225ab80> async def test_static_file_directory_traversal_attack(aiohttp_client) -> None: dirname = os.path.dirname(__file__) relpath = "../README.rst" assert os.path.isfile(os.path.join(dirname, relpath)) app = web.Application() app.router.add_static("/static", dirname) > client = await aiohttp_client(app) test_web_sendfile_functional.py:324: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ________________________ test_static_file_huge[pyloop] _________________________ aiohttp_client = .go at 0x7ffff259d550> tmpdir = local('/build/pytest-of-nixbld/pytest-0/test_static_file_huge_pyloop_0') async def test_static_file_huge(aiohttp_client, tmpdir) -> None: filename = "huge_data.unknown_mime_type" # fill 20MB file with tmpdir.join(filename).open("wb") as f: for i in range(1024 * 20): f.write((chr(i % 64 + 0x20) * 1024).encode()) file_st = os.stat(str(tmpdir.join(filename))) app = web.Application() app.router.add_static("/static", str(tmpdir)) > client = await aiohttp_client(app) test_web_sendfile_functional.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________ test_static_file_range[sendfile-pyloop] ____________________ aiohttp_client = .go at 0x7ffff223c670> sender = .maker at 0x7ffff259d160> async def test_static_file_range(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent.parent / "LICENSE.txt" filesize = filepath.stat().st_size async def handler(request): return sender(filepath, chunk_size=16) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:390: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_static_file_range[no_sendfile-pyloop] __________________ aiohttp_client = .go at 0x7ffff259d1f0> sender = .maker at 0x7ffff225a430> async def test_static_file_range(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent.parent / "LICENSE.txt" filesize = filepath.stat().st_size async def handler(request): return sender(filepath, chunk_size=16) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:390: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________ test_static_file_range_end_bigger_than_size[sendfile-pyloop] _________ aiohttp_client = .go at 0x7ffff22c1dc0> sender = .maker at 0x7ffff225a820> async def test_static_file_range_end_bigger_than_size(aiohttp_client, sender): filepath = pathlib.Path(__file__).parent / "aiohttp.png" async def handler(request): return sender(filepath, chunk_size=16) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:442: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______ test_static_file_range_end_bigger_than_size[no_sendfile-pyloop] ________ aiohttp_client = .go at 0x7ffff23408b0> sender = .maker at 0x7ffff223c670> async def test_static_file_range_end_bigger_than_size(aiohttp_client, sender): filepath = pathlib.Path(__file__).parent / "aiohttp.png" async def handler(request): return sender(filepath, chunk_size=16) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:442: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________ test_static_file_range_beyond_eof[sendfile-pyloop] ______________ aiohttp_client = .go at 0x7ffff225ab80> sender = .maker at 0x7ffff225a820> async def test_static_file_range_beyond_eof(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "aiohttp.png" async def handler(request): return sender(filepath, chunk_size=16) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:473: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________ test_static_file_range_beyond_eof[no_sendfile-pyloop] _____________ aiohttp_client = .go at 0x7ffff20cb700> sender = .maker at 0x7ffff22c1dc0> async def test_static_file_range_beyond_eof(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "aiohttp.png" async def handler(request): return sender(filepath, chunk_size=16) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:473: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________ test_static_file_range_tail[sendfile-pyloop] _________________ aiohttp_client = .go at 0x7ffff225af70> sender = .maker at 0x7ffff259d1f0> async def test_static_file_range_tail(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "aiohttp.png" async def handler(request): return sender(filepath, chunk_size=16) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:491: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________ test_static_file_range_tail[no_sendfile-pyloop] ________________ aiohttp_client = .go at 0x7ffff22c1430> sender = .maker at 0x7ffff259d9d0> async def test_static_file_range_tail(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "aiohttp.png" async def handler(request): return sender(filepath, chunk_size=16) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:491: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________ test_static_file_invalid_range[sendfile-pyloop] ________________ aiohttp_client = .go at 0x7ffff225aa60> sender = .maker at 0x7ffff225af70> async def test_static_file_invalid_range(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "aiohttp.png" async def handler(request): return sender(filepath, chunk_size=16) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________ test_static_file_invalid_range[no_sendfile-pyloop] ______________ aiohttp_client = .go at 0x7ffff2340b80> sender = .maker at 0x7ffff20df160> async def test_static_file_invalid_range(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "aiohttp.png" async def handler(request): return sender(filepath, chunk_size=16) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:522: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____ test_static_file_if_unmodified_since_past_with_range[sendfile-pyloop] _____ aiohttp_client = .go at 0x7ffff259d1f0> sender = .maker at 0x7ffff22c1a60> async def test_static_file_if_unmodified_since_past_with_range(aiohttp_client, sender): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:564: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___ test_static_file_if_unmodified_since_past_with_range[no_sendfile-pyloop] ___ aiohttp_client = .go at 0x7ffff22c1dc0> sender = .maker at 0x7ffff2005f70> async def test_static_file_if_unmodified_since_past_with_range(aiohttp_client, sender): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:564: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___ test_static_file_if_unmodified_since_future_with_range[sendfile-pyloop] ____ aiohttp_client = .go at 0x7ffff259d550> sender = .maker at 0x7ffff2340b80> async def test_static_file_if_unmodified_since_future_with_range( aiohttp_client, sender ): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:586: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __ test_static_file_if_unmodified_since_future_with_range[no_sendfile-pyloop] __ aiohttp_client = .go at 0x7ffff22c1dc0> sender = .maker at 0x7ffff22c1a60> async def test_static_file_if_unmodified_since_future_with_range( aiohttp_client, sender ): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:586: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________ test_static_file_if_range_past_with_range[sendfile-pyloop] __________ aiohttp_client = .go at 0x7ffff259d9d0> sender = .maker at 0x7ffff225a430> async def test_static_file_if_range_past_with_range(aiohttp_client, sender): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:608: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________ test_static_file_if_range_past_with_range[no_sendfile-pyloop] _________ aiohttp_client = .go at 0x7ffff23408b0> sender = .maker at 0x7ffff223c670> async def test_static_file_if_range_past_with_range(aiohttp_client, sender): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:608: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________ test_static_file_if_range_future_with_range[sendfile-pyloop] _________ aiohttp_client = .go at 0x7ffff22c1dc0> sender = .maker at 0x7ffff225a820> async def test_static_file_if_range_future_with_range(aiohttp_client, sender): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:627: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______ test_static_file_if_range_future_with_range[no_sendfile-pyloop] ________ aiohttp_client = .go at 0x7ffff20df160> sender = .maker at 0x7ffff259d160> async def test_static_file_if_range_future_with_range(aiohttp_client, sender): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:627: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___ test_static_file_if_unmodified_since_past_without_range[sendfile-pyloop] ___ aiohttp_client = .go at 0x7ffff22c1dc0> sender = .maker at 0x7ffff22c1430> async def test_static_file_if_unmodified_since_past_without_range( aiohttp_client, sender ): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:649: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ test_static_file_if_unmodified_since_past_without_range[no_sendfile-pyloop] __ aiohttp_client = .go at 0x7ffff20df160> sender = .maker at 0x7ffff23408b0> async def test_static_file_if_unmodified_since_past_without_range( aiohttp_client, sender ): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:649: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __ test_static_file_if_unmodified_since_future_without_range[sendfile-pyloop] __ aiohttp_client = .go at 0x7ffff225a430> sender = .maker at 0x7ffff225aa60> async def test_static_file_if_unmodified_since_future_without_range( aiohttp_client, sender ): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:669: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ test_static_file_if_unmodified_since_future_without_range[no_sendfile-pyloop] _ aiohttp_client = .go at 0x7ffff20df940> sender = .maker at 0x7ffff259d9d0> async def test_static_file_if_unmodified_since_future_without_range( aiohttp_client, sender ): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:669: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________ test_static_file_if_range_past_without_range[sendfile-pyloop] _________ aiohttp_client = .go at 0x7ffff22c1a60> sender = .maker at 0x7ffff2340b80> async def test_static_file_if_range_past_without_range(aiohttp_client, sender): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:688: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______ test_static_file_if_range_past_without_range[no_sendfile-pyloop] _______ aiohttp_client = .go at 0x7ffff2005f70> sender = .maker at 0x7ffff225af70> async def test_static_file_if_range_past_without_range(aiohttp_client, sender): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:688: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______ test_static_file_if_range_future_without_range[sendfile-pyloop] ________ aiohttp_client = .go at 0x7ffff2278a60> sender = .maker at 0x7ffff225aa60> async def test_static_file_if_range_future_without_range(aiohttp_client, sender): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:707: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______ test_static_file_if_range_future_without_range[no_sendfile-pyloop] ______ aiohttp_client = .go at 0x7ffff22c1dc0> sender = .maker at 0x7ffff225a820> async def test_static_file_if_range_future_without_range(aiohttp_client, sender): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:707: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______ test_static_file_if_unmodified_since_invalid_date[sendfile-pyloop] ______ aiohttp_client = .go at 0x7ffff223c670> sender = .maker at 0x7ffff22c1430> async def test_static_file_if_unmodified_since_invalid_date(aiohttp_client, sender): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:726: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____ test_static_file_if_unmodified_since_invalid_date[no_sendfile-pyloop] _____ aiohttp_client = .go at 0x7ffff2005f70> sender = .maker at 0x7ffff259d1f0> async def test_static_file_if_unmodified_since_invalid_date(aiohttp_client, sender): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:726: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________ test_static_file_if_range_invalid_date[sendfile-pyloop] ____________ aiohttp_client = .go at 0x7ffff2278a60> sender = .maker at 0x7ffff23408b0> async def test_static_file_if_range_invalid_date(aiohttp_client, sender): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:744: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________ test_static_file_if_range_invalid_date[no_sendfile-pyloop] __________ aiohttp_client = .go at 0x7ffff22c05e0> sender = .maker at 0x7ffff225af70> async def test_static_file_if_range_invalid_date(aiohttp_client, sender): filename = "data.unknown_mime_type" filepath = pathlib.Path(__file__).parent / filename async def handler(request): return sender(filepath) app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:744: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________ test_static_file_compression[sendfile-pyloop] _________________ aiohttp_client = .go at 0x7ffff20df940> sender = .maker at 0x7ffff223c670> async def test_static_file_compression(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "data.unknown_mime_type" async def handler(request): ret = sender(filepath) ret.enable_compression() return ret app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app, auto_decompress=False) test_web_sendfile_functional.py:763: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________ test_static_file_compression[no_sendfile-pyloop] _______________ aiohttp_client = .go at 0x7ffff22c0040> sender = .maker at 0x7ffff22c1a60> async def test_static_file_compression(aiohttp_client, sender) -> None: filepath = pathlib.Path(__file__).parent / "data.unknown_mime_type" async def handler(request): ret = sender(filepath) ret.enable_compression() return ret app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app, auto_decompress=False) test_web_sendfile_functional.py:763: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_static_file_huge_cancel[pyloop] _____________________ aiohttp_client = .go at 0x7ffff223c670> tmpdir = local('/build/pytest-of-nixbld/pytest-0/test_static_file_huge_cancel_p0') async def test_static_file_huge_cancel(aiohttp_client, tmpdir) -> None: filename = "huge_data.unknown_mime_type" # fill 100MB file with tmpdir.join(filename).open("wb") as f: for i in range(1024 * 20): f.write((chr(i % 64 + 0x20) * 1024).encode()) task = None async def handler(request): nonlocal task task = request.task # reduce send buffer size tr = request.transport sock = tr.get_extra_info("socket") sock.setsockopt(socket.SOL_SOCKET, socket.SO_SNDBUF, 1024) ret = web.FileResponse(pathlib.Path(str(tmpdir.join(filename)))) return ret app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:798: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_static_file_huge_error[pyloop] ______________________ aiohttp_client = .go at 0x7ffff2005f70> tmpdir = local('/build/pytest-of-nixbld/pytest-0/test_static_file_huge_error_py0') async def test_static_file_huge_error(aiohttp_client, tmpdir) -> None: filename = "huge_data.unknown_mime_type" # fill 20MB file with tmpdir.join(filename).open("wb") as f: f.seek(20 * 1024 * 1024) f.write(b"1") async def handler(request): # reduce send buffer size tr = request.transport sock = tr.get_extra_info("socket") sock.setsockopt(socket.SOL_SOCKET, socket.SO_SNDBUF, 1024) ret = web.FileResponse(pathlib.Path(str(tmpdir.join(filename)))) return ret app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_sendfile_functional.py:832: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_simple_server[pyloop] __________________________ aiohttp_raw_server = .go at 0x7ffff223c670> aiohttp_client = .go at 0x7ffff259d1f0> async def test_simple_server(aiohttp_raw_server, aiohttp_client) -> None: async def handler(request): return web.Response(text=str(request.rel_url)) > server = await aiohttp_raw_server(handler) test_web_server.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_raw_server_not_http_exception[pyloop] __________________ aiohttp_raw_server = .go at 0x7ffff22c1a60> aiohttp_client = .go at 0x7ffff23403a0> async def test_raw_server_not_http_exception(aiohttp_raw_server, aiohttp_client): exc = RuntimeError("custom runtime error") async def handler(request): raise exc logger = mock.Mock() > server = await aiohttp_raw_server(handler, logger=logger, debug=False) test_web_server.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ___________________ test_raw_server_handler_timeout[pyloop] ____________________ aiohttp_raw_server = .go at 0x7ffff20cb700> aiohttp_client = .go at 0x7ffff23408b0> async def test_raw_server_handler_timeout(aiohttp_raw_server, aiohttp_client) -> None: exc = asyncio.TimeoutError("error") async def handler(request): raise exc logger = mock.Mock() > server = await aiohttp_raw_server(handler, logger=logger) test_web_server.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ______________ test_raw_server_do_not_swallow_exceptions[pyloop] _______________ aiohttp_raw_server = .go at 0x7ffff22c1430> aiohttp_client = .go at 0x7ffff2005f70> async def test_raw_server_do_not_swallow_exceptions(aiohttp_raw_server, aiohttp_client): async def handler(request): raise asyncio.CancelledError() logger = mock.Mock() > server = await aiohttp_raw_server(handler, logger=logger) test_web_server.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ________________ test_raw_server_cancelled_in_write_eof[pyloop] ________________ aiohttp_raw_server = .go at 0x7ffff259d9d0> aiohttp_client = .go at 0x7ffff2278a60> async def test_raw_server_cancelled_in_write_eof(aiohttp_raw_server, aiohttp_client): async def handler(request): resp = web.Response(text=str(request.rel_url)) resp.write_eof = mock.Mock(side_effect=asyncio.CancelledError("error")) return resp logger = mock.Mock() > server = await aiohttp_raw_server(handler, logger=logger) test_web_server.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _______________ test_raw_server_not_http_exception_debug[pyloop] _______________ aiohttp_raw_server = .go at 0x7ffff225a820> aiohttp_client = .go at 0x7ffff225af70> async def test_raw_server_not_http_exception_debug(aiohttp_raw_server, aiohttp_client): exc = RuntimeError("custom runtime error") async def handler(request): raise exc logger = mock.Mock() > server = await aiohttp_raw_server(handler, logger=logger, debug=True) test_web_server.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ____________________ test_raw_server_html_exception[pyloop] ____________________ aiohttp_raw_server = .go at 0x7ffff259d9d0> aiohttp_client = .go at 0x7ffff259d160> async def test_raw_server_html_exception(aiohttp_raw_server, aiohttp_client): exc = RuntimeError("custom runtime error") async def handler(request): raise exc logger = mock.Mock() > server = await aiohttp_raw_server(handler, logger=logger, debug=False) test_web_server.py:114: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed _________________ test_raw_server_html_exception_debug[pyloop] _________________ aiohttp_raw_server = .go at 0x7ffff22c1dc0> aiohttp_client = .go at 0x7ffff23408b0> async def test_raw_server_html_exception_debug(aiohttp_raw_server, aiohttp_client): exc = RuntimeError("custom runtime error") async def handler(request): raise exc logger = mock.Mock() > server = await aiohttp_raw_server(handler, logger=logger, debug=True) test_web_server.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:308: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed __________ test_access_root_of_static_handler[pyloop-index_forbidden] __________ tmp_dir_path = '/build/tmpl0bgfq_f' aiohttp_client = .go at 0x7ffff22c5dc0> show_index = False, status = 403, prefix = '/', data = None @pytest.mark.parametrize( "show_index,status,prefix,data", [ pytest.param(False, 403, "/", None, id="index_forbidden"), pytest.param( True, 200, "/", b"\n\nIndex of /.\n" b"\n\n

Index of /.

\n\n\n", id="index_root", ), pytest.param( True, 200, "/static", b"\n\nIndex of /.\n" b"\n\n

Index of /.

\n\n\n", id="index_static", ), ], ) async def test_access_root_of_static_handler( tmp_dir_path, aiohttp_client, show_index, status, prefix, data ) -> None: # Tests the operation of static file server. # Try to access the root of static file server, and make # sure that correct HTTP statuses are returned depending if we directory # index should be shown or not. # Put a file inside tmp_dir_path: my_file_path = os.path.join(tmp_dir_path, "my_file") with open(my_file_path, "w") as fw: fw.write("hello") my_dir_path = os.path.join(tmp_dir_path, "my_dir") os.mkdir(my_dir_path) my_file_path = os.path.join(my_dir_path, "my_file_in_dir") with open(my_file_path, "w") as fw: fw.write("world") app = web.Application() # Register global static route: app.router.add_static(prefix, tmp_dir_path, show_index=show_index) > client = await aiohttp_client(app) test_web_urldispatcher.py:85: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ____________ test_access_root_of_static_handler[pyloop-index_root] _____________ tmp_dir_path = '/build/tmp1htzcxos' aiohttp_client = .go at 0x7ffff20cb700> show_index = True, status = 200, prefix = '/' data = b'\n\nIndex of /.\n\n\n

Index of /.

\n\n\n' @pytest.mark.parametrize( "show_index,status,prefix,data", [ pytest.param(False, 403, "/", None, id="index_forbidden"), pytest.param( True, 200, "/", b"\n\nIndex of /.\n" b"\n\n

Index of /.

\n\n\n", id="index_root", ), pytest.param( True, 200, "/static", b"\n\nIndex of /.\n" b"\n\n

Index of /.

\n\n\n", id="index_static", ), ], ) async def test_access_root_of_static_handler( tmp_dir_path, aiohttp_client, show_index, status, prefix, data ) -> None: # Tests the operation of static file server. # Try to access the root of static file server, and make # sure that correct HTTP statuses are returned depending if we directory # index should be shown or not. # Put a file inside tmp_dir_path: my_file_path = os.path.join(tmp_dir_path, "my_file") with open(my_file_path, "w") as fw: fw.write("hello") my_dir_path = os.path.join(tmp_dir_path, "my_dir") os.mkdir(my_dir_path) my_file_path = os.path.join(my_dir_path, "my_file_in_dir") with open(my_file_path, "w") as fw: fw.write("world") app = web.Application() # Register global static route: app.router.add_static(prefix, tmp_dir_path, show_index=show_index) > client = await aiohttp_client(app) test_web_urldispatcher.py:85: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________ test_access_root_of_static_handler[pyloop-index_static] ____________ tmp_dir_path = '/build/tmpzft08n0j' aiohttp_client = .go at 0x7ffff223c670> show_index = True, status = 200, prefix = '/static' data = b'\n\nIndex of /.\n\n\n

Index of /.

\n\n\n' @pytest.mark.parametrize( "show_index,status,prefix,data", [ pytest.param(False, 403, "/", None, id="index_forbidden"), pytest.param( True, 200, "/", b"\n\nIndex of /.\n" b"\n\n

Index of /.

\n\n\n", id="index_root", ), pytest.param( True, 200, "/static", b"\n\nIndex of /.\n" b"\n\n

Index of /.

\n\n\n", id="index_static", ), ], ) async def test_access_root_of_static_handler( tmp_dir_path, aiohttp_client, show_index, status, prefix, data ) -> None: # Tests the operation of static file server. # Try to access the root of static file server, and make # sure that correct HTTP statuses are returned depending if we directory # index should be shown or not. # Put a file inside tmp_dir_path: my_file_path = os.path.join(tmp_dir_path, "my_file") with open(my_file_path, "w") as fw: fw.write("hello") my_dir_path = os.path.join(tmp_dir_path, "my_dir") os.mkdir(my_dir_path) my_file_path = os.path.join(my_dir_path, "my_file_in_dir") with open(my_file_path, "w") as fw: fw.write("world") app = web.Application() # Register global static route: app.router.add_static(prefix, tmp_dir_path, show_index=show_index) > client = await aiohttp_client(app) test_web_urldispatcher.py:85: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_follow_symlink[pyloop] __________________________ tmp_dir_path = '/build/tmpw4sl40vc' aiohttp_client = .go at 0x7ffff22c1430> async def test_follow_symlink(tmp_dir_path, aiohttp_client) -> None: # Tests the access to a symlink, in static folder data = "hello world" my_dir_path = os.path.join(tmp_dir_path, "my_dir") os.mkdir(my_dir_path) my_file_path = os.path.join(my_dir_path, "my_file_in_dir") with open(my_file_path, "w") as fw: fw.write(data) my_symlink_path = os.path.join(tmp_dir_path, "my_symlink") os.symlink(my_dir_path, my_symlink_path) app = web.Application() # Register global static route: app.router.add_static("/", tmp_dir_path, follow_symlinks=True) > client = await aiohttp_client(app) test_web_urldispatcher.py:115: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____ test_access_to_the_file_with_spaces[pyloop--test file.txt-test text] _____ tmp_dir_path = '/build/tmp7ebn3m60' aiohttp_client = .go at 0x7ffff225a820> dir_name = '', filename = 'test file.txt', data = 'test text' @pytest.mark.parametrize( "dir_name,filename,data", [ ("", "test file.txt", "test text"), ("test dir name", "test dir file .txt", "test text file folder"), ], ) async def test_access_to_the_file_with_spaces( tmp_dir_path, aiohttp_client, dir_name, filename, data ): # Checks operation of static files with spaces my_dir_path = os.path.join(tmp_dir_path, dir_name) if dir_name: os.mkdir(my_dir_path) my_file_path = os.path.join(my_dir_path, filename) with open(my_file_path, "w") as fw: fw.write(data) app = web.Application() url = os.path.join("/", dir_name, filename) app.router.add_static("/", tmp_dir_path) > client = await aiohttp_client(app) test_web_urldispatcher.py:150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _ test_access_to_the_file_with_spaces[pyloop-test dir name-test dir file .txt-test text file folder] _ tmp_dir_path = '/build/tmplt1zrvt7' aiohttp_client = .go at 0x7ffff22c54c0> dir_name = 'test dir name', filename = 'test dir file .txt' data = 'test text file folder' @pytest.mark.parametrize( "dir_name,filename,data", [ ("", "test file.txt", "test text"), ("test dir name", "test dir file .txt", "test text file folder"), ], ) async def test_access_to_the_file_with_spaces( tmp_dir_path, aiohttp_client, dir_name, filename, data ): # Checks operation of static files with spaces my_dir_path = os.path.join(tmp_dir_path, dir_name) if dir_name: os.mkdir(my_dir_path) my_file_path = os.path.join(my_dir_path, filename) with open(my_file_path, "w") as fw: fw.write(data) app = web.Application() url = os.path.join("/", dir_name, filename) app.router.add_static("/", tmp_dir_path) > client = await aiohttp_client(app) test_web_urldispatcher.py:150: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________ test_access_non_existing_resource[pyloop] ___________________ tmp_dir_path = '/build/tmp1qxgap56' aiohttp_client = .go at 0x7ffff22c1a60> async def test_access_non_existing_resource(tmp_dir_path, aiohttp_client) -> None: # Tests accessing non-existing resource # Try to access a non-exiting resource and make sure that 404 HTTP status # returned. app = web.Application() # Register global static route: app.router.add_static("/", tmp_dir_path, show_index=True) > client = await aiohttp_client(app) test_web_urldispatcher.py:165: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_url_escaping[pyloop-/a:b-/a:b] ______________________ aiohttp_client = .go at 0x7ffff22c5940> registered_path = '/a:b', request_url = '/a:b' @pytest.mark.parametrize( "registered_path,request_url", [ ("/a:b", "/a:b"), ("/a@b", "/a@b"), ("/a:b", "/a%3Ab"), ], ) async def test_url_escaping(aiohttp_client, registered_path, request_url) -> None: # Tests accessing a resource with app = web.Application() async def handler(request): return web.Response() app.router.add_get(registered_path, handler) > client = await aiohttp_client(app) test_web_urldispatcher.py:188: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_url_escaping[pyloop-/a@b-/a@b] ______________________ aiohttp_client = .go at 0x7ffff223c670> registered_path = '/a@b', request_url = '/a@b' @pytest.mark.parametrize( "registered_path,request_url", [ ("/a:b", "/a:b"), ("/a@b", "/a@b"), ("/a:b", "/a%3Ab"), ], ) async def test_url_escaping(aiohttp_client, registered_path, request_url) -> None: # Tests accessing a resource with app = web.Application() async def handler(request): return web.Response() app.router.add_get(registered_path, handler) > client = await aiohttp_client(app) test_web_urldispatcher.py:188: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_url_escaping[pyloop-/a:b-/a%3Ab] _____________________ aiohttp_client = .go at 0x7ffff211af70> registered_path = '/a:b', request_url = '/a%3Ab' @pytest.mark.parametrize( "registered_path,request_url", [ ("/a:b", "/a:b"), ("/a@b", "/a@b"), ("/a:b", "/a%3Ab"), ], ) async def test_url_escaping(aiohttp_client, registered_path, request_url) -> None: # Tests accessing a resource with app = web.Application() async def handler(request): return web.Response() app.router.add_get(registered_path, handler) > client = await aiohttp_client(app) test_web_urldispatcher.py:188: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________ test_unauthorized_folder_access[pyloop] ____________________ tmp_dir_path = '/build/tmp6w52p86u' aiohttp_client = .go at 0x7ffff225af70> async def test_unauthorized_folder_access(tmp_dir_path, aiohttp_client) -> None: # Tests the unauthorized access to a folder of static file server. # Try to list a folder content of static file server when server does not # have permissions to do so for the folder. my_dir_path = os.path.join(tmp_dir_path, "my_dir") os.mkdir(my_dir_path) app = web.Application() with mock.patch("pathlib.Path.__new__") as path_constructor: path = MagicMock() path.joinpath.return_value = path path.resolve.return_value = path path.iterdir.return_value.__iter__.side_effect = PermissionError() path_constructor.return_value = path # Register global static route: app.router.add_static("/", tmp_dir_path, show_index=True) > client = await aiohttp_client(app) test_web_urldispatcher.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning _______________________ test_access_symlink_loop[pyloop] _______________________ tmp_dir_path = '/build/tmphv4p1sl0' aiohttp_client = .go at 0x7ffff211af70> async def test_access_symlink_loop(tmp_dir_path, aiohttp_client) -> None: # Tests the access to a looped symlink, which could not be resolved. my_dir_path = os.path.join(tmp_dir_path, "my_symlink") os.symlink(my_dir_path, my_dir_path) app = web.Application() # Register global static route: app.router.add_static("/", tmp_dir_path, show_index=True) > client = await aiohttp_client(app) test_web_urldispatcher.py:252: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_access_special_resource[pyloop] _____________________ tmp_dir_path = '/build/tmpdf41ks32' aiohttp_client = .go at 0x7ffff22c1a60> async def test_access_special_resource(tmp_dir_path, aiohttp_client) -> None: # Tests the access to a resource that is neither a file nor a directory. # Checks that if a special resource is accessed (f.e. named pipe or UNIX # domain socket) then 404 HTTP status returned. app = web.Application() with mock.patch("pathlib.Path.__new__") as path_constructor: special = MagicMock() special.is_dir.return_value = False special.is_file.return_value = False path = MagicMock() path.joinpath.side_effect = lambda p: (special if p == "special" else path) path.resolve.return_value = path special.resolve.return_value = special path_constructor.return_value = path # Register global static route: app.router.add_static("/", tmp_dir_path, show_index=True) > client = await aiohttp_client(app) test_web_urldispatcher.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________ test_partially_applied_handler[pyloop] ____________________ aiohttp_client = .go at 0x7ffff22c1430> async def test_partially_applied_handler(aiohttp_client) -> None: app = web.Application() async def handler(data, request): return web.Response(body=data) if sys.version_info >= (3, 8): app.router.add_route("GET", "/", functools.partial(handler, b"hello")) else: with pytest.warns(DeprecationWarning): app.router.add_route("GET", "/", functools.partial(handler, b"hello")) > client = await aiohttp_client(app) test_web_urldispatcher.py:298: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________________ test_static_head[pyloop] ___________________________ tmp_path = PosixPath('/build/pytest-of-nixbld/pytest-0/test_static_head_pyloop_0') aiohttp_client = .go at 0x7ffff20cb700> async def test_static_head(tmp_path, aiohttp_client) -> None: # Test HEAD on static route my_file_path = tmp_path / "test.txt" with my_file_path.open("wb") as fw: fw.write(b"should_not_see_this\n") app = web.Application() app.router.add_static("/", str(tmp_path)) > client = await aiohttp_client(app) test_web_urldispatcher.py:313: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_412_is_returned[pyloop] _________________________ aiohttp_client = .go at 0x7ffff211aaf0> async def test_412_is_returned(aiohttp_client) -> None: class MyRouter(abc.AbstractRouter): async def resolve(self, request): raise web.HTTPPreconditionFailed() with pytest.warns(DeprecationWarning): app = web.Application(router=MyRouter()) > client = await aiohttp_client(app) test_web_urldispatcher.py:351: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ___________________________ test_allow_head[pyloop] ____________________________ aiohttp_client = .go at 0x7ffff259d160> async def test_allow_head(aiohttp_client) -> None: # Test allow_head on routes. app = web.Application() async def handler(_): return web.Response() app.router.add_get("/a", handler, name="a") app.router.add_get("/b", handler, allow_head=False, name="b") > client = await aiohttp_client(app) test_web_urldispatcher.py:367: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________________ test_add_view[pyloop] _____________________________ aiohttp_client = .go at 0x7ffff227c670> async def test_add_view(aiohttp_client) -> None: app = web.Application() class MyView(web.View): async def get(self): return web.Response() async def post(self): return web.Response() app.router.add_view("/a", MyView) > client = await aiohttp_client(app) test_web_urldispatcher.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_decorate_view[pyloop] __________________________ aiohttp_client = .go at 0x7ffff20cb700> async def test_decorate_view(aiohttp_client) -> None: routes = web.RouteTableDef() @routes.view("/a") class MyView(web.View): async def get(self): return web.Response() async def post(self): return web.Response() app = web.Application() app.router.add_routes(routes) > client = await aiohttp_client(app) test_web_urldispatcher.py:464: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________________ test_web_view[pyloop] _____________________________ aiohttp_client = .go at 0x7ffff259d9d0> async def test_web_view(aiohttp_client) -> None: app = web.Application() class MyView(web.View): async def get(self): return web.Response() async def post(self): return web.Response() app.router.add_routes([web.view("/a", MyView)]) > client = await aiohttp_client(app) test_web_urldispatcher.py:491: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_static_absolute_url[pyloop] _______________________ aiohttp_client = .go at 0x7ffff211af70> tmpdir = local('/build/pytest-of-nixbld/pytest-0/test_static_absolute_url_pyloo0') async def test_static_absolute_url(aiohttp_client, tmpdir) -> None: # requested url is an absolute name like # /static/\\machine_name\c$ or /static/D:\path # where the static dir is totally different app = web.Application() fname = tmpdir / "file.txt" fname.write_text("sample text", "ascii") here = pathlib.Path(__file__).parent app.router.add_static("/static", here) > client = await aiohttp_client(app) test_web_urldispatcher.py:515: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________ test_websocket_can_prepare[pyloop] ______________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff22c5940> async def test_websocket_can_prepare(loop, aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() if not ws.can_prepare(request): raise web.HTTPUpgradeRequired() return web.Response() app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning _________________________ test_websocket_json[pyloop] __________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff227c1f0> async def test_websocket_json(loop, aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() if not ws.can_prepare(request): return web.HTTPUpgradeRequired() await ws.prepare(request) msg = await ws.receive() msg_json = msg.json() answer = msg_json["test"] await ws.send_str(answer) await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________ test_websocket_json_invalid_message[pyloop] __________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff227cc10> async def test_websocket_json_invalid_message(loop, aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) try: await ws.receive_json() except ValueError: await ws.send_str("ValueError was raised") else: raise Exception("No Exception") finally: await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_websocket_send_json[pyloop] _______________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff223c670> async def test_websocket_send_json(loop, aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) data = await ws.receive_json() await ws.send_json(data) await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:96: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_websocket_receive_json[pyloop] ______________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff227cc10> async def test_websocket_receive_json(loop, aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) data = await ws.receive_json() answer = data["test"] await ws.send_str(answer) await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_send_recv_text[pyloop] __________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff227c3a0> async def test_send_recv_text(loop, aiohttp_client) -> None: closed = loop.create_future() async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) msg = await ws.receive_str() await ws.send_str(msg + "/answer") await ws.close() closed.set_result(1) return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_send_recv_bytes[pyloop] _________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff227c790> async def test_send_recv_bytes(loop, aiohttp_client) -> None: closed = loop.create_future() async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) msg = await ws.receive_bytes() await ws.send_bytes(msg + b"/answer") await ws.close() closed.set_result(1) return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:181: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_send_recv_json[pyloop] __________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff211af70> async def test_send_recv_json(loop, aiohttp_client) -> None: closed = loop.create_future() async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) data = await ws.receive_json() await ws.send_json({"response": data["request"]}) await ws.close() closed.set_result(1) return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:214: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_close_timeout[pyloop] __________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff259d9d0> async def test_close_timeout(loop, aiohttp_client) -> None: aborted = loop.create_future() elapsed = 1e10 # something big async def handler(request): nonlocal elapsed ws = web.WebSocketResponse(timeout=0.1) await ws.prepare(request) assert "request" == (await ws.receive_str()) await ws.send_str("reply") begin = ws._loop.time() assert await ws.close() elapsed = ws._loop.time() - begin assert ws.close_code == 1006 assert isinstance(ws.exception(), asyncio.TimeoutError) aborted.set_result(1) return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:254: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_concurrent_close[pyloop] _________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff225af70> async def test_concurrent_close(loop, aiohttp_client) -> None: srv_ws = None async def handler(request): nonlocal srv_ws ws = srv_ws = web.WebSocketResponse(autoclose=False, protocols=("foo", "bar")) await ws.prepare(request) msg = await ws.receive() assert msg.type == WSMsgType.CLOSING msg = await ws.receive() assert msg.type == WSMsgType.CLOSING await asyncio.sleep(0) msg = await ws.receive() assert msg.type == WSMsgType.CLOSED return ws app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:299: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________ test_auto_pong_with_closing_by_peer[pyloop] __________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff211af70> async def test_auto_pong_with_closing_by_peer(loop, aiohttp_client) -> None: closed = loop.create_future() async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) await ws.receive() msg = await ws.receive() assert msg.type == WSMsgType.CLOSE assert msg.data == 1000 assert msg.extra == "exit message" closed.set_result(None) return ws app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________________ test_ping[pyloop] _______________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff223c670> async def test_ping(loop, aiohttp_client) -> None: closed = loop.create_future() async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) await ws.ping("data") await ws.receive() closed.set_result(None) return ws app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:358: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________________________ test_pong[pyloop] _______________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff22c1430> async def test_pong(loop, aiohttp_client) -> None: closed = loop.create_future() async def handler(request): ws = web.WebSocketResponse(autoping=False) await ws.prepare(request) msg = await ws.receive() assert msg.type == WSMsgType.PING await ws.pong("data") msg = await ws.receive() assert msg.type == WSMsgType.CLOSE assert msg.data == 1000 assert msg.extra == "exit message" closed.set_result(None) return ws app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:417: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session __________________________ test_change_status[pyloop] __________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff211aaf0> async def test_change_status(loop, aiohttp_client) -> None: closed = loop.create_future() async def handler(request): ws = web.WebSocketResponse() ws.set_status(200) assert 200 == ws.status await ws.prepare(request) assert 101 == ws.status await ws.close() closed.set_result(None) return ws app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:447: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_handle_protocol[pyloop] _________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff2278a60> async def test_handle_protocol(loop, aiohttp_client) -> None: closed = loop.create_future() async def handler(request): ws = web.WebSocketResponse(protocols=("foo", "bar")) await ws.prepare(request) await ws.close() assert "bar" == ws.ws_protocol closed.set_result(None) return ws app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:470: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_server_close_handshake[pyloop] ______________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff211ad30> async def test_server_close_handshake(loop, aiohttp_client) -> None: closed = loop.create_future() async def handler(request): ws = web.WebSocketResponse(protocols=("foo", "bar")) await ws.prepare(request) await ws.close() closed.set_result(None) return ws app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:491: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______ test_server_close_handshake_server_eats_client_messages[pyloop] ________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff20f98b0> async def test_server_close_handshake_server_eats_client_messages(loop, aiohttp_client): closed = loop.create_future() async def handler(request): ws = web.WebSocketResponse(protocols=("foo", "bar")) await ws.prepare(request) await ws.close() closed.set_result(None) return ws app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:546: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _________________________ test_receive_timeout[pyloop] _________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff22c1430> async def test_receive_timeout(loop, aiohttp_client) -> None: raised = False async def handler(request): ws = web.WebSocketResponse(receive_timeout=0.1) await ws.prepare(request) try: await ws.receive() except asyncio.TimeoutError: nonlocal raised raised = True await ws.close() return ws app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:581: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________ test_custom_receive_timeout[pyloop] ______________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff211ad30> async def test_custom_receive_timeout(loop, aiohttp_client) -> None: raised = False async def handler(request): ws = web.WebSocketResponse(receive_timeout=None) await ws.prepare(request) try: await ws.receive(0.1) except asyncio.TimeoutError: nonlocal raised raised = True await ws.close() return ws app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:607: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ____________________________ test_heartbeat[pyloop] ____________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff225af70> async def test_heartbeat(loop, aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse(heartbeat=0.05) await ws.prepare(request) await ws.receive() await ws.close() return ws app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:626: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_heartbeat_no_pong[pyloop] ________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff20cb700> async def test_heartbeat_no_pong(loop, aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse(heartbeat=0.05) await ws.prepare(request) await ws.receive() return ws app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:646: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _______________________ test_server_ws_async_for[pyloop] _______________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_server = .go at 0x7ffff227c3a0> async def test_server_ws_async_for(loop, aiohttp_server) -> None: closed = loop.create_future() async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) async for msg in ws: assert msg.type == aiohttp.WSMsgType.TEXT s = msg.data await ws.send_str(s + "/answer") await ws.close() closed.set_result(1) return ws app = web.Application() app.router.add_route("GET", "/", handler) > server = await aiohttp_server(app) test_web_websocket_functional.py:669: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:275: in go await server.start_server(loop=loop, **kwargs) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ________________________ test_closed_async_for[pyloop] _________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff223c670> async def test_closed_async_for(loop, aiohttp_client) -> None: closed = loop.create_future() async def handler(request): ws = web.WebSocketResponse() await ws.prepare(request) messages = [] async for msg in ws: messages.append(msg) if "stop" == msg.data: await ws.send_str("stopping") await ws.close() assert 1 == len(messages) assert messages[0].type == WSMsgType.TEXT assert messages[0].data == "stop" closed.set_result(None) return ws app = web.Application() app.router.add_get("/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:709: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ___________________ test_websocket_disable_keepalive[pyloop] ___________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff22c1430> async def test_websocket_disable_keepalive(loop, aiohttp_client) -> None: async def handler(request): ws = web.WebSocketResponse() if not ws.can_prepare(request): return web.Response(text="OK") assert request.protocol._keepalive await ws.prepare(request) assert not request.protocol._keepalive assert not request.protocol._keepalive_handle await ws.send_str("OK") await ws.close() return ws app = web.Application() app.router.add_route("GET", "/", handler) > client = await aiohttp_client(app) test_web_websocket_functional.py:737: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session _____________________________ test_bug3380[pyloop] _____________________________ loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_client = .go at 0x7ffff211af70> async def test_bug3380(loop, aiohttp_client) -> None: async def handle_null(request): return aiohttp.web.json_response({"err": None}) async def ws_handler(request): return web.Response(status=401) app = web.Application() app.router.add_route("GET", "/ws", ws_handler) app.router.add_route("GET", "/api/null", handle_null) > client = await aiohttp_client(app) test_web_websocket_functional.py:759: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/pytest_plugin.py:360: in go await client.start_server() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:268: in start_server await self._server.start_server(loop=self._loop) /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py:113: in start_server await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/client.py", line 331, in __del__ _warnings.warn( ResourceWarning: Unclosed client session ______________ test__run_ok_parent_changed[AsyncioWorker-pyloop] _______________ worker = loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_unused_port = async def test__run_ok_parent_changed(worker, loop, aiohttp_unused_port) -> None: skip_if_no_dict(loop) worker.ppid = 0 worker.alive = True sock = socket.socket() addr = ("localhost", aiohttp_unused_port()) sock.bind(addr) worker.sockets = [sock] worker.log = mock.Mock() worker.loop = loop worker.cfg.access_log_format = ACCEPTABLE_LOG_FORMAT worker.cfg.max_requests = 0 worker.cfg.is_ssl = False > await worker._run() test_worker.py:219: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/worker.py:99: in _run await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning _____________________ test__run_exc[AsyncioWorker-pyloop] ______________________ worker = loop = <_UnixSelectorEventLoop running=False closed=False debug=False> aiohttp_unused_port = async def test__run_exc(worker, loop, aiohttp_unused_port) -> None: skip_if_no_dict(loop) worker.ppid = os.getppid() worker.alive = True sock = socket.socket() addr = ("localhost", aiohttp_unused_port()) sock.bind(addr) worker.sockets = [sock] worker.log = mock.Mock() worker.loop = loop worker.cfg.access_log_format = ACCEPTABLE_LOG_FORMAT worker.cfg.max_requests = 0 worker.cfg.is_ssl = False def raiser(): waiter = worker._notify_waiter worker.alive = False waiter.set_exception(RuntimeError()) loop.call_later(0.1, raiser) > await worker._run() test_worker.py:246: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/worker.py:99: in _run await site.start() /nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/web_runner.py:230: in start self._server = await loop.create_server( /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/base_events.py:1518: in create_server await tasks.sleep(0, loop=self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ delay = 0, result = None async def sleep(delay, result=None, *, loop=None): """Coroutine that completes after a given time (in seconds).""" if loop is not None: > warnings.warn("The loop argument is deprecated since Python 3.8, " "and scheduled for removal in Python 3.10.", DeprecationWarning, stacklevel=2) E DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. /nix/store/56c5lnijckyrvczz03sgqs236x693fjf-python3-3.9.7/lib/python3.9/asyncio/tasks.py:639: DeprecationWarning --------------------------- Captured stderr teardown --------------------------- Exception ignored in: Traceback (most recent call last): File "/nix/store/zrkj2d2mis6vmg360x6zdxl2pmghiili-python3.9-aiohttp-3.7.4.post0/lib/python3.9/site-packages/aiohttp/test_utils.py", line 536, in teardown_test_loop gc.collect() ResourceWarning: unclosed ============================= slowest 10 durations ============================= 0.38s call tests/test_payload.py::test_stream_reader_long_lines 0.28s call tests/test_pytest_plugin.py::test_aiohttp_plugin 0.23s call tests/test_streams.py::TestStreamReader::test_readany_chunk_end_race 0.22s call tests/test_streams.py::TestStreamReader::test_readchunk_separate_http_chunk_tail 0.20s call tests/test_web_protocol.py::test_keep_alive[pyloop] 0.19s call tests/test_run_app.py::test_sigint 0.19s call tests/test_run_app.py::test_sigterm 0.13s call tests/test_streams.py::TestStreamReader::test_wait_eof 0.12s call tests/test_streams.py::TestStreamReader::test_readchunk_wait_eof 0.12s call tests/test_web_protocol.py::test_pipeline_response_order[pyloop] =========================== short test summary info ============================ XFAIL test_client_functional.py::test_broken_connection[pyloop] XFAIL test_connector.py::test_del_with_scheduled_cleanup[pyloop] XFAIL test_web_functional.py::test_http10_keep_alive_default[pyloop] SKIPPED [1] test_client_session.py:672: The check is applied in DEBUG mode only SKIPPED [1] test_connector.py:1932: Proactor Event loop present only in Windows SKIPPED [1] test_connector.py:1940: Proactor Event loop present only in Windows SKIPPED [1] test_connector.py:1951: Proactor Event loop present only in Windows SKIPPED [1] test_connector.py:2102: Proactor Event loop present only in Windows SKIPPED [1] test_multipart_helpers.py:99: need more smart parser which respects quoted text SKIPPED [1] test_multipart_helpers.py:446: should raise decoding error: %82 is invalid for latin1 SKIPPED [1] test_multipart_helpers.py:455: should raise decoding error: %E4 is invalid for utf-8 SKIPPED [1] test_multipart_helpers.py:510: urllib.parse.unquote is tolerate to standalone % chars SKIPPED [1] test_multipart_helpers.py:519: urllib.parse.unquote is tolerate to standalone % chars SKIPPED [1] test_proxy_functional.py:199: we need to reconsider how we test this SKIPPED [1] test_proxy_functional.py:223: we need to reconsider how we test this SKIPPED [1] test_resolver.py:47: aiodns 1.1 required SKIPPED [1] test_resolver.py:57: aiodns required SKIPPED [1] test_resolver.py:68: aiodns 1.1 required SKIPPED [1] test_resolver.py:79: aiodns required SKIPPED [1] test_resolver.py:90: aiodns 1.1 required SKIPPED [1] test_resolver.py:99: aiodns required SKIPPED [1] test_resolver.py:109: aiodns required SKIPPED [1] test_resolver.py:119: aiodns 1.1 required SKIPPED [1] test_resolver.py:161: aiodns required SKIPPED [1] test_resolver.py:173: aiodns required SKIPPED [1] test_resolver.py:180: aiodns 1.1 required SKIPPED [1] test_resolver.py:190: aiodns required SKIPPED [1] test_urldispatch.py:948: aiohttp folder is not placed in user's HOME SKIPPED [1] test_web_app.py:297: The check is applied in DEBUG mode only SKIPPED [1] test_web_request.py:681: The check is applied in DEBUG mode only SKIPPED [1] test_web_runner.py:124: Proactor Event loop present only in Windows SKIPPED [1] test_web_runner.py:134: Proactor Event loop present only in Windows = 610 failed, 1890 passed, 29 skipped, 1 deselected, 3 xfailed, 11 errors in 82.52s (0:01:22) =