Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit7f36a39

Browse files
committed
before test hacktober
1 parent3604588 commit7f36a39

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

‎library/unittest.po

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgstr ""
1515
"Project-Id-Version:Python 3.8\n"
1616
"Report-Msgid-Bugs-To:\n"
1717
"POT-Creation-Date:2020-05-05 12:54+0200\n"
18-
"PO-Revision-Date:2020-10-02 08:57+0200\n"
18+
"PO-Revision-Date:2020-10-03 12:28+0200\n"
1919
"Language-Team:python-doc-es\n"
2020
"MIME-Version:1.0\n"
2121
"Content-Type:text/plain; charset=UTF-8\n"
@@ -1493,39 +1493,56 @@ msgid ""
14931493
"any of a group of exceptions, a tuple containing the exception classes may "
14941494
"be passed as *exception*."
14951495
msgstr""
1496+
"Testea que se lanza una excepción cuando se llama a *callable* con cualquier "
1497+
"argumento posicional o de palabra clave que también se pasa a :meth:"
1498+
"`assertRaises`. El test pasa si se lanza *exception*, es un error si se "
1499+
"lanza otra excepción, o falla si no se lanza ninguna excepción. Para tener "
1500+
"en cuenta cualquiera de un grupo de excepciones, una tupla que contenga las "
1501+
"clases de excepción puede ser pasada como *exception*."
14961502

14971503
#:../Doc/library/unittest.rst:964
14981504
msgid""
14991505
"If only the *exception* and possibly the *msg* arguments are given, return a "
15001506
"context manager so that the code under test can be written inline rather "
15011507
"than as a function::"
15021508
msgstr""
1509+
"Si sólo se dan los argumentos de *exception* y posiblemente *msg*, retorna "
1510+
"un administrador de contexto para que el código testado pueda ser escrito en "
1511+
"línea en lugar de como una función::"
15031512

15041513
#:../Doc/library/unittest.rst:971
15051514
msgid""
15061515
"When used as a context manager, :meth:`assertRaises` accepts the additional "
15071516
"keyword argument *msg*."
15081517
msgstr""
1518+
"Cuando se emplea como un administrador de contexto, :meth:`assertRaises` "
1519+
"acepta el argumento por palabra clave adicional *msg*."
15091520

15101521
#:../Doc/library/unittest.rst:974
15111522
msgid""
15121523
"The context manager will store the caught exception object in its :attr:"
15131524
"`exception` attribute. This can be useful if the intention is to perform "
15141525
"additional checks on the exception raised::"
15151526
msgstr""
1527+
"El gestor de contexto almacenará el objeto de excepción capturado en su "
1528+
"atributo :attr:`exception` . Esto puede ser útil si la intención es "
1529+
"realizar comprobaciones adicionales sobre la excepción planteada::"
15161530

15171531
#:../Doc/library/unittest.rst:984
15181532
msgid"Added the ability to use :meth:`assertRaises` as a context manager."
15191533
msgstr""
1534+
"Añadió la capacidad de usar :meth:`assertRaises`como gestor de contexto."
15201535

15211536
#:../Doc/library/unittest.rst:987
15221537
msgid"Added the :attr:`exception` attribute."
1523-
msgstr""
1538+
msgstr"Añadido el atributo :attr:`exception` ."
15241539

15251540
#:../Doc/library/unittest.rst:990../Doc/library/unittest.rst:1016
15261541
#:../Doc/library/unittest.rst:1057../Doc/library/unittest.rst:1080
15271542
msgid"Added the *msg* keyword argument when used as a context manager."
15281543
msgstr""
1544+
"Añadido el argumento por palabra clave *msg* cuando se emplea un gestor de "
1545+
"contexto."
15291546

15301547
#:../Doc/library/unittest.rst:997
15311548
msgid""
@@ -1541,11 +1558,11 @@ msgstr "o::"
15411558

15421559
#:../Doc/library/unittest.rst:1010
15431560
msgid"Added under the name ``assertRaisesRegexp``."
1544-
msgstr""
1561+
msgstr"Añadido bajo el nombre de ``assertRaisesRegexp``."
15451562

15461563
#:../Doc/library/unittest.rst:1013
15471564
msgid"Renamed to :meth:`assertRaisesRegex`."
1548-
msgstr""
1565+
msgstr"Renombrado a :meth:`assertRaisesRegex`."
15491566

15501567
#:../Doc/library/unittest.rst:1023
15511568
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp