Skip to content

Commit 422d65c

Browse files
committed
a few more
1 parent b880a67 commit 422d65c

File tree

1 file changed

+24
-9
lines changed

1 file changed

+24
-9
lines changed

library/unittest.po

Lines changed: 24 additions & 9 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-08-23 11:31+0200\n"
18+
"PO-Revision-Date: 2020-08-25 01:34+0200\n"
1919
"Language-Team: python-doc-es\n"
2020
"MIME-Version: 1.0\n"
2121
"Content-Type: text/plain; charset=UTF-8\n"
@@ -56,7 +56,7 @@ msgstr ""
5656
"estructuras de pruebas unitarias más importantes de otros lenguajes. Da "
5757
"soporte a automatización de pruebas, inicialización compartida, código de "
5858
"cierre de las pruebas, agregación de las pruebas en colecciones e "
59-
"independencia de los tests de la infraestructura que los reporta"
59+
"independencia de los tests de la infraestructura que los reporta."
6060

6161
#: ../Doc/library/unittest.rst:25
6262
msgid ""
@@ -883,65 +883,80 @@ msgid ""
883883
"skipTest` within a :meth:`~TestCase.setUp` or test method, or raising :exc:"
884884
"`SkipTest` directly."
885885
msgstr ""
886+
"Omitir un test es solo cuestión de emplear el :term:`decorator` :func:"
887+
"`skip` o una de sus variantes condicionales, llamando a :meth:`TestCase."
888+
"skipTest` dentro de :meth:`~TestCase.setUp` o en un método de test, o "
889+
"lanzando :exc:`SkipTest` directamente."
886890

887891
#: ../Doc/library/unittest.rst:516
888892
msgid "Basic skipping looks like this::"
889-
msgstr ""
893+
msgstr "La omisión más básica tiene la siguiente forma:"
890894

891895
#: ../Doc/library/unittest.rst:541
892896
msgid "This is the output of running the example above in verbose mode::"
893-
msgstr ""
897+
msgstr "Esta es la salida de ejecutar el ejemplo superior en modo verboso::"
894898

895899
#: ../Doc/library/unittest.rst:553
896900
msgid "Classes can be skipped just like methods::"
897-
msgstr ""
901+
msgstr "Las clases pueden ser omitidas igual que los métodos::"
898902

899903
#: ../Doc/library/unittest.rst:560
900904
msgid ""
901905
":meth:`TestCase.setUp` can also skip the test. This is useful when a "
902906
"resource that needs to be set up is not available."
903907
msgstr ""
908+
":meth:`TestCase.setUp` puede omitir también el test. Esto es útil cuando un "
909+
"recurso que necesita ser puesto a punto no está disponible."
904910

905911
#: ../Doc/library/unittest.rst:563
906912
msgid "Expected failures use the :func:`expectedFailure` decorator. ::"
907-
msgstr ""
913+
msgstr "Los fallos esperados emplean el decorador :func:`expectedFailure`. ::"
908914

909915
#: ../Doc/library/unittest.rst:570
910916
msgid ""
911917
"It's easy to roll your own skipping decorators by making a decorator that "
912918
"calls :func:`skip` on the test when it wants it to be skipped. This "
913919
"decorator skips the test unless the passed object has a certain attribute::"
914920
msgstr ""
921+
"Es fácil lanzar tus propios decoradores que omitan haciendo un decorador que "
922+
"llame a :func:`skip` en el test cuando quiere ser omitido. Este decorador "
923+
"omite el test a menos que el objeto pasado tenga un cierto atributo::"
915924

916925
#: ../Doc/library/unittest.rst:579
917926
msgid ""
918927
"The following decorators and exception implement test skipping and expected "
919928
"failures:"
920929
msgstr ""
930+
"Los siguientes decoradores y la excepción implementan la omisión de tests y "
931+
"los fallos esperados:"
921932

922933
#: ../Doc/library/unittest.rst:583
923934
msgid ""
924935
"Unconditionally skip the decorated test. *reason* should describe why the "
925936
"test is being skipped."
926937
msgstr ""
938+
"Omitir incondicionalmente el test decorado. *reason* debe describir porqué "
939+
"el test está siendo omitido."
927940

928941
#: ../Doc/library/unittest.rst:588
929942
msgid "Skip the decorated test if *condition* is true."
930-
msgstr ""
943+
msgstr "Omitir el test decorado si *condition* es verdadero."
931944

932945
#: ../Doc/library/unittest.rst:592
933946
msgid "Skip the decorated test unless *condition* is true."
934-
msgstr ""
947+
msgstr "Omitir el test decorado a menos que *condition* sea verdadero."
935948

936949
#: ../Doc/library/unittest.rst:596
937950
msgid ""
938951
"Mark the test as an expected failure. If the test fails it will be "
939952
"considered a success. If the test passes, it will be considered a failure."
940953
msgstr ""
954+
"Marca el test como un fallo esperado. Si el test falla será considerado un "
955+
"éxito. Si el test pasa, será considerado un fallo."
941956

942957
#: ../Doc/library/unittest.rst:601
943958
msgid "This exception is raised to skip a test."
944-
msgstr ""
959+
msgstr "Esta excepción es lanzada para omitir un test."
945960

946961
#: ../Doc/library/unittest.rst:603
947962
msgid ""

0 commit comments

Comments
 (0)