- Notifications
You must be signed in to change notification settings - Fork396
Continuing the translation of unittest#651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
137 commits Select commitHold shift + click to select a range
6e5aeea
included the file from rapto and the per-file dictionary
clacri6ff2b65
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri05c2e5b
Apply suggestions from code review
clacri6e0553f
Update library/unittest.po
clacri0c5dd00
Update library/unittest.po
clacri1100a91
Update library/unittest.po
clacrif7f2f84
Update library/unittest.po
clacri5fdc573
Update library/unittest.po
clacri88af811
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri04cb4e6
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri2e71650
Update library/unittest.po
clacrid1c17b3
added tests
clacri0a553d4
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacriaabab5c
before updating
clacricb9dfce
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri6c81d40
testing
clacri8a02f89
Update library/unittest.po
clacri2eb49fe
Update library/unittest.po
clacrid5277be
Update library/unittest.po
clacri023f782
Update library/unittest.po
clacri42ec7e4
Update library/unittest.po
clacri6abae71
Update library/unittest.po
clacri5741294
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacriafeb9db
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri39effc0
testing first commit with my translation
clacria916fc3
testing first commit with my translation
clacrib880a67
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri422d65c
a few more
clacri7998f09
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri408af5e
test to solve build errors
clacri1e02dd9
included a missing mod reference
clacri615258d
remove an added class reference
clacri50f621a
solving warning
clacriff83b0a
reproduce error
clacri01cfa9a
quitando el unittest mod que sobraba
clacri5ab2fc0
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri26dd96c
test with pre-commit
clacri2d824a6
ejemplo fuzzy
clacri18c6008
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri93c7481
progress to 30%
clacri6e6de66
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri847f2c4
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacrib3f0bbd
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacria1e95f7
progress to 35%
clacri8110b05
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri6defc20
translated to 40%
clacri1f1c2dd
translated to 45%
clacri468c40e
traduccion al 50%
clacri0df93da
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri1188c3a
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri05e90e9
before sorting
clacri0aa90e5
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacricf74e91
completed to 55%
clacri3604588
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri7f36a39
before test hacktober
clacri2090af8
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri4524aa2
translated to 60%
clacri85630b9
translated to 65%
clacri0d5a450
translated to 70%
clacri1bc26eb
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri14db9ba
solving build problem
clacri26be935
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri444b5b2
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri81a722f
signal handling
clacri783809f
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri46bd96f
Update library/unittest.po
clacrif8fbbe7
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri6f2d222
Merge branch 'claudia_unittest' of https://github.com/python/python-d…
clacri9fb4df6
before moving to another branch for a little error
clacri88eb9f0
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri4817198
progress to 73%
clacri46fd145
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri9330110
test for pre-commit
clacri4ef73a4
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacrifbf7721
progress to 75%
clacri1504a2d
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacrie964069
progress to 80%
clacri30e3e07
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri6d219bf
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacric07a332
progress to 81%
clacri9972be7
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacricca61ab
progress to 85%
clacria2a31cd
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri865bbc0
a little bit more of progress
clacri0d22bbb
testing build
clacridad8cba
testing build
clacri72b24dd
Merge branch '3.8' of https://github.com/python/python-docs-es into c…
clacri8b25bc6
raw finish with automatic translation in poedit
clacriaa11d88
Update library/unittest.po
clacri03ef97e
Update library/unittest.po
clacridb5aa7a
Update library/unittest.po
clacri4847db0
Update library/unittest.po
clacri6648663
Update library/unittest.po
clacri480957b
Update library/unittest.po
clacricb69710
powrap
clacria5a3c7f
Update library/unittest.po
clacrie4ae11c
Update library/unittest.po
clacri06ec949
Update library/unittest.po
clacri77dabf9
Update library/unittest.po
clacricf35462
Update library/unittest.po
clacrib5b79f1
Update library/unittest.po
clacrie5d2edb
powrap
clacri8dba474
fix powrap
cacrespo3a3c22f
Merge remote-tracking branch 'upstream/3.8' into unittest
cacrespo1ef574a
ajustes traducción
cacrespoc6e4380
Merge branch '3.9' into claudia_unittest
cacrespo9ce1775
fix 3.9 translation change
cacrespocfe8fb0
solved conflict after 3.9 pull
clacri7a79cb9
solved conflict after my own pull
clacri8ac0252
Update library/unittest.po
clacri7eb6c0c
Update library/unittest.po
clacribcf56c8
Update library/unittest.po
clacrid5fd35e
Update library/unittest.po
clacrie2e72fe
Update library/unittest.po
clacri9665ec9
Update library/unittest.po
clacria37c773
Update library/unittest.po
clacric3a5309
Update library/unittest.po
clacri64b5623
Update library/unittest.po
clacribf5bb80
Apply suggestions from code review
clacrid504ac4
Update library/unittest.po
clacri61cd288
sorted build
clacri713cbca
Apply suggestions from code review
cmaureir76bea6c
Update .gitmodules
humitos2f410a2
Traducción de library/ssl.po (#1223)
mmmarcos6e6edef
Optimizada sincronización con CPython en CI (#1186)
mondeja336dbe2
Arreglando fuzzy de extending (#1232)
cmaureir1e8d2c2
Terminando distributing (#1233)
cmaureir5161d66
Finalizando install (#1236)
cmaureir5a5ff85
Finalizando distutils (#1234)
cmaureir00d9c21
Finalizando faq (#1235)
cmaureirf34d536
Actualizado pospell a v1.0.12 (#1065)
mondeja43af7a2
Terminando Tutorial (#1238)
cmaureir243d571
Finalizando using (#1239)
cmaureira1904fe
Traducción completa de library/xml.etree.elementtree.po (#1229)
mmmarcose75e32c
Finalizando reference (#1237)
cmaureir57a19ac
Resolviendo conflictos y pospell
cmaureirffe136a
Arreglando traducciones
cmaureirFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
translated to 65%
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit85630b977313f01d36ad0d160a18f0a8adabd0d5
There are no files selected for viewing
2 changes: 2 additions & 0 deletionsdictionaries/library_unittest.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
frozensets | ||
msg | ||
logs | ||
Dicts | ||
setUpClass | ||
89 changes: 87 additions & 2 deletionslibrary/unittest.po
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -15,7 +15,7 @@ msgstr "" | ||
"Project-Id-Version: Python 3.8\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2020-05-05 12:54+0200\n" | ||
"PO-Revision-Date: 2020-10-04 02:15+0200\n" | ||
"Language-Team: python-doc-es\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
@@ -1531,7 +1531,7 @@ msgstr "" | ||
#: ../Doc/library/unittest.rst:984 | ||
msgid "Added the ability to use :meth:`assertRaises` as a context manager." | ||
msgstr "" | ||
"Añadió la capacidad de usar :meth:`assertRaises`como gestor de contexto." | ||
#: ../Doc/library/unittest.rst:987 | ||
msgid "Added the :attr:`exception` attribute." | ||
@@ -1845,6 +1845,8 @@ msgid "" | ||
"The method ``assertRegexpMatches()`` has been renamed to :meth:`." | ||
"assertRegex`." | ||
msgstr "" | ||
"El método ``assertRegexpMatches()`` ha sido renombrado a :meth:`." | ||
"assertRegex`." | ||
#: ../Doc/library/unittest.rst:1208 | ||
msgid ":meth:`.assertNotRegex`." | ||
@@ -1855,13 +1857,18 @@ msgid "" | ||
"The name ``assertNotRegexpMatches`` is a deprecated alias for :meth:`." | ||
"assertNotRegex`." | ||
msgstr "" | ||
"El nombre ``assertNotRegexpMatches`` es un alias obsoleto para :meth:`." | ||
"assertNotRegex`." | ||
#: ../Doc/library/unittest.rst:1217 | ||
msgid "" | ||
"Test that sequence *first* contains the same elements as *second*, " | ||
"regardless of their order. When they don't, an error message listing the " | ||
"differences between the sequences will be generated." | ||
msgstr "" | ||
"Testea que la secuencia *first* contiene los mismos elementos que *second*, " | ||
"independientemente de su orden. Cuando no lo hagan, se generará un mensaje " | ||
"de error con las diferencias entre las secuencias." | ||
#: ../Doc/library/unittest.rst:1221 | ||
msgid "" | ||
@@ -1870,6 +1877,11 @@ msgid "" | ||
"Equivalent to: ``assertEqual(Counter(list(first)), Counter(list(second)))`` " | ||
"but works with sequences of unhashable objects as well." | ||
msgstr "" | ||
"Los elementos duplicados *no* son ignorados cuando se comparan *first* y " | ||
"*second*. Verifica si cada elemento tiene la misma cuenta en ambas " | ||
"secuencias. Equivalente a: ``assertEqual(Counter(list(first)), " | ||
"Counter(list(second)))`` pero funciona también con secuencias de objetos que " | ||
"no son hashable." | ||
#: ../Doc/library/unittest.rst:1232 | ||
msgid "" | ||
@@ -1878,6 +1890,11 @@ msgid "" | ||
"implemented for most of the built-in types, but it's also possible to " | ||
"register new methods using :meth:`addTypeEqualityFunc`:" | ||
msgstr "" | ||
"El método :meth:`assertEqual` envía la comprobación de igualdad de los " | ||
"objetos del mismo tipo a diferentes métodos específicos de tipo. Estos " | ||
"métodos ya están implementados para la mayoría de los tipos incorporados, " | ||
"pero también es posible registrar nuevos métodos usando :meth:" | ||
"`addTypeEqualityFunc`:" | ||
#: ../Doc/library/unittest.rst:1239 | ||
msgid "" | ||
@@ -1889,13 +1906,24 @@ msgid "" | ||
"two parameters is detected -- possibly providing useful information and " | ||
"explaining the inequalities in details in the error message." | ||
msgstr "" | ||
"Registra un método específico de tipo llamado por :meth:`assertEqual` para " | ||
"comprobar si dos objetos del mismo *typeobj* (no subclases) comparan como " | ||
"iguales. *function* debe tomar dos argumentos posicionales y un tercer " | ||
"argumento de palabra clave msg=None tal y como lo hace :meth:`assertEqual`. " | ||
"Debe lanzar :data:`self.failureException(msg) <failureException>` cuando " | ||
"se detecta una desigualdad entre los dos primeros parámetros, posiblemente " | ||
"proporcionando información útil y explicando las desigualdades en detalle en " | ||
"el mensaje de error." | ||
#: ../Doc/library/unittest.rst:1250 | ||
msgid "" | ||
"The list of type-specific methods automatically used by :meth:`~TestCase." | ||
"assertEqual` are summarized in the following table. Note that it's usually " | ||
"not necessary to invoke these methods directly." | ||
msgstr "" | ||
"La lista de métodos específicos de tipo utilizados automáticamente por :meth:" | ||
"`~TestCase.assertEqual` se resumen en la siguiente tabla. Tenga en cuenta " | ||
"que normalmente no es necesario invocar estos métodos directamente." | ||
#: ../Doc/library/unittest.rst:1255 | ||
msgid "Used to compare" | ||
@@ -1956,6 +1984,10 @@ msgid "" | ||
"included in the error message. This method is used by default when comparing " | ||
"strings with :meth:`assertEqual`." | ||
msgstr "" | ||
"Testea que la cadena multilínea *first* es igual a la cadena *second*. " | ||
"Cuando no sea igual, una diferencia de las dos cadenas que resalte las " | ||
"diferencias se incluirá en el mensaje de error. Este método se utiliza por " | ||
"defecto cuando se comparan cadenas con :meth:`assertEqual`." | ||
#: ../Doc/library/unittest.rst:1290 | ||
msgid "" | ||
@@ -1964,12 +1996,18 @@ msgid "" | ||
"raised. If the sequences are different an error message is constructed that " | ||
"shows the difference between the two." | ||
msgstr "" | ||
"Testea que dos secuencias son iguales. Si se suministra un *seq_type*, " | ||
"tanto *first* como *second* deben ser instancias de *seq_type* o se lanzará " | ||
"un fallo. Si las secuencias son diferentes se construye un mensaje de error " | ||
"que muestra la diferencia entre las dos." | ||
#: ../Doc/library/unittest.rst:1295 | ||
msgid "" | ||
"This method is not called directly by :meth:`assertEqual`, but it's used to " | ||
"implement :meth:`assertListEqual` and :meth:`assertTupleEqual`." | ||
msgstr "" | ||
"Este método no es llamado directamente por :meth:`assertEqual`, pero se usa " | ||
"para implementar :meth:`assertListEqual` y :meth:`assertTupleEqual`." | ||
#: ../Doc/library/unittest.rst:1305 | ||
msgid "" | ||
@@ -1978,37 +2016,55 @@ msgid "" | ||
"also raised if either of the parameters are of the wrong type. These methods " | ||
"are used by default when comparing lists or tuples with :meth:`assertEqual`." | ||
msgstr "" | ||
"Testea que dos listas o tuplas son iguales. Si no es así, se construye un " | ||
"mensaje de error que muestra sólo las diferencias entre las dos. También se " | ||
"lanza un error si alguno de los parámetros es del tipo equivocado. Estos " | ||
"métodos se utilizan por defecto cuando se comparan listas o tuplas con :meth:" | ||
"`assertEqual`." | ||
#: ../Doc/library/unittest.rst:1316 | ||
msgid "" | ||
"Tests that two sets are equal. If not, an error message is constructed that " | ||
"lists the differences between the sets. This method is used by default when " | ||
"comparing sets or frozensets with :meth:`assertEqual`." | ||
msgstr "" | ||
"Testea que dos conjuntos son iguales. Si no es así, se construye un mensaje " | ||
"de error que enumera las diferencias entre los conjuntos. Este método se " | ||
"utiliza por defecto cuando se comparan los sets o frozensets con :meth:" | ||
"`assertEqual`." | ||
#: ../Doc/library/unittest.rst:1320 | ||
msgid "" | ||
"Fails if either of *first* or *second* does not have a :meth:`set." | ||
"difference` method." | ||
msgstr "" | ||
"Falla si cualquiera de *first* o *second* no tiene un método de :meth:`set." | ||
"difference`." | ||
#: ../Doc/library/unittest.rst:1328 | ||
msgid "" | ||
"Test that two dictionaries are equal. If not, an error message is " | ||
"constructed that shows the differences in the dictionaries. This method will " | ||
"be used by default to compare dictionaries in calls to :meth:`assertEqual`." | ||
msgstr "" | ||
"Testea que dos diccionarios son iguales. Si no es así, se construye un " | ||
"mensaje de error que muestra las diferencias en los diccionarios. Este " | ||
"método se usará por defecto para comparar los diccionarios en las llamadas " | ||
"a :meth:`assertEqual`." | ||
#: ../Doc/library/unittest.rst:1339 | ||
msgid "" | ||
"Finally the :class:`TestCase` provides the following methods and attributes:" | ||
msgstr "" | ||
"Finalmente, :class:`TestCase` proporciona los siguientes métodos y atributos:" | ||
#: ../Doc/library/unittest.rst:1344 | ||
msgid "" | ||
"Signals a test failure unconditionally, with *msg* or ``None`` for the error " | ||
"message." | ||
msgstr "" | ||
"Señala un fallo del test incondicionalmente, con *msg* o ``None`` para el " | ||
"mensaje de error." | ||
#: ../Doc/library/unittest.rst:1350 | ||
msgid "" | ||
@@ -2018,6 +2074,11 @@ msgid "" | ||
"fair\" with the framework. The initial value of this attribute is :exc:" | ||
"`AssertionError`." | ||
msgstr "" | ||
"Este atributo de clase da la excepción lanzada por el método de test. Si un " | ||
"marco de pruebas necesita utilizar una excepción especializada, posiblemente " | ||
"para llevar información adicional, debe subclasificar esta excepción para " | ||
"\"jugar limpio\" con el marco. El valor inicial de este atributo es :exc:" | ||
"`AssertionError`." | ||
#: ../Doc/library/unittest.rst:1359 | ||
msgid "" | ||
@@ -2027,17 +2088,26 @@ msgid "" | ||
"of the standard failure message. When set to ``False``, the custom message " | ||
"replaces the standard message." | ||
msgstr "" | ||
"Este atributo de clase determina lo que ocurre cuando se pasa un mensaje de " | ||
"fallo personalizado como el argumento msg a una llamada assertXYY que falla. " | ||
"``True`` es el valor por defecto. En este caso, el mensaje personalizado se " | ||
"añade al final del mensaje de fallo estándar. Cuando se establece en " | ||
"``False``, el mensaje personalizado reemplaza al mensaje estándar." | ||
#: ../Doc/library/unittest.rst:1365 | ||
msgid "" | ||
"The class setting can be overridden in individual test methods by assigning " | ||
"an instance attribute, self.longMessage, to ``True`` or ``False`` before " | ||
"calling the assert methods." | ||
msgstr "" | ||
"La configuración de la clase puede ser anulada en los métodos de test " | ||
"individuales asignando un atributo de instancia, self.longMessage, a " | ||
"``True`` o ``False`` antes de llamar a los métodos assert." | ||
#: ../Doc/library/unittest.rst:1369 | ||
msgid "The class setting gets reset before each test call." | ||
msgstr "" | ||
"La configuración de la clase se reajusta antes de cada llamada de test." | ||
#: ../Doc/library/unittest.rst:1376 | ||
msgid "" | ||
@@ -2047,31 +2117,46 @@ msgid "" | ||
"the sequence comparison methods that delegate to it), :meth:" | ||
"`assertDictEqual` and :meth:`assertMultiLineEqual`." | ||
msgstr "" | ||
"Este atributo controla la longitud máxima de las diferencias de salida de " | ||
"métodos assert que reportan diferencias en caso de fallo. El valor " | ||
"predeterminado es de 80*8 caracteres. Los métodos assert afectados por este " | ||
"atributo son :meth:`assertSequenceEqual` (incluyendo todos los métodos de " | ||
"comparación de secuencias que le delegan), :meth:`assertDictEqual` y :meth:" | ||
"`assertMultiLineEqual`." | ||
#: ../Doc/library/unittest.rst:1383 | ||
msgid "" | ||
"Setting ``maxDiff`` to ``None`` means that there is no maximum length of " | ||
"diffs." | ||
msgstr "" | ||
"Poner ``maxDiff`` en ``None`` significa que no hay una longitud máxima de " | ||
"diferencias." | ||
#: ../Doc/library/unittest.rst:1389 | ||
msgid "" | ||
"Testing frameworks can use the following methods to collect information on " | ||
"the test:" | ||
msgstr "" | ||
"Los marcos de test pueden utilizar los siguientes métodos para reunir " | ||
"información sobre el test:" | ||
#: ../Doc/library/unittest.rst:1395 | ||
msgid "" | ||
"Return the number of tests represented by this test object. For :class:" | ||
"`TestCase` instances, this will always be ``1``." | ||
msgstr "" | ||
"Retorna el número de tests representados por este objeto de test. Para las " | ||
"instancias de :class:`TestCase`, este siempre será ``1``." | ||
#: ../Doc/library/unittest.rst:1401 | ||
msgid "" | ||
"Return an instance of the test result class that should be used for this " | ||
"test case class (if no other result instance is provided to the :meth:`run` " | ||
"method)." | ||
msgstr "" | ||
"Retorna una instancia de la clase de resultado de test que debería " | ||
"utilizarse para esta clase de caso de test (si no se proporciona otra " | ||
"instancia de resultado al método :meth:`run` )." | ||
cmaureir marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
#: ../Doc/library/unittest.rst:1405 | ||
msgid "" | ||
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.