summaryrefslogtreecommitdiff
path: root/pint/testsuite/test_quantity.py
Commit message (Expand)AuthorAgeFilesLines
* Run refurb --python-version 3.9 in pint/testsuiteHernan Grecco2023-04-291-6/+6
* Run pyupgrade --py39-plus in all files except _vendorHernan Grecco2023-04-291-4/+4
* Fixed pr/1574 conflictsHernan Grecco2023-04-251-0/+38
|\
| * Fix pre-commit problemsblewis22022-08-301-8/+8
| * Add to_preferredblewis22022-08-301-0/+38
* | Fix upcast testHernan2023-04-241-1/+7
* | Run pre-commit run --all-files . Mostly removed empty linesHernan2023-04-241-7/+4
* | Final step to split the registry from the parserHernan2022-09-301-1/+1
|/
* Moved Unit and Quantity to plain facetHernan2022-05-071-2/+2
* fix LaTeX siunitx exponent formatting (closes #1515)CD Clark III2022-05-051-0/+2
* same for the units (although the magnitude format is ignored)Keewis2022-04-091-10/+1
* add a few more tests to make sure quantity uses the settingKeewis2022-04-091-0/+17
* Run new stable black versionJules Chéron2022-03-301-16/+16
* Fix to_reduced_units with dimensionless units (#1481)Jules Chéron2022-03-281-0/+7
* Merge pull request #1476 from jules-ch/fix-1441-canonical-name-parsingJules Chéron2022-03-281-0/+11
|\
| * Fix parsing of units string with same canonalized nameJules Chéron2022-03-011-0/+11
* | Merge pull request #1478 from jules-ch/fix-pytests-warningsJules Chéron2022-03-261-18/+18
|\ \
| * | Remove most pytest warningsJules Chéron2022-03-261-18/+18
| |/
* | FIx duplicated tests #1425Jules Chéron2022-03-011-3/+5
|/
* properly deprecate the current behavior of the `default_format` option (#1419)keewis2022-02-231-0/+18
* Update testsuite to avoid a complete fail when the UnitRegistry is faultyHernan2022-02-141-0/+8
* Fix 1427: Keep track of exponent reductionJules Chéron2022-01-151-0/+3
* Fix #1184 to_reduced with ndarray of intJules Chéron2022-01-151-0/+7
* Parse inf and nan in QuantityChris Barnes2021-12-101-0/+18
* Fix Quantity & Unit `is_compatible_with` with registry active contextsJules Chéron2021-11-261-0/+21
* Fix string formatting for numpy array scalarsRyan May2021-06-281-0/+10
* Merge pull request #1328 from keewis/fix-negative-exponentJules Chéron2021-06-121-0/+12
|\
| * use a custom UnitRegistry for complete test isolationKeewis2021-06-041-2/+2
| * check that exponentiation does not result in numpy scalar typed scalesKeewis2021-06-031-0/+12
* | docs: fix a few simple typosTim Gates2021-05-191-1/+1
|/
* Add support for Quantity in the constructorJules Chéron2021-04-031-0/+5
* Merge branch 'master' into _pytest_migrationHernan Grecco2021-01-161-2/+2
|\
| * Remove redundant parenthesesMiroslav Šedivý2021-01-081-2/+2
* | Fixed some helpersHernan2021-01-161-1/+1
* | Migration of all tests to pytestHernan2021-01-101-457/+504
|/
* LinterHernan2021-01-071-3/+3
* Fixed merge conflictsHernan2021-01-071-1/+16
|\
| * Formatting and changelog.Lewis A. Marshall2020-10-311-5/+13
| * Quantity comparisons ensure other is Quantity.Lewis A. Marshall2020-10-311-1/+8
* | Run linter on all filesHernan2021-01-071-2/+1
|/
* Change html repr away from latex to a Sparse/Dask-like reprJon Thielen2020-08-161-8/+17
* fix superscripting in HTML and pretty printClark Willison2020-06-081-6/+6
* Fixed bug with to_compactFranchuFranchu2020-03-211-0/+6
* add, iadd, eq, gt, etc. to treat bare NaN like 0Guido Imperiale2020-03-121-48/+154
* Support pickle protocol 0/1Guido Imperiale2020-02-281-9/+7
* Remove array function warning on first creationJon Thielen2020-02-181-6/+3
* Raise ValueError for ambiguity when attempting to cast Quantity with offset u...Jon Thielen2019-12-301-0/+2
* Refactor upcast type check to check actual types rather than namesJon Thielen2019-12-271-5/+7
* Add upcast tests for xarray, with additional implementation checksJon Thielen2019-12-271-3/+3
* Add upcast type check on Quantity creation, and make list extensibleJon Thielen2019-12-271-0/+9