Skip to content
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

Test failure on Python 3.9 #4681

Closed
nijel opened this issue Oct 12, 2020 · 2 comments
Closed

Test failure on Python 3.9 #4681

nijel opened this issue Oct 12, 2020 · 2 comments
Assignees
Labels
bug Something is broken.
Milestone

Comments

@nijel
Copy link
Member

nijel commented Oct 12, 2020

Describe the bug

Test failure on Python 3.9:

 ======================================================================
FAIL: test_lang_code_double (weblate.trans.tests.test_component.ComponentValidationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/weblate/weblate/weblate/trans/tests/test_component.py", line 774, in test_lang_code_double
    self.assertEqual(
AssertionError: 'pt/resources/MessagesBundle_' != 'pt_BR'
- pt/resources/MessagesBundle_
+ pt_BR

To Reproduce

Run tests on Python 3.9

Additional context

https://github.com/WeblateOrg/weblate/runs/1242618490?check_suite_focus=true

@nijel nijel added the bug Something is broken. label Oct 12, 2020
@nijel nijel added this to the 4.3 milestone Oct 12, 2020
@nijel nijel self-assigned this Oct 13, 2020
@nijel nijel closed this as completed in a7c1a89 Oct 13, 2020
@github-actions
Copy link

Thank you for your report, the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, consider supporting Weblate by donating.

@nijel
Copy link
Member Author

nijel commented Oct 13, 2020

Caused by changed fnmatch behavior introduced in Python 3.9 via python/cpython#19908.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken.
Projects
None yet
Development

No branches or pull requests

1 participant