@@ -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-08 19:16 +0200\n "
18
+ "PO-Revision-Date : 2020-10-10 13:02 +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 "
@@ -2375,6 +2375,8 @@ msgstr ""
2375
2375
#: ../Doc/library/unittest.rst:1518
2376
2376
msgid "This method accepts a coroutine that can be used as a cleanup function."
2377
2377
msgstr ""
2378
+ "Este método acepta una corutina que puede ser utilizada como función de "
2379
+ "limpieza."
2378
2380
2379
2381
#: ../Doc/library/unittest.rst:1522
2380
2382
msgid ""
@@ -2385,6 +2387,12 @@ msgid ""
2385
2387
"`run`'s caller. At the end of the test all the tasks in the event loop are "
2386
2388
"cancelled."
2387
2389
msgstr ""
2390
+ "Establece un nuevo bucle de eventos para ejecutar el test, recogiendo el "
2391
+ "resultado en el objeto :class:`TestResult` pasado como *result*. Si se "
2392
+ "omite *result* o ``None``, se crea un objeto resultado temporal (llamando al "
2393
+ "método :meth:`defaultTestResult``) y se utiliza. El objeto resultante se "
2394
+ "devuelve al invocado de :meth:`run``. Al final del test se cancelan todas "
2395
+ "las tareas del bucle de eventos."
2388
2396
2389
2397
#: ../Doc/library/unittest.rst:1530
2390
2398
msgid "An example illustrating the order::"
@@ -2395,6 +2403,8 @@ msgid ""
2395
2403
"After running the test, ``events`` would contain ``[\" setUp\" , \" asyncSetUp"
2396
2404
"\" , \" test_response\" , \" asyncTearDown\" , \" tearDown\" , \" cleanup\" ]``."
2397
2405
msgstr ""
2406
+ "Después de ejecutar el test, ``events`` contendría ``[“setUp”, "
2407
+ "“asyncSetUp”, “test_response”, “asyncTearDown”, “tearDown”, “cleanup”]``."
2398
2408
2399
2409
#: ../Doc/library/unittest.rst:1571
2400
2410
msgid ""
@@ -2404,17 +2414,26 @@ msgid ""
2404
2414
"test cases using legacy test code, allowing it to be integrated into a :mod:"
2405
2415
"`unittest`-based test framework."
2406
2416
msgstr ""
2417
+ "Esta clase implementa la porción de la interfaz :class:`TestCase` que "
2418
+ "permite al corredor de tests conducir los tests, pero no proporciona los "
2419
+ "métodos que el código de test puede utilizar para comprobar e informar de "
2420
+ "los errores. Se utiliza para crear casos de test utilizando código de "
2421
+ "prueba heredado, lo que permite que se integre en un marco de tests basado "
2422
+ "en :mod:`unittest`."
2407
2423
2408
2424
#: ../Doc/library/unittest.rst:1581
2409
2425
msgid "Deprecated aliases"
2410
- msgstr "Alias deprecados "
2426
+ msgstr "Alias obsoletos "
2411
2427
2412
2428
#: ../Doc/library/unittest.rst:1583
2413
2429
msgid ""
2414
2430
"For historical reasons, some of the :class:`TestCase` methods had one or "
2415
2431
"more aliases that are now deprecated. The following table lists the correct "
2416
2432
"names along with their deprecated aliases:"
2417
2433
msgstr ""
2434
+ "Por razones históricas, algunos de los métodos de :class:`TestCase` tenían "
2435
+ "uno o más alias que ahora están obsoletos. La siguiente tabla lista los "
2436
+ "nombres correctos junto con sus alias obsoletos:"
2418
2437
2419
2438
#: ../Doc/library/unittest.rst:1588
2420
2439
msgid "Method Name"
0 commit comments