Skip to content

Commit cf74e91

Browse files
committed
completed to 55%
1 parent 0aa90e5 commit cf74e91

File tree

1 file changed

+53
-3
lines changed

1 file changed

+53
-3
lines changed

library/unittest.po

Lines changed: 53 additions & 3 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-09-25 21:31+0200\n"
18+
"PO-Revision-Date: 2020-10-02 08:57+0200\n"
1919
"Language-Team: python-doc-es\n"
2020
"MIME-Version: 1.0\n"
2121
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1101,6 +1101,16 @@ msgid ""
11011101
"the :meth:`setUp` succeeds, regardless of the outcome of the test method. "
11021102
"The default implementation does nothing."
11031103
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."
11041114

11051115
#: ../Doc/library/unittest.rst:735
11061116
msgid ""
@@ -1122,6 +1132,9 @@ msgid ""
11221132
"``tearDownClass`` is called with the class as the only argument and must be "
11231133
"decorated as a :meth:`classmethod`::"
11241134
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`::"
11251138

11261139
#: ../Doc/library/unittest.rst:765
11271140
msgid ""
@@ -1130,6 +1143,11 @@ msgid ""
11301143
"object is created (by calling the :meth:`defaultTestResult` method) and "
11311144
"used. The result object is returned to :meth:`run`'s caller."
11321145
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`."
11331151

11341152
#: ../Doc/library/unittest.rst:771
11351153
msgid ""
@@ -1151,19 +1169,26 @@ msgid ""
11511169
"Calling this during a test method or :meth:`setUp` skips the current test. "
11521170
"See :ref:`unittest-skipping` for more information."
11531171
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."
11541174

11551175
#: ../Doc/library/unittest.rst:788
11561176
msgid ""
11571177
"Return a context manager which executes the enclosed code block as a "
11581178
"subtest. *msg* and *params* are optional, arbitrary values which are "
11591179
"displayed whenever a subtest fails, allowing you to identify them clearly."
11601180
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."
11611184

11621185
#: ../Doc/library/unittest.rst:793
11631186
msgid ""
11641187
"A test case can contain any number of subtest declarations, and they can be "
11651188
"arbitrarily nested."
11661189
msgstr ""
1190+
"Un caso de test puede contener cualquier número de declaraciones de subtest, "
1191+
"y pueden anidarse arbitrariamente."
11671192

11681193
#: ../Doc/library/unittest.rst:796
11691194
msgid "See :ref:`subtests` for more information."
@@ -1175,13 +1200,20 @@ msgid ""
11751200
"by the test to be propagated to the caller, and can be used to support "
11761201
"running tests under a debugger."
11771202
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."
11781206

11791207
#: ../Doc/library/unittest.rst:809
11801208
msgid ""
11811209
"The :class:`TestCase` class provides several assert methods to check for and "
11821210
"report failures. The following table lists the most commonly used methods "
11831211
"(see the tables below for more assert methods):"
11841212
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):"
11851217

11861218
#: ../Doc/library/unittest.rst:814 ../Doc/library/unittest.rst:936
11871219
#: ../Doc/library/unittest.rst:1128 ../Doc/library/unittest.rst:1255
@@ -1446,7 +1478,7 @@ msgstr ":meth:`assertLogs(logger, level) <TestCase.assertLogs>`"
14461478

14471479
#: ../Doc/library/unittest.rst:950
14481480
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"
14501482

14511483
#: ../Doc/library/unittest.rst:950
14521484
msgid "3.4"
@@ -1699,16 +1731,23 @@ msgid ""
16991731
"the values to the given number of *decimal places* (i.e. like the :func:"
17001732
"`round` function) and not *significant digits*."
17011733
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*."
17021739

17031740
#: ../Doc/library/unittest.rst:1169
17041741
msgid ""
17051742
"If *delta* is supplied instead of *places* then the difference between "
17061743
"*first* and *second* must be less or equal to (or greater than) *delta*."
17071744
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*."
17081747

17091748
#: ../Doc/library/unittest.rst:1172
17101749
msgid "Supplying both *delta* and *places* raises a :exc:`TypeError`."
1711-
msgstr ""
1750+
msgstr "Suministrar tanto *delta* como *places* lanza un :exc:`TypeError`."
17121751

17131752
#: ../Doc/library/unittest.rst:1174
17141753
msgid ""
@@ -3194,6 +3233,8 @@ msgid ""
31943233
"To add cleanup code that must be run even in the case of an exception, use "
31953234
"``addModuleCleanup``:"
31963235
msgstr ""
3236+
"Para agregar código de limpieza que se debe ejecutar incluso en el caso de "
3237+
"una excepción, utilice ``addModuleCleanup``::"
31973238

31983239
#: ../Doc/library/unittest.rst:2394
31993240
msgid ""
@@ -3260,6 +3301,9 @@ msgid ""
32603301
"There are a few utility functions for framework authors to enable control-c "
32613302
"handling functionality within test frameworks."
32623303
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."
32633307

32643308
#: ../Doc/library/unittest.rst:2447
32653309
msgid ""
@@ -3288,10 +3332,16 @@ msgid ""
32883332
"`~TestResult.stop` will no longer be called on that result object in "
32893333
"response to a control-c."
32903334
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."
32913338

32923339
#: ../Doc/library/unittest.rst:2472
32933340
msgid ""
32943341
"When called without arguments this function removes the control-c handler if "
32953342
"it has been installed. This function can also be used as a test decorator to "
32963343
"temporarily remove the handler while the test is being executed::"
32973344
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

Comments
 (0)