Skip to content

Deprecation warning in test_pyclbr #93481

@iritkatriel

Description

@iritkatriel

Running with warnings-as-errors:

======================================================================
ERROR: test_others (test.test_pyclbr.PyclbrTest.test_others)

Traceback (most recent call last):
File "/Users/iritkatriel/src/cpython-1/Lib/test/test_pyclbr.py", line 221, in test_others
cm('cgi', ignore=('log',)) # set with = in module
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/iritkatriel/src/cpython-1/Lib/test/test_pyclbr.py", line 64, in checkModule
module = import(moduleName, globals(), {}, [''])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/iritkatriel/src/cpython-1/Lib/cgi.py", line 57, in
warnings._deprecated(name, remove=(3,13))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/iritkatriel/src/cpython-1/Lib/warnings.py", line 514, in _deprecated
warn(msg, DeprecationWarning, stacklevel=3)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13

Metadata

Metadata

Assignees

Labels

type-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy