summaryrefslogtreecommitdiff
path: root/tests/test_support.py
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2023Aarni Koskela2023-02-281-1/+1
|
* Remove redundant tests for babel.support (#954)Aarni Koskela2023-01-201-38/+4
| | | The doctests test the exact same things.
* Adjust tests for CLDR 42Aarni Koskela2023-01-201-2/+2
| | | | | | | The space changes around English seem to be on purpose, see: * https://unicode-org.atlassian.net/browse/CLDR-14032 * https://github.com/unicode-org/cldr/commit/a83026ab8c8fa6ed88f1047c4d0c6089f88b7e5d
* Apply some small miscellaneous formatting fixesAarni Koskela2023-01-181-6/+6
|
* Apply ruff UP025 (unicode literal prefix) fixAarni Koskela2023-01-181-21/+21
|
* Apply ruff I category fixesAarni Koskela2023-01-181-3/+3
|
* Minor cleanups (#948)Aarni Koskela2023-01-181-2/+0
| | | | | * Add __all__s to be cleaner about re-exports * Move timezone_getter to conftest * Apply spelling corrections suggested by codespell
* Implement zoneinfo support and make pytz optional (#940)DS/Charlie2023-01-111-6/+6
|
* Replace %/.format/concatenation with f-strings where feasible (#927)Aarni Koskela2022-11-231-4/+5
| | | Original conversion suggestions via flynt, edited by hand.
* feat: Support for short compact currency formats (#926)Jonah Lawrence2022-11-041-0/+5
| | | | Co-authored-by: Jun Omae (大前 潤) <42682+jun66j5@users.noreply.github.com>
* feat: Add `Format.compact_decimal` utility (#921)Jonah Lawrence2022-11-021-0/+5
|
* tests: Use regular asserts instead of unittest functionsAarni Koskela2022-05-101-16/+13
| | | | | | Automated conversion initially applied with https://github.com/warlo/codemod-unittest-to-pytest-asserts, followed by some manual changes for brevity.
* Fix up some Python2-isms using pyupgradeAarni Koskela2022-05-101-1/+0
|
* Update copyright year to 2022Aarni Koskela2022-01-251-1/+1
|
* Remove redundant _compat.pyHugo van Kemenade2021-09-141-14/+5
|
* Become 2.9.1Aarni Koskela2021-04-281-1/+1
| | | | | * Update copyright year * Update changelog
* Merge branch '2.8-maintenance' into masterAarni Koskela2020-11-111-1/+1
|\
| * Bump copyright year from 2019 to 2020Aarni Koskela2020-11-111-1/+1
| |
* | Skip deprecated l*gettext functions on Python 3.8+Aarni Koskela2020-10-021-1/+11
| |
* | LazyProxy: Handle AttributeError in specified func (#724)Nikiforov Konstantin2020-09-301-0/+11
|/ | | | | Fixes #723 Co-authored-by: Aarni Koskela <akx@iki.fi>
* Bump copyright year from 2018 to 2019Aarni Koskela2019-05-271-1/+1
|
* test_support: Don't use deprecated inspect methodsAarni Koskela2018-05-281-5/+8
|
* Rephrase copyright headers to link to the LICENSE file instead of COPYINGauthorsAarni Koskela2018-02-021-1/+1
| | | | Fixes #398
* Update copyright header years, and include the Babel teamAarni Koskela2018-02-021-1/+1
|
* Replace function call with set literalHugo2017-12-281-1/+1
|
* Apply pre-commit fixes.Lukas Balaga2016-02-271-2/+8
|
* Flatten NullTranslations.files into a listAarni Koskela2015-12-291-1/+26
| | | | | | | | `filter` is special in Python 3, and latter usages would error out in strange ways. Fixes #92 (https://github.com/python-babel/babel/pull/92) Fixes #162 (https://github.com/python-babel/babel/pull/162)
* Add __copy__ and __deepcopy__ to LazyProxy.astaric2015-08-051-0/+27
| | | | | Python's copy.copy and copy.deepcopy do not call objects __init__, resulting in endless recursion.
* fix babel.support for py3 strings/bytesAlex Morega2013-07-071-4/+4
|
* l*gettext always returns bytes, even on py3Alex Morega2013-07-071-15/+15
|
* More work on making tests work on Python 3Armin Ronacher2013-07-061-2/+1
|
* test_support also uses os_environ fixtureAlex Morega2013-07-061-0/+3
|
* remove test suite factoriesAlex Morega2013-07-061-11/+0
|
* copy babel.support doctests as unit testsAlex Morega2013-07-061-1/+60
|
* move unit tests outside babel packageAlex Morega2013-07-061-0/+253