New submission from Karthikeyan Singaravelan <tir.kar...@gmail.com>:
These warnings seem to be related to changes in issue43945 ./python -Wall -m test test_httpservers test_faulthandler 0:00:00 load avg: 4.83 Run tests sequentially 0:00:00 load avg: 4.83 [1/2] test_httpservers /root/cpython/Lib/test/test_httpservers.py:279: DeprecationWarning: in 3.12 format() will use the enum member, not the enum member's value; use a format specifier, such as :d for an IntEnum member, to maintain the current display self.con.request('HEAD', '/{}'.format(code)) /root/cpython/Lib/test/test_httpservers.py:279: DeprecationWarning: in 3.12 format() will use the enum member, not the enum member's value; use a format specifier, such as :d for an IntEnum member, to maintain the current display self.con.request('HEAD', '/{}'.format(code)) /root/cpython/Lib/test/test_httpservers.py:279: DeprecationWarning: in 3.12 format() will use the enum member, not the enum member's value; use a format specifier, such as :d for an IntEnum member, to maintain the current display self.con.request('HEAD', '/{}'.format(code)) /root/cpython/Lib/test/test_httpservers.py:279: DeprecationWarning: in 3.12 format() will use the enum member, not the enum member's value; use a format specifier, such as :d for an IntEnum member, to maintain the current display self.con.request('HEAD', '/{}'.format(code)) /root/cpython/Lib/test/test_httpservers.py:279: DeprecationWarning: in 3.12 format() will use the enum member, not the enum member's value; use a format specifier, such as :d for an IntEnum member, to maintain the current display self.con.request('HEAD', '/{}'.format(code)) /root/cpython/Lib/test/test_httpservers.py:262: DeprecationWarning: in 3.12 format() will use the enum member, not the enum member's value; use a format specifier, such as :d for an IntEnum member, to maintain the current display self.con.request('SEND_ERROR', '/{}'.format(code)) /root/cpython/Lib/test/test_httpservers.py:262: DeprecationWarning: in 3.12 format() will use the enum member, not the enum member's value; use a format specifier, such as :d for an IntEnum member, to maintain the current display self.con.request('SEND_ERROR', '/{}'.format(code)) /root/cpython/Lib/test/test_httpservers.py:262: DeprecationWarning: in 3.12 format() will use the enum member, not the enum member's value; use a format specifier, such as :d for an IntEnum member, to maintain the current display self.con.request('SEND_ERROR', '/{}'.format(code)) /root/cpython/Lib/test/test_httpservers.py:262: DeprecationWarning: in 3.12 format() will use the enum member, not the enum member's value; use a format specifier, such as :d for an IntEnum member, to maintain the current display self.con.request('SEND_ERROR', '/{}'.format(code)) /root/cpython/Lib/test/test_httpservers.py:262: DeprecationWarning: in 3.12 format() will use the enum member, not the enum member's value; use a format specifier, such as :d for an IntEnum member, to maintain the current display self.con.request('SEND_ERROR', '/{}'.format(code)) 0:00:00 load avg: 4.83 [2/2] test_faulthandler /root/cpython/Lib/test/test_faulthandler.py:705: DeprecationWarning: in 3.12 format() will use the enum member, not the enum member's value; use a format specifier, such as :d for an IntEnum member, to maintain the current display code = code.format( /root/cpython/Lib/test/test_faulthandler.py:705: DeprecationWarning: in 3.12 format() will use the enum member, not the enum member's value; use a format specifier, such as :d for an IntEnum member, to maintain the current display code = code.format( /root/cpython/Lib/test/test_faulthandler.py:705: DeprecationWarning: in 3.12 format() will use the enum member, not the enum member's value; use a format specifier, such as :d for an IntEnum member, to maintain the current display code = code.format( /root/cpython/Lib/test/test_faulthandler.py:705: DeprecationWarning: in 3.12 format() will use the enum member, not the enum member's value; use a format specifier, such as :d for an IntEnum member, to maintain the current display code = code.format( /root/cpython/Lib/test/test_faulthandler.py:705: DeprecationWarning: in 3.12 format() will use the enum member, not the enum member's value; use a format specifier, such as :d for an IntEnum member, to maintain the current display code = code.format( /root/cpython/Lib/test/test_faulthandler.py:705: DeprecationWarning: in 3.12 format() will use the enum member, not the enum member's value; use a format specifier, such as :d for an IntEnum member, to maintain the current display code = code.format( == Tests result: SUCCESS == All 2 tests OK. Total duration: 22.9 sec Tests result: SUCCESS ---------- components: Tests messages: 392778 nosy: ethan.furman, vstinner, xtreak priority: normal severity: normal status: open title: Enum related deprecation warnings in test_httpservers and test_faulthandler type: behavior versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44016> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com