Skip to content

test_rot13_func in test_codecs is not independent #109848

Closed
@serhiy-storchaka

Description

@serhiy-storchaka

Bug report

Bug description:

Running separate test test_rot13_func in test_codecs fails:

$ ./python -m test -v test_codecs -m test_rot13_func
...
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_codecs.py", line 3572, in test_rot13_func
    encodings.rot_13.rot13(infile, outfile)
    ^^^^^^^^^^^^^^^^
AttributeError: module 'encodings' has no attribute 'rot_13'

CPython versions tested on:

3.11, 3.12, CPython main branch

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.11only security fixes3.12only security fixes3.13bugs and security fixestestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions