Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfbf7721

Browse files
committed
progress to 75%
1 parent4ef73a4 commitfbf7721

File tree

1 file changed

+35
-3
lines changed

1 file changed

+35
-3
lines changed

‎library/unittest.po

Lines changed: 35 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-10-10 13:02+0200\n"
18+
"PO-Revision-Date:2020-10-11 14:51+0200\n"
1919
"Language-Team:python-doc-es\n"
2020
"MIME-Version:1.0\n"
2121
"Content-Type:text/plain; charset=UTF-8\n"
@@ -2607,22 +2607,31 @@ msgid ""
26072607
"additional methods are available to add tests to :class:`TestSuite` "
26082608
"instances:"
26092609
msgstr""
2610+
"Los objetos de :class:`TestSuite` se comportan de manera muy parecida a los "
2611+
"objetos de :class:`TestCase`, excepto que no implementan un test. En "
2612+
"cambio, se usan para agregar tests en grupos de tests que deben ser "
2613+
"ejecutados juntos. Existen algunos métodos adicionales para agregar tests a "
2614+
"las instancias de :class:`TestSuite`:"
26102615

26112616
#:../Doc/library/unittest.rst:1636
26122617
msgid"Add a :class:`TestCase` or :class:`TestSuite` to the suite."
2613-
msgstr""
2618+
msgstr"Añade un :class:`TestCase` o :class:`TestSuite` al conjunto."
26142619

26152620
#:../Doc/library/unittest.rst:1641
26162621
msgid""
26172622
"Add all the tests from an iterable of :class:`TestCase` and :class:"
26182623
"`TestSuite` instances to this test suite."
26192624
msgstr""
2625+
"Añade todos los tests de un iterable de :class:`TestCase` y :class:"
2626+
"`TestSuite` a este conjunto de tests."
26202627

26212628
#:../Doc/library/unittest.rst:1644
26222629
msgid""
26232630
"This is equivalent to iterating over *tests*, calling :meth:`addTest` for "
26242631
"each element."
26252632
msgstr""
2633+
"Esto equivale a iterar sobre *tests*, llamando a :meth:`addTest` para cada "
2634+
"elemento."
26262635

26272636
#:../Doc/library/unittest.rst:1647
26282637
msgid":class:`TestSuite` shares the following methods with :class:`TestCase`:"
@@ -2635,6 +2644,10 @@ msgid ""
26352644
"test result object passed as *result*. Note that unlike :meth:`TestCase."
26362645
"run`, :meth:`TestSuite.run` requires the result object to be passed in."
26372646
msgstr""
2647+
"Ejecuta los tests asociados a este conjunto, recogiendo el resultado en el "
2648+
"objeto de resultado del test pasado como *result*. Tenga en cuenta que a "
2649+
"diferencia de :meth:`TestCase.run`, :meth:`TestSuite.run` requiere que se "
2650+
"pase el objeto resultado."
26382651

26392652
#:../Doc/library/unittest.rst:1660
26402653
msgid""
@@ -2645,7 +2658,7 @@ msgstr ""
26452658
"Ejecuta los tests asociados con este conjunto sin recoger los resultados. "
26462659
"Esto permite que las excepciones lanzadas por este test sean propagadas al "
26472660
"invocador y puedes ser usadas para apoyar tests que están ejecutándose con "
2648-
"un debugger"
2661+
"un debugger."
26492662

26502663
#:../Doc/library/unittest.rst:1667
26512664
msgid""
@@ -2666,26 +2679,45 @@ msgid ""
26662679
"tests returned by this method unless the caller uses a subclass that "
26672680
"overrides :meth:`TestSuite._removeTestAtIndex` to preserve test references."
26682681
msgstr""
2682+
"Los tests agrupados por una :class:`TestSuite` se acceden siempre por "
2683+
"iteración. Las subclases pueden proporcionar tests anulando :meth:"
2684+
"`__iter__`. Tenga en cuenta que este método puede ser invocado varias veces "
2685+
"en un mismo conjunto (por ejemplo, cuando se cuentan los tests o se comparan "
2686+
"por igualdad), por lo que los tests retornados por iteraciones repetidas "
2687+
"antes de :meth:`TestSuite.run` deben ser los mismos para cada iteración de "
2688+
"invocación. Después de :meth:`TestSuite.run`, los invocados no deben confiar "
2689+
"en los tests retornados por este método a menos que el invocado utilice una "
2690+
"subclase que anule :meth:`TestSuite._removeTestAtIndex` para preservar las "
2691+
"referencias de los tests."
26692692

26702693
#:../Doc/library/unittest.rst:1683
26712694
msgid""
26722695
"In earlier versions the :class:`TestSuite` accessed tests directly rather "
26732696
"than through iteration, so overriding :meth:`__iter__` wasn't sufficient for "
26742697
"providing tests."
26752698
msgstr""
2699+
"En versiones anteriores la :class:`TestSuite` accedía a los test "
2700+
"directamente en lugar de a través de la iteración, por lo que anular :meth:"
2701+
"`__iter__` no era suficiente para proporcionar los tests."
26762702

26772703
#:../Doc/library/unittest.rst:1688
26782704
msgid""
26792705
"In earlier versions the :class:`TestSuite` held references to each :class:"
26802706
"`TestCase` after :meth:`TestSuite.run`. Subclasses can restore that behavior "
26812707
"by overriding :meth:`TestSuite._removeTestAtIndex`."
26822708
msgstr""
2709+
"En versiones anteriores, la :class:`TestSuite` tenía referencias a cada :"
2710+
"class:`TestCase` después de :meth:`TestSuite.run`. Las subclases pueden "
2711+
"restaurar ese comportamiento anulando :meth:`TestSuite._removeTestAtIndex`."
26832712

26842713
#:../Doc/library/unittest.rst:1693
26852714
msgid""
26862715
"In the typical usage of a :class:`TestSuite` object, the :meth:`run` method "
26872716
"is invoked by a :class:`TestRunner` rather than by the end-user test harness."
26882717
msgstr""
2718+
"En el uso típico de un objeto :class:`TestSuite`, el método :meth:`run` es "
2719+
"invocado por un :class:`TestRunner` en lugar de por el marco de test de "
2720+
"pruebas automático del usuario final."
26892721

26902722
#:../Doc/library/unittest.rst:1698
26912723
msgid"Loading and running tests"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp