@@ -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-08-26 12:30 +0200\n "
18
+ "PO-Revision-Date : 2020-08-28 14:54 +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 "
@@ -963,6 +963,8 @@ msgid ""
963
963
"Usually you can use :meth:`TestCase.skipTest` or one of the skipping "
964
964
"decorators instead of raising this directly."
965
965
msgstr ""
966
+ "Normalmente puedes usar directamente :meth:`TestCase.skipTest` o uno de los "
967
+ "decoradores de omisión en vez de lanzar esta excepción."
966
968
967
969
#: ../Doc/library/unittest.rst:606
968
970
msgid ""
@@ -971,44 +973,54 @@ msgid ""
971
973
"setUpClass` or :meth:`~TestCase.tearDownClass` run. Skipped modules will not "
972
974
"have :func:`setUpModule` or :func:`tearDownModule` run."
973
975
msgstr ""
976
+ "Los tests omitidos no ejecutarán :meth:`~TestCase.setUp` o :meth:`~TestCase."
977
+ "tearDown`. Las clases omitidas no ejecutarán :meth:`~TestCase.setUpClass` o :"
978
+ "meth:`~TestCase.tearDownClass`. Los módulos omitidos no ejecutarán :func:"
979
+ "`setUpModule` o :func:`tearDownModule`."
974
980
975
981
#: ../Doc/library/unittest.rst:614
976
982
msgid "Distinguishing test iterations using subtests"
977
- msgstr ""
983
+ msgstr "Distinguiendo iteraciones de tests empleando subtests. "
978
984
979
985
#: ../Doc/library/unittest.rst:618
980
986
msgid ""
981
987
"When there are very small differences among your tests, for instance some "
982
988
"parameters, unittest allows you to distinguish them inside the body of a "
983
989
"test method using the :meth:`~TestCase.subTest` context manager."
984
990
msgstr ""
991
+ "Cuando hay diferencias muy pequeñas entre tus tests, por ejemplo algunos "
992
+ "parámetros, unittest te permite distinguirlos dentro del cuerpo de un método "
993
+ "de test empleando el administrador de contexto :meth:`~TestCase.subTest` ."
985
994
986
995
#: ../Doc/library/unittest.rst:622
987
996
msgid "For example, the following test::"
988
- msgstr "Por ejemplo, la siguiente prueba ::"
997
+ msgstr "Por ejemplo, el siguiente test ::"
989
998
990
999
#: ../Doc/library/unittest.rst:634
991
1000
msgid "will produce the following output::"
992
- msgstr ""
1001
+ msgstr "producirá la siguiente salida: "
993
1002
994
1003
#: ../Doc/library/unittest.rst:660
995
1004
msgid ""
996
1005
"Without using a subtest, execution would stop after the first failure, and "
997
1006
"the error would be less easy to diagnose because the value of ``i`` wouldn't "
998
1007
"be displayed::"
999
1008
msgstr ""
1009
+ "Sin usar un subtest, la ejecución se pararía después del primer fallo, y el "
1010
+ "error sería más difícil de diagnosticar porque el valor de ``i`` no se "
1011
+ "mostraría."
1000
1012
1001
1013
#: ../Doc/library/unittest.rst:676
1002
1014
msgid "Classes and functions"
1003
- msgstr ""
1015
+ msgstr "Clases y funciones "
1004
1016
1005
1017
#: ../Doc/library/unittest.rst:678
1006
1018
msgid "This section describes in depth the API of :mod:`unittest`."
1007
- msgstr ""
1019
+ msgstr "Esta sección describe en detalle la API de :mod:`unittest`. "
1008
1020
1009
1021
#: ../Doc/library/unittest.rst:684
1010
1022
msgid "Test cases"
1011
- msgstr ""
1023
+ msgstr "Casos de test "
1012
1024
1013
1025
#: ../Doc/library/unittest.rst:688
1014
1026
msgid ""
@@ -1019,20 +1031,34 @@ msgid ""
1019
1031
"drive the tests, and methods that the test code can use to check for and "
1020
1032
"report various kinds of failure."
1021
1033
msgstr ""
1034
+ "Las instancias de la clase :class:`TestCase` representan las unidades "
1035
+ "lógicas de test en el universo de :mod:`unittest`. Esta clase está pensada "
1036
+ "para ser utilizada como clase base, con los test específicos siendo "
1037
+ "implementados por subclases concretas. Esta clase implementa la interfaz que "
1038
+ "necesita el ejecutor de tests para permitirle llevar a cabo los tests, y "
1039
+ "métodos que el código de test puede utilizar para chequear y reportar "
1040
+ "distintos tipos de fallo."
1022
1041
1023
1042
#: ../Doc/library/unittest.rst:695
1024
1043
msgid ""
1025
1044
"Each instance of :class:`TestCase` will run a single base method: the method "
1026
1045
"named *methodName*. In most uses of :class:`TestCase`, you will neither "
1027
1046
"change the *methodName* nor reimplement the default ``runTest()`` method."
1028
1047
msgstr ""
1048
+ "Cada instancia de :class:`TestCase` ejecutará un solo método base: el "
1049
+ "método llamado *methodName*. En la mayoría de usos de :class:`TestCase`, no "
1050
+ "tendrás que cambiar el *methodName* ni reimplementar el método por defecto "
1051
+ "``runTest()``."
1029
1052
1030
1053
#: ../Doc/library/unittest.rst:700
1031
1054
msgid ""
1032
1055
":class:`TestCase` can be instantiated successfully without providing a "
1033
1056
"*methodName*. This makes it easier to experiment with :class:`TestCase` from "
1034
1057
"the interactive interpreter."
1035
1058
msgstr ""
1059
+ ":class:`TestCase` puede instancias con éxito sin dar un *methodName*. Esto "
1060
+ "permite experimentar de manera sencilla con :class:`TestCase` en el "
1061
+ "intérprete interactivo."
1036
1062
1037
1063
#: ../Doc/library/unittest.rst:705
1038
1064
msgid ""
@@ -1041,10 +1067,14 @@ msgid ""
1041
1067
"and report failures, and some inquiry methods allowing information about the "
1042
1068
"test itself to be gathered."
1043
1069
msgstr ""
1070
+ "Las instancias de :class:`TestCase` proveen tres grupos de métodos: un "
1071
+ "grupo empleado para ejecutar el test, otro usado para que la implementación "
1072
+ "del test chequee condiciones y reporte fallos, y algunos métodos de "
1073
+ "indagación que permiten recopilar información sobre el test en si mismo."
1044
1074
1045
1075
#: ../Doc/library/unittest.rst:710
1046
1076
msgid "Methods in the first group (running the test) are:"
1047
- msgstr ""
1077
+ msgstr "Los métodos en el primer grupo (ejecutando el test) son: "
1048
1078
1049
1079
#: ../Doc/library/unittest.rst:714
1050
1080
msgid ""
@@ -1053,6 +1083,11 @@ msgid ""
1053
1083
"`SkipTest`, any exception raised by this method will be considered an error "
1054
1084
"rather than a test failure. The default implementation does nothing."
1055
1085
msgstr ""
1086
+ "Método llamado para preparar el banco de test. Es invocado inmediatamente "
1087
+ "antes de llamar al método de test; cualquier excepción lanzada por este "
1088
+ "método que no sea :exc:`AssertionError` o :exc:`SkipTest` será considerada "
1089
+ "un error en vez de un fallo del test. La implementación por defecto no hace "
1090
+ "nada."
1056
1091
1057
1092
#: ../Doc/library/unittest.rst:722
1058
1093
msgid ""
@@ -1144,17 +1179,17 @@ msgstr ""
1144
1179
#: ../Doc/library/unittest.rst:814 ../Doc/library/unittest.rst:936
1145
1180
#: ../Doc/library/unittest.rst:1128 ../Doc/library/unittest.rst:1255
1146
1181
msgid "Method"
1147
- msgstr ""
1182
+ msgstr "Método "
1148
1183
1149
1184
#: ../Doc/library/unittest.rst:814 ../Doc/library/unittest.rst:936
1150
1185
#: ../Doc/library/unittest.rst:1128
1151
1186
msgid "Checks that"
1152
- msgstr ""
1187
+ msgstr "Comprueba que "
1153
1188
1154
1189
#: ../Doc/library/unittest.rst:814 ../Doc/library/unittest.rst:936
1155
1190
#: ../Doc/library/unittest.rst:1128 ../Doc/library/unittest.rst:1255
1156
1191
msgid "New in"
1157
- msgstr ""
1192
+ msgstr "Nuevo en "
1158
1193
1159
1194
#: ../Doc/library/unittest.rst:816
1160
1195
msgid ":meth:`assertEqual(a, b) <TestCase.assertEqual>`"
@@ -1190,11 +1225,11 @@ msgstr "``bool(x) is False``"
1190
1225
1191
1226
#: ../Doc/library/unittest.rst:828
1192
1227
msgid ":meth:`assertIs(a, b) <TestCase.assertIs>`"
1193
- msgstr ""
1228
+ msgstr ":meth:`assertIs(a, b) <TestCase.assertIs>` "
1194
1229
1195
1230
#: ../Doc/library/unittest.rst:828
1196
1231
msgid "``a is b``"
1197
- msgstr ""
1232
+ msgstr "``a is b`` "
1198
1233
1199
1234
#: ../Doc/library/unittest.rst:828 ../Doc/library/unittest.rst:831
1200
1235
#: ../Doc/library/unittest.rst:834 ../Doc/library/unittest.rst:837
@@ -1206,27 +1241,27 @@ msgstr ""
1206
1241
#: ../Doc/library/unittest.rst:1263 ../Doc/library/unittest.rst:1266
1207
1242
#: ../Doc/library/unittest.rst:1269 ../Doc/library/unittest.rst:1272
1208
1243
msgid "3.1"
1209
- msgstr ""
1244
+ msgstr "3.1 "
1210
1245
1211
1246
#: ../Doc/library/unittest.rst:831
1212
1247
msgid ":meth:`assertIsNot(a, b) <TestCase.assertIsNot>`"
1213
- msgstr ""
1248
+ msgstr ":meth:`assertIsNot(a, b) <TestCase.assertIsNot>` "
1214
1249
1215
1250
#: ../Doc/library/unittest.rst:831
1216
1251
msgid "``a is not b``"
1217
- msgstr ""
1252
+ msgstr "``a is not b`` "
1218
1253
1219
1254
#: ../Doc/library/unittest.rst:834
1220
1255
msgid ":meth:`assertIsNone(x) <TestCase.assertIsNone>`"
1221
- msgstr ""
1256
+ msgstr ":meth:`assertIsNone(x) <TestCase.assertIsNone>` "
1222
1257
1223
1258
#: ../Doc/library/unittest.rst:834
1224
1259
msgid "``x is None``"
1225
- msgstr ""
1260
+ msgstr "``x is None`` "
1226
1261
1227
1262
#: ../Doc/library/unittest.rst:837
1228
1263
msgid ":meth:`assertIsNotNone(x) <TestCase.assertIsNotNone>`"
1229
- msgstr ""
1264
+ msgstr ":meth:`assertIsNotNone(x) <TestCase.assertIsNotNone>` "
1230
1265
1231
1266
#: ../Doc/library/unittest.rst:837
1232
1267
msgid "``x is not None``"
0 commit comments