#32762: test_msgfmt_error_including_non_ascii fails on Mac OS Catalina, 
localized
msgfmt binary.
------------------------------------------------+------------------------
               Reporter:  niloct                |          Owner:  nobody
                   Type:  Bug                   |         Status:  new
              Component:  Internationalization  |        Version:  dev
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 {{{
 FAIL: test_msgfmt_error_including_non_ascii
 (i18n.test_compilation.CompilationErrorHandling)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 
"/Users/teixeira/Downloads/Pessoal/etudes/etudes_py/django_source/tests/i18n/test_compilation.py",
 line 204, in test_msgfmt_error_including_non_ascii
     self.assertIn("' cannot start a field name", stderr.getvalue())
 AssertionError: "' cannot start a field name" not found in 'Execution of
 msgfmt failed:
 
/private/var/folders/sj/kll9fdms3c52l7m19_f_zn980000gn/T/django_al6dgjzh/i18n_cam5a1xi/commands/locale/ko/LC_MESSAGES/django.po:24:
 "msgstr" não é um formato de string Python brace válido, ao contrário de
 "msgid". Motivo: Na diretiva número 0, "�" não pode iniciar um nome de
 campo.\nmsgfmt: encontrado 1 erro fatal\n'
 }}}

 The `assertIn` fails because the `msgfmt` output is in `pt-BR`. The
 `export LANG=C` environment setting on this test doesn't help changing the
 binary `msgfmt` output to English.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32762>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.6138ff880240e380895d92724cbc1506%40djangoproject.com.

Reply via email to