Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test_ssl raisesResourceWarning (again) #110011

Open
Labels
testsTests in the Lib/test dirtopic-SSLtype-bugAn unexpected behavior, bug, or error
@sobolevn

Description

@sobolevn

Bug report

One:

» ./python.exe -m test test_ssl -m test_preauth_data_to_tls_client0:00:00 load avg: 1.42 Run 1 test sequentially0:00:00 load avg: 1.42 [1/1] test_ssl/Users/sobolev/Desktop/cpython/Lib/test/test_ssl.py:4862: ResourceWarning: unclosed <ssl.SSLSocket fd=8, family=2, type=1, proto=0, laddr=('127.0.0.1', 55685)>  wrap_error = NoneResourceWarning: Enable tracemalloc to get the object allocation traceback== Tests result: SUCCESS ==1 test OK.Total duration: 137 msTotal tests: run=1 (filtered) skipped=1Total test files: run=1/1 (filtered)Result: SUCCESS

Two:

» ./python.exe -m test test_ssl -m test_preauth_data_to_tls_server0:00:00 load avg: 1.53 Run 1 test sequentially0:00:00 load avg: 1.53 [1/1] test_ssl/Users/sobolev/Desktop/cpython/Lib/test/test_ssl.py:4801: ResourceWarning: unclosed <ssl.SSLSocket fd=9, family=2, type=1, proto=0, laddr=('127.0.0.1', 55718)>  wrap_error = NoneResourceWarning: Enable tracemalloc to get the object allocation traceback== Tests result: SUCCESS ==1 test OK.Total duration: 121 msTotal tests: run=1 (filtered) skipped=1Total test files: run=1/1 (filtered)Result: SUCCESS

Three:

» ./python.exe -m test test_ssl -m test_https_client_non_tls_response_ignored    0:00:00 load avg: 1.65 Run 1 test sequentially0:00:00 load avg: 1.65 [1/1] test_ssl/Users/sobolev/Desktop/cpython/Lib/traceback.py:244: ResourceWarning: unclosed <ssl.SSLSocket fd=8, family=2, type=1, proto=0, laddr=('127.0.0.1', 56190)>  tb.tb_frame.clear()ResourceWarning: Enable tracemalloc to get the object allocation traceback== Tests result: SUCCESS ==1 test OK.Total duration: 80 msTotal tests: run=1 (filtered)Total test files: run=1/1 (filtered)Result: SUCCESS

Env:

  • macos sonoma
  • main branch
test_ssl: testing with 'OpenSSL 3.1.2 1 Aug 2023' (3, 1, 0, 2, 0)          under Mac ('14.0', ('', '', ''), 'arm64')          HAS_SNI = True          OP_ALL = 0x80000050          OP_NO_TLSv1_1 = 0x10000000

Refs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtopic-SSLtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp