@@ -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-09-25 21:31 +0200\n "
18
+ "PO-Revision-Date : 2020-10-02 08:57 +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 "
@@ -1101,6 +1101,16 @@ msgid ""
1101
1101
"the :meth:`setUp` succeeds, regardless of the outcome of the test method. "
1102
1102
"The default implementation does nothing."
1103
1103
msgstr ""
1104
+ "Método llamado inmediatamente después de que se haya llamado el método de "
1105
+ "prueba y se haya registrado el resultado. Se llama así aunque el método de "
1106
+ "ensayo haya planteado una excepción, por lo que la aplicación en las "
1107
+ "subclases puede tener que ser especialmente cuidadosa en cuanto a la "
1108
+ "comprobación del estado interno. Cualquier excepción, que no sea :exc:"
1109
+ "`AssertionError` o :exc:`SkipTest`, planteada por este método se "
1110
+ "considerará un error adicional en lugar de un fallo de la prueba (aumentando "
1111
+ "así el número total de errores reportados). Este método sólo se llamará si :"
1112
+ "meth:`setUp` tiene éxito, independientemente del resultado del método de "
1113
+ "prueba. La implementación por defecto no hace nada."
1104
1114
1105
1115
#: ../Doc/library/unittest.rst:735
1106
1116
msgid ""
@@ -1122,6 +1132,9 @@ msgid ""
1122
1132
"``tearDownClass`` is called with the class as the only argument and must be "
1123
1133
"decorated as a :meth:`classmethod`::"
1124
1134
msgstr ""
1135
+ "Un método de clase llamado después de que se hayan realizado tests en una "
1136
+ "clase individual. ``tearDownClass`` se llama con la clase como único "
1137
+ "argumento y debe ser decorado como un :meth:`classmethod`::"
1125
1138
1126
1139
#: ../Doc/library/unittest.rst:765
1127
1140
msgid ""
@@ -1130,6 +1143,11 @@ msgid ""
1130
1143
"object is created (by calling the :meth:`defaultTestResult` method) and "
1131
1144
"used. The result object is returned to :meth:`run`'s caller."
1132
1145
msgstr ""
1146
+ "Ejecutar la prueba, recogiendo el resultado en el objeto :class:"
1147
+ "`TestResult` pasado como *result*. Si se omite *result* o ``None``, se "
1148
+ "crea un objeto resultado temporal (llamando al método :meth:"
1149
+ "`defaultTestResult`) y se emplea ese. El objeto resultante se devuelve al "
1150
+ "invocador de :meth:`run`."
1133
1151
1134
1152
#: ../Doc/library/unittest.rst:771
1135
1153
msgid ""
@@ -1151,19 +1169,26 @@ msgid ""
1151
1169
"Calling this during a test method or :meth:`setUp` skips the current test. "
1152
1170
"See :ref:`unittest-skipping` for more information."
1153
1171
msgstr ""
1172
+ "Llamar a esto durante un método de prueba o :meth:`setUp` se salta el test "
1173
+ "actual. Ver :ref:`unittest-skipping` para más información."
1154
1174
1155
1175
#: ../Doc/library/unittest.rst:788
1156
1176
msgid ""
1157
1177
"Return a context manager which executes the enclosed code block as a "
1158
1178
"subtest. *msg* and *params* are optional, arbitrary values which are "
1159
1179
"displayed whenever a subtest fails, allowing you to identify them clearly."
1160
1180
msgstr ""
1181
+ "Devuelve un gestor de contexto que ejecuta el bloque de código adjunto como "
1182
+ "un subtest. *msg* y *params* son valores opcionales y arbitrarios que se "
1183
+ "muestran cuando falla un subtest, permitiéndole identificarlos claramente."
1161
1184
1162
1185
#: ../Doc/library/unittest.rst:793
1163
1186
msgid ""
1164
1187
"A test case can contain any number of subtest declarations, and they can be "
1165
1188
"arbitrarily nested."
1166
1189
msgstr ""
1190
+ "Un caso de test puede contener cualquier número de declaraciones de subtest, "
1191
+ "y pueden anidarse arbitrariamente."
1167
1192
1168
1193
#: ../Doc/library/unittest.rst:796
1169
1194
msgid "See :ref:`subtests` for more information."
@@ -1175,13 +1200,20 @@ msgid ""
1175
1200
"by the test to be propagated to the caller, and can be used to support "
1176
1201
"running tests under a debugger."
1177
1202
msgstr ""
1203
+ "Realice el test sin recoger el resultado. Esto permite que las excepciones "
1204
+ "planteadas por el test se propaguen al invocado, y puede utilizarse para "
1205
+ "apoyar la ejecución de tests bajo un depurador."
1178
1206
1179
1207
#: ../Doc/library/unittest.rst:809
1180
1208
msgid ""
1181
1209
"The :class:`TestCase` class provides several assert methods to check for and "
1182
1210
"report failures. The following table lists the most commonly used methods "
1183
1211
"(see the tables below for more assert methods):"
1184
1212
msgstr ""
1213
+ "La clase :class:`TestCase` proporciona varios métodos de afirmación para "
1214
+ "comprobar y reportar fallos. En la siguiente tabla se enumeran los métodos "
1215
+ "más utilizados (consulte las tablas siguientes para ver más métodos de "
1216
+ "afirmación):"
1185
1217
1186
1218
#: ../Doc/library/unittest.rst:814 ../Doc/library/unittest.rst:936
1187
1219
#: ../Doc/library/unittest.rst:1128 ../Doc/library/unittest.rst:1255
@@ -1446,7 +1478,7 @@ msgstr ":meth:`assertLogs(logger, level) <TestCase.assertLogs>`"
1446
1478
1447
1479
#: ../Doc/library/unittest.rst:950
1448
1480
msgid "The ``with`` block logs on *logger* with minimum *level*"
1449
- msgstr "El bloque ``with`` vuelca sus logs a *logger* con el *level* mínimo. "
1481
+ msgstr "El bloque ``with`` vuelca sus logs a *logger* con el *level* mínimo"
1450
1482
1451
1483
#: ../Doc/library/unittest.rst:950
1452
1484
msgid "3.4"
@@ -1699,16 +1731,23 @@ msgid ""
1699
1731
"the values to the given number of *decimal places* (i.e. like the :func:"
1700
1732
"`round` function) and not *significant digits*."
1701
1733
msgstr ""
1734
+ "Testea que *first* y *second* son aproximadamente (o no aproximadamente) "
1735
+ "iguales calculando su diferencia, redondeando al número dado de puntos "
1736
+ "*places* decimales (por defecto 7), y comparado a cero. Nótese que estos "
1737
+ "métodos redondean los valores al número dado de *puntos decimales* (por "
1738
+ "ejemplo como la función :func:`round`) y no *cifras significativas*."
1702
1739
1703
1740
#: ../Doc/library/unittest.rst:1169
1704
1741
msgid ""
1705
1742
"If *delta* is supplied instead of *places* then the difference between "
1706
1743
"*first* and *second* must be less or equal to (or greater than) *delta*."
1707
1744
msgstr ""
1745
+ "Si se suministra *delta* en vez de *places* que entonces la diferencia entre "
1746
+ "*first* y *second* deba ser menor o igual a (o mayor que) *delta*."
1708
1747
1709
1748
#: ../Doc/library/unittest.rst:1172
1710
1749
msgid "Supplying both *delta* and *places* raises a :exc:`TypeError`."
1711
- msgstr ""
1750
+ msgstr "Suministrar tanto *delta* como *places* lanza un :exc:`TypeError`. "
1712
1751
1713
1752
#: ../Doc/library/unittest.rst:1174
1714
1753
msgid ""
@@ -3194,6 +3233,8 @@ msgid ""
3194
3233
"To add cleanup code that must be run even in the case of an exception, use "
3195
3234
"``addModuleCleanup``:"
3196
3235
msgstr ""
3236
+ "Para agregar código de limpieza que se debe ejecutar incluso en el caso de "
3237
+ "una excepción, utilice ``addModuleCleanup``::"
3197
3238
3198
3239
#: ../Doc/library/unittest.rst:2394
3199
3240
msgid ""
@@ -3260,6 +3301,9 @@ msgid ""
3260
3301
"There are a few utility functions for framework authors to enable control-c "
3261
3302
"handling functionality within test frameworks."
3262
3303
msgstr ""
3304
+ "Hay algunas funciones de utilidad para que los autores de marcos de trabajo "
3305
+ "habiliten la funcionalidad de control de control-c dentro de los marcos de "
3306
+ "prueba."
3263
3307
3264
3308
#: ../Doc/library/unittest.rst:2447
3265
3309
msgid ""
@@ -3288,10 +3332,16 @@ msgid ""
3288
3332
"`~TestResult.stop` will no longer be called on that result object in "
3289
3333
"response to a control-c."
3290
3334
msgstr ""
3335
+ "Elimine un resultado registrado. Una vez que un resultado ha sido "
3336
+ "eliminado, :meth:`~TestResult.stop` ya no se llamará en ese objeto de "
3337
+ "resultado en respuesta a un control-c."
3291
3338
3292
3339
#: ../Doc/library/unittest.rst:2472
3293
3340
msgid ""
3294
3341
"When called without arguments this function removes the control-c handler if "
3295
3342
"it has been installed. This function can also be used as a test decorator to "
3296
3343
"temporarily remove the handler while the test is being executed::"
3297
3344
msgstr ""
3345
+ "Cuando se llama sin argumentos, esta función quita el gestor control-c si se "
3346
+ "ha instalado. Esta función también se puede utilizar como decorador de tests "
3347
+ "para quitar temporalmente el controlador mientras se ejecuta el test::"
0 commit comments