@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.12\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2025-03-21 14:55 +0000\n "
14
+ "POT-Creation-Date : 2025-05-16 15:32 +0000\n "
15
15
"PO-Revision-Date : 2024-05-11 00:33+0000\n "
16
16
"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n "
17
17
"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -359,6 +359,8 @@ msgid ""
359
359
"There is also a command line shortcut for running :func:`testmod`, see "
360
360
"section :ref:`doctest-cli`."
361
361
msgstr ""
362
+ "Há também um atalho de linha de comando para executar :func:`testmod`, veja "
363
+ "a seção :ref:`doctest-cli`."
362
364
363
365
#: ../../library/doctest.rst:179
364
366
msgid ""
@@ -499,6 +501,8 @@ msgid ""
499
501
"There is also a command line shortcut for running :func:`testfile`, see "
500
502
"section :ref:`doctest-cli`."
501
503
msgstr ""
504
+ "Há também um atalho de linha de comando para executar :func:`testfile`, veja "
505
+ "a seção :ref:`doctest-cli`."
502
506
503
507
#: ../../library/doctest.rst:243
504
508
msgid ""
@@ -510,22 +514,25 @@ msgstr ""
510
514
511
515
#: ../../library/doctest.rst:249
512
516
msgid "Command-line Usage"
513
- msgstr ""
517
+ msgstr "Uso na linha de comando "
514
518
515
519
#: ../../library/doctest.rst:251
516
520
msgid ""
517
521
"The :mod:`doctest` module can be invoked as a script from the command line:"
518
522
msgstr ""
523
+ "O módulo :mod:`doctest` pode ser invocado como um script na linha de comando:"
519
524
520
525
#: ../../library/doctest.rst:253
521
526
msgid "python -m doctest [-v] [-o OPTION] [-f] file [file ...]"
522
- msgstr ""
527
+ msgstr "python -m doctest [-v] [-o OPÇÃO] [-f] arquivo [arquivo ...] "
523
528
524
529
#: ../../library/doctest.rst:261
525
530
msgid ""
526
531
"Detailed report of all examples tried is printed to standard output, along "
527
532
"with assorted summaries at the end::"
528
533
msgstr ""
534
+ "Relatório detalhado de todos os exemplos testados é impresso na saída "
535
+ "padrão, junto com diversos resumos no final."
529
536
530
537
#: ../../library/doctest.rst:264
531
538
msgid "python -m doctest -v example.py"
@@ -537,12 +544,17 @@ msgid ""
537
544
"`testmod` on it. Note that this may not work correctly if the file is part "
538
545
"of a package and imports other submodules from that package."
539
546
msgstr ""
547
+ "Isso importará :file:`example.py` como um módulo independente e executará :"
548
+ "func:`testmod` nele. Observe que isso pode não funcionar corretamente se o "
549
+ "arquivo fizer parte de um pacote e importar outros submódulos desse pacote."
540
550
541
551
#: ../../library/doctest.rst:270
542
552
msgid ""
543
553
"If the file name does not end with :file:`.py`, :mod:`!doctest` infers that "
544
554
"it must be run with :func:`testfile` instead::"
545
555
msgstr ""
556
+ "Se o nome do arquivo não termina com :file:`.py`, :mod:`!doctest` infere que "
557
+ "ele deve ser executado com :func:`testfile`::"
546
558
547
559
#: ../../library/doctest.rst:273
548
560
msgid "python -m doctest -v example.txt"
@@ -553,10 +565,12 @@ msgid ""
553
565
"Option flags control various aspects of doctest's behavior, see section :ref:"
554
566
"`doctest-options`."
555
567
msgstr ""
568
+ "Os sinalizadores de opção controlam vários aspectos do comportamento do "
569
+ "doctest, consulte a seção :ref:`doctest-options`."
556
570
557
571
#: ../../library/doctest.rst:284
558
572
msgid "This is shorthand for ``-o FAIL_FAST``."
559
- msgstr ""
573
+ msgstr "Este é um atalho para ``-o FAIL_FAST``. "
560
574
561
575
#: ../../library/doctest.rst:292
562
576
msgid "How It Works"
@@ -927,6 +941,9 @@ msgid ""
927
941
"which may be either of the following two lines, indented the same as the "
928
942
"first line of the example::"
929
943
msgstr ""
944
+ "A saída esperada para uma exceção deve começar com um cabeçalho do "
945
+ "traceback, que pode ser qualquer uma das duas linhas a seguir, indentadas da "
946
+ "mesma forma que a primeira linha do exemplo::"
930
947
931
948
#: ../../library/doctest.rst:472
932
949
msgid ""
0 commit comments