Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

PluralFormsTestCase tests in test_gettext are not independent #109864

Copy link
Copy link
@serhiy-storchaka

Description

@serhiy-storchaka
Issue body actions

Bug report

Bug description:

$ ./python -m test -v test_gettext -m PluralFormsTestCase
...
======================================================================
FAIL: test_plural_context_forms1 (test.test_gettext.PluralFormsTestCase.test_plural_context_forms1)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_gettext.py", line 330, in test_plural_context_forms1
    eq(x, 'Hay %s fichero (context)')
AssertionError: 'There is %s file' != 'Hay %s fichero (context)'
- There is %s file
+ Hay %s fichero (context)


======================================================================
FAIL: test_plural_context_forms2 (test.test_gettext.PluralFormsTestCase.test_plural_context_forms2)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_gettext.py", line 359, in test_plural_context_forms2
    eq(x, 'Hay %s fichero (context)')
AssertionError: 'There is %s file' != 'Hay %s fichero (context)'
- There is %s file
+ Hay %s fichero (context)


======================================================================
FAIL: test_plural_forms1 (test.test_gettext.PluralFormsTestCase.test_plural_forms1)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_gettext.py", line 320, in test_plural_forms1
    eq(x, 'Hay %s fichero')
AssertionError: 'There is %s file' != 'Hay %s fichero'
- There is %s file
+ Hay %s fichero

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 fixesonly security fixes3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixestestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    Status

    Done
    Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.