Skip to content

test_rot13_func in test_codecs is not independent #109848

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
serhiy-storchaka opened this issue Sep 25, 2023 · 0 comments
Closed

test_rot13_func in test_codecs is not independent #109848

serhiy-storchaka opened this issue Sep 25, 2023 · 0 comments
Labels
3.11 only security fixes 3.12 only security fixes 3.13 bugs and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@serhiy-storchaka
Copy link
Member

serhiy-storchaka commented Sep 25, 2023

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

@serhiy-storchaka serhiy-storchaka added type-bug An unexpected behavior, bug, or error tests Tests in the Lib/test dir 3.11 only security fixes 3.12 only security fixes 3.13 bugs and security fixes labels Sep 25, 2023
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this issue Sep 25, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Oct 7, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Oct 7, 2023
serhiy-storchaka added a commit that referenced this issue Oct 7, 2023
serhiy-storchaka added a commit that referenced this issue Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.11 only security fixes 3.12 only security fixes 3.13 bugs and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant