[issue44564] DeprecationWarning in test_enum over formatting

2021-08-04 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Brandon! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44564] DeprecationWarning in test_enum over formatting

2021-08-04 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f99c015638b46e46ae3ee3f27b96a514007cdaef by Brandon Schabell in branch 'main': bpo-44564 Move formatted assertion under deprecation warning context (GH-27090) https://github.com/python/cpython/commit/f99c015638b46e46ae3ee3f27b96a514007cdaef

[issue44564] DeprecationWarning in test_enum over formatting

2021-07-29 Thread Denis Laxalde
Denis Laxalde added the comment: The assertion at stake looks redundant since we already check that `'{}'.format(OkayEnum.one) == '1'` (the line above) and that `OkayEnum.one == '1'` (3 lines above). -- nosy: +dlax ___ Python tracker

[issue44564] DeprecationWarning in test_enum over formatting

2021-07-11 Thread Brandon Schabell
Change by Brandon Schabell : -- keywords: +patch nosy: +brandonschabell nosy_count: 2.0 -> 3.0 pull_requests: +25638 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27090 ___ Python tracker

[issue44564] DeprecationWarning in test_enum over formatting

2021-07-04 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : It seems the line above this is wrapped under a block to check for deprecation warning but this line got missed out. PYTHONWARNINGS=always ./python.exe -Wall -m test test_enum 0:00:00 load avg: 3.91 Run tests sequentially 0:00:00 load avg: 3.91