summaryrefslogtreecommitdiff
path: root/pint/testsuite/test_errors.py
Commit message (Collapse)AuthorAgeFilesLines
* Add root exception for all pint errorsClemens Wolff2021-05-281-5/+34
|
* Migration of all tests to pytestHernan2021-01-101-44/+45
| | | | | | | | | | | | | | | | | The intento of this large commit is to move away from unittest into pytest. To speed-up migration we made certain choices that might need to be revisted in the future: - use pytest-subtests to replace unittest subtest infrastructure A lot of this might be better using parametrize - While we have removed certain classes and flatten them to functions, some were kept for no particular reason (rewriting the QuantityTestCase base class) - We have created some fixtures but not optimized. Feature optimization (i.e. using global registries for certain tests might speed up testing as it will void constructing the registry over and over)
* Corrects typo: decibel, not decibell (as pointed out by @terikin)signor822020-08-251-2/+2
|
* Merge branch 'master' into log-units WIP branchClark Willison2020-07-151-18/+22
|\ | | | | | | | | fix merge conflicts with upstream master, and bring this branch up-to-date with present work
| * Support pickle protocol 0/1Guido Imperiale2020-02-281-18/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | More tests CHANGES Support pickle protocol 0/1 Polish
* | Gets test_errors compliant with isort5igno2020-02-141-2/+1
| |
* | Implements Error for LogarithmicUnit computation5igno2020-02-141-2/+26
|/
* Remove redundant encoding information (utf8 is the default)Guido Imperiale2019-12-131-2/+0
|
* isortGuido Imperiale2019-12-131-1/+1
|
* Trivial commentGuido Imperiale2019-12-041-2/+1
|
* pickle exceptionsGuido Imperiale2019-12-041-1/+31
|
* Thorough str tests for all exceptionsGuido Imperiale2019-12-041-6/+76
|
* Exceptions overhaulGuido Imperiale2019-12-041-1/+1
|
* Unit tests for global Quantity, Unit, and UnitRegistryGuido Imperiale2019-09-161-1/+2
|
* Move definitions, errors, and converters into their own modules.Matthieu Dartiailh2015-01-061-0/+19
Move definitions, errors and converters tests to their own modules. (tests pass locally)