Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Traducido archivo library/unittest.mock #2374

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 23, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Arreglando entradas fuzzy y orden TRANSLATORS
  • Loading branch information
cmaureir committed May 23, 2023
commit a900aecebbbe8449e94de7d3a91d16f8e57be2d8
2 changes: 1 addition & 1 deletion TRANSLATORS
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ Jaime Rodrigo González Rodríguez (@jairock282)
Jaume Montané (@jaumemy)
Javier Artiga Garijo (@jartigag)
Javier Daza (@javierdaza)
Jimmy Tzuc (@JimmyTzuc)
Jhonatan Barrera (@iam3mer)
Jimmy Tzuc (@JimmyTzuc)
Jonathan Aguilar (@drawsoek)
Jorge Luis McDonald Stevens (@jmaxter)
Jorge Maldonado Ventura (@jorgesumle)
Expand Down
45 changes: 19 additions & 26 deletions library/unittest.mock.po
Original file line number Diff line number Diff line change
Expand Up @@ -2190,7 +2190,6 @@ msgid "Patching Descriptors and Proxy Objects"
msgstr "Parcheando descriptores y objetos proxy"

#: ../Doc/library/unittest.mock.rst:1943
#, fuzzy
msgid ""
"Both patch_ and patch.object_ correctly patch and restore descriptors: class "
"methods, static methods and properties. You should patch these on the "
Expand All @@ -2199,13 +2198,12 @@ msgid ""
"archive.org/web/20200603181648/http://www.voidspace.org.uk/python/weblog/"
"arch_d7_2010_12_04.shtml#e1198>`_."
msgstr ""
"Tanto patch_ como patch.object_ parchean descriptores correctamente y los "
"restauran posteriormente: métodos de clase, métodos estáticos y propiedades. "
"Los descriptores deben ser parcheados en la *clase* y no en una instancia. "
"También funcionan con *algunos* objetos que actúan como proxy en el acceso a "
"atributos, como el objeto de configuraciones de django (`django settings "
"object <http://www.voidspace.org.uk/python/weblog/arch_d7_2010_12_04."
"shtml#e1198>`_)."
"Tanto patch_ como patch.object_ parchean y restauran correctamente los "
"descriptores: métodos de clase, métodos estáticos y propiedades. Debe "
"parchearlos en el *class* en lugar de una instancia. También funcionan con "
"objetos *some* que acceden a atributos de proxy, como `django settings "
"object <https://web.archive.org/web/20200603181648/http://www.voidspace.org."
"uk/python/weblog/arch_d7_2010_12_04.shtml#e1198>`_."

#: ../Doc/library/unittest.mock.rst:1951
msgid "MagicMock and magic method support"
Expand Down Expand Up @@ -2322,18 +2320,16 @@ msgid "Unary numeric methods: ``__neg__``, ``__pos__`` and ``__invert__``"
msgstr "Métodos numéricos unarios: ``__neg__``, ``__pos__`` y ``__invert__``"

#: ../Doc/library/unittest.mock.rst:2022
#, fuzzy
msgid ""
"The numeric methods (including right hand and in-place variants): "
"``__add__``, ``__sub__``, ``__mul__``, ``__matmul__``, ``__truediv__``, "
"``__floordiv__``, ``__mod__``, ``__divmod__``, ``__lshift__``, "
"``__rshift__``, ``__and__``, ``__xor__``, ``__or__``, and ``__pow__``"
msgstr ""
"Los métodos numéricos (incluyendo los métodos estándar y las variantes in-"
"place): ``__add__``, ``__sub__``, ``__mul__``, ``__matmul__``, ``__div__``, "
"``__truediv__``, ``__floordiv__``, ``__mod__``, ``__divmod__``, "
"``__lshift__``, ``__rshift__``, ``__and__``, ``__xor__``, ``__or__``, y "
"``__pow__``"
"Los métodos numéricos (incluidas las variantes de mano derecha e in situ): "
"``__add__``, ``__sub__``, ``__mul__``, ``__matmul__``, ``__truediv__``, "
"``__floordiv__``, ``__mod__``, ``__divmod__``, ``__lshift__``, "
"``__rshift__``, ``__and__``, ``__xor__``, ``__or__`` y ``__pow__``"

#: ../Doc/library/unittest.mock.rst:2026
msgid ""
Expand Down Expand Up @@ -2619,9 +2615,8 @@ msgstr ""
"``__getstate__`` y ``__setstate__``"

#: ../Doc/library/unittest.mock.rst:2168
#, fuzzy
msgid "``__getformat__``"
msgstr "``__format__``"
msgstr "``__getformat__``"

#: ../Doc/library/unittest.mock.rst:2172
msgid ""
Expand Down Expand Up @@ -2739,9 +2734,9 @@ msgstr ""

#: ../Doc/library/unittest.mock.rst:2248
msgid ""
"``call_list`` is particularly useful for making assertions on \"chained calls"
"\". A chained call is multiple calls on a single line of code. This results "
"in multiple entries in :attr:`~Mock.mock_calls` on a mock. Manually "
"``call_list`` is particularly useful for making assertions on \"chained "
"calls\". A chained call is multiple calls on a single line of code. This "
"results in multiple entries in :attr:`~Mock.mock_calls` on a mock. Manually "
"constructing the sequence of calls can be tedious."
msgstr ""
"``call_list`` es particularmente útil para hacer aserciones sobre \"llamadas "
Expand Down Expand Up @@ -2909,20 +2904,18 @@ msgid "FILTER_DIR"
msgstr "FILTER_DIR"

#: ../Doc/library/unittest.mock.rst:2383
#, fuzzy
msgid ""
":data:`FILTER_DIR` is a module level variable that controls the way mock "
"objects respond to :func:`dir`. The default is ``True``, which uses the "
"filtering described below, to only show useful members. If you dislike this "
"filtering, or need to switch it off for diagnostic purposes, then set ``mock."
"FILTER_DIR = False``."
msgstr ""
":data:`FILTER_DIR` es una variable definida a nivel de módulo que controla "
"la forma en la que los objetos simulados responden a :func:`dir` (solo para "
"Python 2.6 y en adelante). El valor predeterminado es ``True``, que utiliza "
"el filtrado descrito a continuación, con la finalidad de mostrar solo los "
"miembros considerados como útiles. Si no te gusta este filtrado, o necesitas "
"desactivarlo con fines de diagnóstico, simplemente establece ``mock."
":data:`FILTER_DIR` es una variable de nivel de módulo que controla la forma "
"en que los objetos simulados responden a :func:`dir`. El valor "
"predeterminado es ``True``, que utiliza el filtrado que se describe a "
"continuación para mostrar solo los miembros útiles. Si no le gusta este "
"filtrado o necesita desactivarlo con fines de diagnóstico, configure ``mock."
"FILTER_DIR = False``."

#: ../Doc/library/unittest.mock.rst:2389
Expand Down