[New-bugs-announce] [issue44016] Enum related deprecation warnings in test_httpservers and test_faulthandler
Karthikeyan Singaravelan
report at bugs.python.org
Mon May 3 04:04:55 EDT 2021
New submission from Karthikeyan Singaravelan <tir.karthi at 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 <report at bugs.python.org>
<https://bugs.python.org/issue44016>
_______________________________________
More information about the New-bugs-announce
mailing list