Skip to content

Conversation

@fllesser
Copy link
Owner

@fllesser fllesser commented Feb 8, 2026

No description provided.

@codecov
Copy link

codecov bot commented Feb 8, 2026

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
41 1 40 3
View the top 1 failed test(s) by shortest run time
tests.parsers.test_weibo::test_graphics
Stack Traces | 20.2s run time
.venv/lib/python3.14.../httpx/_transports/default.py:101: in map_httpcore_exceptions
    yield
.venv/lib/python3.14.../httpx/_transports/default.py:394: in handle_async_request
    resp = await self._pool.handle_async_request(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.venv/lib/python3.14.../httpcore/_async/connection_pool.py:256: in handle_async_request
    raise exc from None
.venv/lib/python3.14.../httpcore/_async/connection_pool.py:236: in handle_async_request
    response = await connection.handle_async_request(
.venv/lib/python3.14.../httpcore/_async/connection.py:101: in handle_async_request
    raise exc
.venv/lib/python3.14.../httpcore/_async/connection.py:78: in handle_async_request
    stream = await self._connect(request)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.venv/lib/python3.14.../httpcore/_async/connection.py:156: in _connect
    stream = await stream.start_tls(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.venv/lib/python3.14.../httpcore/_backends/anyio.py:67: in start_tls
    with map_exceptions(exc_map):
         ^^^^^^^^^^^^^^^^^^^^^^^
../.........../_temp/uv-python-dir/cpython-3.14.3-linux-x86_64-gnu/lib/python3.14/contextlib.py:162: in __exit__
    self.gen.throw(value)
.venv/lib/python3.14.../site-packages/httpcore/_exceptions.py:14: in map_exceptions
    raise to_exc(exc) from exc
E   httpcore.ConnectTimeout

The above exception was the direct cause of the following exception:
.../nonebot_plugin_parser/download/__init__.py:64: in download_file
    async with self.client.stream("GET", url, headers=headers, follow_redirects=True) as response:
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../.........../_temp/uv-python-dir/cpython-3.14.3-linux-x86_64-gnu/lib/python3.14/contextlib.py:214: in __aenter__
    return await anext(self.gen)
           ^^^^^^^^^^^^^^^^^^^^^
.venv/lib/python3.14.............../site-packages/httpx/_client.py:1583: in stream
    response = await self.send(
.venv/lib/python3.14.............../site-packages/httpx/_client.py:1629: in send
    response = await self._send_handling_auth(
.venv/lib/python3.14.............../site-packages/httpx/_client.py:1657: in _send_handling_auth
    response = await self._send_handling_redirects(
.venv/lib/python3.14.............../site-packages/httpx/_client.py:1694: in _send_handling_redirects
    response = await self._send_single_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.venv/lib/python3.14.............../site-packages/httpx/_client.py:1730: in _send_single_request
    response = await transport.handle_async_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.venv/lib/python3.14.../httpx/_transports/default.py:393: in handle_async_request
    with map_httpcore_exceptions():
         ^^^^^^^^^^^^^^^^^^^^^^^^^
../.........../_temp/uv-python-dir/cpython-3.14.3-linux-x86_64-gnu/lib/python3.14/contextlib.py:162: in __exit__
    self.gen.throw(value)
.venv/lib/python3.14.../httpx/_transports/default.py:118: in map_httpcore_exceptions
    raise mapped_exc(message) from exc
E   httpx.ConnectTimeout

During handling of the above exception, another exception occurred:
tests/parsers/test_weibo.py:31: in test_graphics
    await asyncio.gather(*[parse_graphics(url) for url in urls])
tests/parsers/test_weibo.py:27: in parse_graphics
    path = await img_content.get_path()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../nonebot_plugin_parser/parsers/data.py:22: in get_path
    self.path_task = await self.path_task
                     ^^^^^^^^^^^^^^^^^^^^
.../nonebot_plugin_parser/download/__init__.py:127: in download_img
    return await self.download_file(url, file_name=img_name, ext_headers=ext_headers)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../nonebot_plugin_parser/download/__init__.py:86: in download_file
    raise DownloadException("媒体下载失败")
E   nonebot_plugin_parser.exception.DownloadException: 媒体下载失败

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@github-actions
Copy link

github-actions bot commented Feb 8, 2026

类型 PIL 耗时(秒) HTML 耗时(秒) 渲染所用图片总大小(MB) PIL 导出图片大小(MB) HTML 导出图片大小(MB)
微博视频2 0.01133 0.91727 0.01280 0.03541 0.17206
微博视频 0.01366 0.95578 0.01280 0.03432 0.17000
微博纯文2 0.03376 0.99564 0.00605 0.12023 0.28607
微博转发纯文 0.07000 1.12639 0.01382 0.24414 0.40196
微博转发(视频) 0.09557 1.21067 14.91427 0.37463 0.78030
微博转发(横图) 0.18919 1.38226 1.26621 0.48412 1.43761
哔哩哔哩动态 0.25073 2.02700 0.01244 0.18458 0.41459
微博图集(超过9张) 0.28949 1.23627 1.01493 0.31695 0.68635
微博转发(竖图) 0.29246 2.10025 1.32951 0.41583 2.48094
微博图集(3张) 0.33510 1.16797 2.73813 0.34359 0.93089
微博图集(2张) 0.35068 1.25332 4.88308 0.64458 1.68558
bilibili-read 0.37487 2.60594 0.47975 1.35513 2.58685
微博图集(4张) 0.40877 1.62583 2.34023 0.72814 1.69757
bilibili-opus 0.52851 2.73501 1.21296 1.35135 2.35157
微博图集(9张) 1.21387 1.91139 10.98936 0.98579 2.37885

@fllesser fllesser merged commit 58b4019 into master Feb 8, 2026
16 of 17 checks passed
@fllesser fllesser deleted the estimate-height branch February 8, 2026 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant