@@ -15,7 +15,7 @@ msgstr ""
15
15
"Project-Id-Version : Python 3.8\n "
16
16
"Report-Msgid-Bugs-To : \n "
17
17
"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 "
19
19
"Language-Team : python-doc-es\n "
20
20
"MIME-Version : 1.0\n "
21
21
"Content-Type : text/plain; charset=UTF-8\n "
@@ -1493,39 +1493,56 @@ msgid ""
1493
1493
"any of a group of exceptions, a tuple containing the exception classes may "
1494
1494
"be passed as *exception*."
1495
1495
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*."
1496
1502
1497
1503
#: ../Doc/library/unittest.rst:964
1498
1504
msgid ""
1499
1505
"If only the *exception* and possibly the *msg* arguments are given, return a "
1500
1506
"context manager so that the code under test can be written inline rather "
1501
1507
"than as a function::"
1502
1508
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::"
1503
1512
1504
1513
#: ../Doc/library/unittest.rst:971
1505
1514
msgid ""
1506
1515
"When used as a context manager, :meth:`assertRaises` accepts the additional "
1507
1516
"keyword argument *msg*."
1508
1517
msgstr ""
1518
+ "Cuando se emplea como un administrador de contexto, :meth:`assertRaises` "
1519
+ "acepta el argumento por palabra clave adicional *msg*."
1509
1520
1510
1521
#: ../Doc/library/unittest.rst:974
1511
1522
msgid ""
1512
1523
"The context manager will store the caught exception object in its :attr:"
1513
1524
"`exception` attribute. This can be useful if the intention is to perform "
1514
1525
"additional checks on the exception raised::"
1515
1526
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::"
1516
1530
1517
1531
#: ../Doc/library/unittest.rst:984
1518
1532
msgid "Added the ability to use :meth:`assertRaises` as a context manager."
1519
1533
msgstr ""
1534
+ "Añadió la capacidad de usar :meth:`assertRaises`como gestor de contexto."
1520
1535
1521
1536
#: ../Doc/library/unittest.rst:987
1522
1537
msgid "Added the :attr:`exception` attribute."
1523
- msgstr ""
1538
+ msgstr "Añadido el atributo :attr:`exception` . "
1524
1539
1525
1540
#: ../Doc/library/unittest.rst:990 ../Doc/library/unittest.rst:1016
1526
1541
#: ../Doc/library/unittest.rst:1057 ../Doc/library/unittest.rst:1080
1527
1542
msgid "Added the *msg* keyword argument when used as a context manager."
1528
1543
msgstr ""
1544
+ "Añadido el argumento por palabra clave *msg* cuando se emplea un gestor de "
1545
+ "contexto."
1529
1546
1530
1547
#: ../Doc/library/unittest.rst:997
1531
1548
msgid ""
@@ -1541,11 +1558,11 @@ msgstr "o::"
1541
1558
1542
1559
#: ../Doc/library/unittest.rst:1010
1543
1560
msgid "Added under the name ``assertRaisesRegexp``."
1544
- msgstr ""
1561
+ msgstr "Añadido bajo el nombre de ``assertRaisesRegexp``. "
1545
1562
1546
1563
#: ../Doc/library/unittest.rst:1013
1547
1564
msgid "Renamed to :meth:`assertRaisesRegex`."
1548
- msgstr ""
1565
+ msgstr "Renombrado a :meth:`assertRaisesRegex`. "
1549
1566
1550
1567
#: ../Doc/library/unittest.rst:1023
1551
1568
msgid ""
0 commit comments