diff --git a/CHANGES b/CHANGES
index b4694ec..0909b1d 100644
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,8 @@ Pint Changelog
 0.10 (unreleased)
 -----------------
 
+- Fix HTML (Jupyter Notebook) and LateX representation of some units
+  (Issue #927, Thanks Guido Imperiale)
 - **BREAKING CHANGE**:
   Implement NEP-18 <https://numpy.org/neps/nep-0018-array-function-protocol.html> for
   Pint Quantities. Most NumPy functions that previously stripped units when applied to
diff --git a/pint/formatting.py b/pint/formatting.py
index cd23de8..dc92d86 100644
--- a/pint/formatting.py
+++ b/pint/formatting.py
@@ -75,7 +75,7 @@ _FORMATS = {
         'single_denominator': True,
         'product_fmt': r' ',
         'division_fmt': r'{}/{}',
-        'power_fmt': '{}<sup>{}</sup>',
+        'power_fmt': '{}^{}',
         'parentheses_fmt': r'({})',
         },
 
@@ -215,13 +215,19 @@ def format_unit(unit, spec, **kwspec):
     fmt.update(kwspec)
 
     if spec == 'L':
-        rm = [(r'\mathrm{{{}}}'.format(u), p) for u, p in unit.items()]
-        result = formatter(rm, **fmt)
+        # Latex
+        rm = [
+            (r'\mathrm{{{}}}'.format(u.replace("_", r"\_")), p)
+            for u, p in unit.items()
+        ]
+        return formatter(rm, **fmt).replace('[', '{').replace(']', '}')
+    elif spec == "H":
+        # HTML (Jupyter Notebook)
+        rm = [(u.replace("_", r"\_"), p) for u, p in unit.items()]
+        return formatter(rm, **fmt)
     else:
-        result = formatter(unit.items(), **fmt)
-    if spec == 'L':
-        result = result.replace('[', '{').replace(']', '}')
-    return result
+        # Plain text
+        return formatter(unit.items(), **fmt)
 
 
 def siunitx_format_unit(units):

Bad Jupyter rendering of underscores with numpy quantities
default_en.txt makes extensive use of snake_case for all unit names that are made of multiple words.
Such units render poorly in Jupyter Notebook when associated with a numpy magnitude:

![](https://i.postimg.cc/P5JvkPYb/pint-render.png)
diff --git a/pint/testsuite/test_measurement.py b/pint/testsuite/test_measurement.py
index 47edc5c..931be49 100644
--- a/pint/testsuite/test_measurement.py
+++ b/pint/testsuite/test_measurement.py
@@ -42,61 +42,83 @@ class TestMeasurement(QuantityTestCase):
     def test_format(self):
         v, u = self.Q_(4.0, 's ** 2'), self.Q_(.1, 's ** 2')
         m = self.ureg.Measurement(v, u)
-        self.assertEqual(str(m), '(4.00 +/- 0.10) second ** 2')
-        self.assertEqual(repr(m), '<Measurement(4.00, 0.10, second ** 2)>')
-        #self.assertEqual('{:!s}'.format(m), '(4.00 +/- 0.10) second ** 2')
-        #self.assertEqual('{:!r}'.format(m), '<Measurement(4.0-, 0.10, second ** 2)>')
-        self.assertEqual('{0:P}'.format(m), '(4.00 ± 0.10) second²')
-        self.assertEqual('{0:L}'.format(m), r'\left(4.00 \pm 0.10\right)\ \mathrm{second}^{2}')
-        self.assertEqual('{0:H}'.format(m), '(4.00 &plusmn; 0.10) second<sup>2</sup>')
-        self.assertEqual('{0:C}'.format(m), '(4.00+/-0.10) second**2')
-        self.assertEqual('{0:Lx}'.format(m), r'\SI[separate-uncertainty=true]{4.00(10)}{\second\squared}')
-        self.assertEqual('{0:.1f}'.format(m), '(4.0 +/- 0.1) second ** 2')
-        self.assertEqual('{0:.1fP}'.format(m), '(4.0 ± 0.1) second²')
-        self.assertEqual('{0:.1fL}'.format(m), r'\left(4.0 \pm 0.1\right)\ \mathrm{second}^{2}')
-        self.assertEqual('{0:.1fH}'.format(m), '(4.0 &plusmn; 0.1) second<sup>2</sup>')
-        self.assertEqual('{0:.1fC}'.format(m), '(4.0+/-0.1) second**2')
-        self.assertEqual('{0:.1fLx}'.format(m), r'\SI[separate-uncertainty=true]{4.0(1)}{\second\squared}')
+
+        for spec, result in (
+            ("{}", '(4.00 +/- 0.10) second ** 2'),
+            ("{!r}", '<Measurement(4.00, 0.10, second ** 2)>'),
+            ('{:P}', '(4.00 ± 0.10) second²'),
+            ('{:L}', r'\left(4.00 \pm 0.10\right)\ \mathrm{second}^{2}'),
+            ('{:H}', '(4.00 &plusmn; 0.10) second^2'),
+            ('{:C}', '(4.00+/-0.10) second**2'),
+            ('{:Lx}', r'\SI[separate-uncertainty=true]{4.00(10)}{\second\squared}'),
+            ('{:.1f}', '(4.0 +/- 0.1) second ** 2'),
+            ('{:.1fP}', '(4.0 ± 0.1) second²'),
+            ('{:.1fL}', r'\left(4.0 \pm 0.1\right)\ \mathrm{second}^{2}'),
+            ('{:.1fH}', '(4.0 &plusmn; 0.1) second^2'),
+            ('{:.1fC}', '(4.0+/-0.1) second**2'),
+            ('{:.1fLx}', r'\SI[separate-uncertainty=true]{4.0(1)}{\second\squared}'),
+        ):
+            with self.subTest(spec):
+                self.assertEqual(spec.format(m), result)
 
     def test_format_paru(self):
         v, u = self.Q_(0.20, 's ** 2'), self.Q_(0.01, 's ** 2')
         m = self.ureg.Measurement(v, u)
-        self.assertEqual('{0:uS}'.format(m), '0.200(10) second ** 2')
-        self.assertEqual('{0:.3uS}'.format(m), '0.2000(100) second ** 2')
-        self.assertEqual('{0:.3uSP}'.format(m), '0.2000(100) second²')
-        self.assertEqual('{0:.3uSL}'.format(m), r'0.2000\left(100\right)\ \mathrm{second}^{2}')
-        self.assertEqual('{0:.3uSH}'.format(m), '0.2000(100) second<sup>2</sup>')
-        self.assertEqual('{0:.3uSC}'.format(m), '0.2000(100) second**2')
+
+        for spec, result in (
+            ('{:uS}', '0.200(10) second ** 2'),
+            ('{:.3uS}', '0.2000(100) second ** 2'),
+            ('{:.3uSP}', '0.2000(100) second²'),
+            ('{:.3uSL}', r'0.2000\left(100\right)\ \mathrm{second}^{2}'),
+            ('{:.3uSH}', '0.2000(100) second^2'),
+            ('{:.3uSC}', '0.2000(100) second**2'),
+        ):
+            with self.subTest(spec):
+                self.assertEqual(spec.format(m), result)
 
     def test_format_u(self):
         v, u = self.Q_(0.20, 's ** 2'), self.Q_(0.01, 's ** 2')
         m = self.ureg.Measurement(v, u)
-        self.assertEqual('{0:.3u}'.format(m), '(0.2000 +/- 0.0100) second ** 2')
-        self.assertEqual('{0:.3uP}'.format(m), '(0.2000 ± 0.0100) second²')
-        self.assertEqual('{0:.3uL}'.format(m), r'\left(0.2000 \pm 0.0100\right)\ \mathrm{second}^{2}')
-        self.assertEqual('{0:.3uH}'.format(m), '(0.2000 &plusmn; 0.0100) second<sup>2</sup>')
-        self.assertEqual('{0:.3uC}'.format(m), '(0.2000+/-0.0100) second**2')
-        self.assertEqual('{0:.3uLx}'.format(m), r'\SI[separate-uncertainty=true]{0.2000(100)}{\second\squared}')
-        self.assertEqual('{0:.1uLx}'.format(m), r'\SI[separate-uncertainty=true]{0.20(1)}{\second\squared}')
+
+        for spec, result in (
+            ('{:.3u}', '(0.2000 +/- 0.0100) second ** 2'),
+            ('{:.3uP}', '(0.2000 ± 0.0100) second²'),
+            ('{:.3uL}', r'\left(0.2000 \pm 0.0100\right)\ \mathrm{second}^{2}'),
+            ('{:.3uH}', '(0.2000 &plusmn; 0.0100) second^2'),
+            ('{:.3uC}', '(0.2000+/-0.0100) second**2'),
+            ('{:.3uLx}', r'\SI[separate-uncertainty=true]{0.2000(100)}{\second\squared}'),
+            ('{:.1uLx}', r'\SI[separate-uncertainty=true]{0.20(1)}{\second\squared}'),
+        ):
+            with self.subTest(spec):
+                self.assertEqual(spec.format(m), result)
 
     def test_format_percu(self):
         self.test_format_perce()
         v, u = self.Q_(0.20, 's ** 2'), self.Q_(0.01, 's ** 2')
         m = self.ureg.Measurement(v, u)
-        self.assertEqual('{0:.1u%}'.format(m), '(20 +/- 1)% second ** 2')
-        self.assertEqual('{0:.1u%P}'.format(m), '(20 ± 1)% second²')
-        self.assertEqual('{0:.1u%L}'.format(m), r'\left(20 \pm 1\right) \%\ \mathrm{second}^{2}')
-        self.assertEqual('{0:.1u%H}'.format(m), '(20 &plusmn; 1)% second<sup>2</sup>')
-        self.assertEqual('{0:.1u%C}'.format(m), '(20+/-1)% second**2')
+
+        for spec, result in (
+            ('{:.1u%}', '(20 +/- 1)% second ** 2'),
+            ('{:.1u%P}', '(20 ± 1)% second²'),
+            ('{:.1u%L}', r'\left(20 \pm 1\right) \%\ \mathrm{second}^{2}'),
+            ('{:.1u%H}', '(20 &plusmn; 1)% second^2'),
+            ('{:.1u%C}', '(20+/-1)% second**2'),
+        ):
+            with self.subTest(spec):
+                self.assertEqual(spec.format(m), result)
 
     def test_format_perce(self):
         v, u = self.Q_(0.20, 's ** 2'), self.Q_(0.01, 's ** 2')
         m = self.ureg.Measurement(v, u)
-        self.assertEqual('{0:.1ue}'.format(m), '(2.0 +/- 0.1)e-01 second ** 2')
-        self.assertEqual('{0:.1ueP}'.format(m), '(2.0 ± 0.1)×10⁻¹ second²')
-        self.assertEqual('{0:.1ueL}'.format(m), r'\left(2.0 \pm 0.1\right) \times 10^{-1}\ \mathrm{second}^{2}')
-        self.assertEqual('{0:.1ueH}'.format(m), '(2.0 &plusmn; 0.1)e-01 second<sup>2</sup>')
-        self.assertEqual('{0:.1ueC}'.format(m), '(2.0+/-0.1)e-01 second**2')
+        for spec, result in (
+            ('{:.1ue}', '(2.0 +/- 0.1)e-01 second ** 2'),
+            ('{:.1ueP}', '(2.0 ± 0.1)×10⁻¹ second²'),
+            ('{:.1ueL}', r'\left(2.0 \pm 0.1\right) \times 10^{-1}\ \mathrm{second}^{2}'),
+            ('{:.1ueH}', '(2.0 &plusmn; 0.1)e-01 second^2'),
+            ('{:.1ueC}', '(2.0+/-0.1)e-01 second**2'),
+        ):
+            with self.subTest(spec):
+                self.assertEqual(spec.format(m), result)
 
     def test_raise_build(self):
         v, u = self.Q_(1.0, 's'), self.Q_(.1, 's')
diff --git a/pint/testsuite/test_quantity.py b/pint/testsuite/test_quantity.py
index dc82ff2..71c9e35 100644
--- a/pint/testsuite/test_quantity.py
+++ b/pint/testsuite/test_quantity.py
@@ -107,23 +107,31 @@ class TestQuantity(QuantityTestCase):
 
     def test_quantity_format(self):
         x = self.Q_(4.12345678, UnitsContainer(meter=2, kilogram=1, second=-1))
-        for spec, result in (('{0}', str(x)), ('{0!s}', str(x)), ('{0!r}', repr(x)),
-                             ('{0.magnitude}',  str(x.magnitude)), ('{0.units}',  str(x.units)),
-                             ('{0.magnitude!s}',  str(x.magnitude)), ('{0.units!s}',  str(x.units)),
-                             ('{0.magnitude!r}',  repr(x.magnitude)), ('{0.units!r}',  repr(x.units)),
-                             ('{0:.4f}', '{0:.4f} {1!s}'.format(x.magnitude, x.units)),
-                             ('{0:L}', r'4.12345678\ \frac{\mathrm{kilogram} \cdot \mathrm{meter}^{2}}{\mathrm{second}}'),
-                             ('{0:P}', '4.12345678 kilogram·meter²/second'),
-                             ('{0:H}', '4.12345678 kilogram meter<sup>2</sup>/second'),
-                             ('{0:C}', '4.12345678 kilogram*meter**2/second'),
-                             ('{0:~}', '4.12345678 kg * m ** 2 / s'),
-                             ('{0:L~}', r'4.12345678\ \frac{\mathrm{kg} \cdot \mathrm{m}^{2}}{\mathrm{s}}'),
-                             ('{0:P~}', '4.12345678 kg·m²/s'),
-                             ('{0:H~}', '4.12345678 kg m<sup>2</sup>/s'),
-                             ('{0:C~}', '4.12345678 kg*m**2/s'),
-                             ('{0:Lx}', r'\SI[]{4.12345678}{\kilo\gram\meter\squared\per\second}'),
-                             ):
-            self.assertEqual(spec.format(x), result)
+        for spec, result in (
+            ('{}', str(x)),
+            ('{!s}', str(x)),
+            ('{!r}', repr(x)),
+            ('{.magnitude}',  str(x.magnitude)),
+            ('{.units}',  str(x.units)),
+            ('{.magnitude!s}',  str(x.magnitude)),
+            ('{.units!s}',  str(x.units)),
+            ('{.magnitude!r}',  repr(x.magnitude)),
+            ('{.units!r}',  repr(x.units)),
+            ('{:.4f}', f'{x.magnitude:.4f} {x.units!s}'),
+            ('{:L}', r'4.12345678\ \frac{\mathrm{kilogram} \cdot \mathrm{meter}^{2}}{\mathrm{second}}'),
+            ('{:P}', '4.12345678 kilogram·meter²/second'),
+            ('{:H}', '4.12345678 kilogram meter^2/second'),
+            ('{:C}', '4.12345678 kilogram*meter**2/second'),
+            ('{:~}', '4.12345678 kg * m ** 2 / s'),
+            ('{:L~}', r'4.12345678\ \frac{\mathrm{kg} \cdot \mathrm{m}^{2}}{\mathrm{s}}'),
+            ('{:P~}', '4.12345678 kg·m²/s'),
+            ('{:H~}', '4.12345678 kg m^2/s'),
+            ('{:C~}', '4.12345678 kg*m**2/s'),
+            ('{:Lx}', r'\SI[]{4.12345678}{\kilo\gram\meter\squared\per\second}'),
+        ):
+            with self.subTest(spec):
+                self.assertEqual(spec.format(x), result)
+
         # Check the special case that prevents e.g. '3 1 / second'
         x = self.Q_(3, UnitsContainer(second=-1))
         self.assertEqual('{0}'.format(x), '3 / second')
@@ -131,15 +139,17 @@ class TestQuantity(QuantityTestCase):
     @helpers.requires_numpy()
     def test_quantity_array_format(self):
         x = self.Q_(np.array([1e-16, 1.0000001, 10000000.0, 1e12, np.nan, np.inf]), "kg * m ** 2")
-        for spec, result in (('{0}',  str(x)),
-                             ('{0.magnitude}', str(x.magnitude)),
-                             ('{0:e}', "[1.000000e-16 1.000000e+00 1.000000e+07 1.000000e+12 nan inf] kilogram * meter ** 2"),
-                             ('{0:E}', "[1.000000E-16 1.000000E+00 1.000000E+07 1.000000E+12 NAN INF] kilogram * meter ** 2"),
-                             ('{0:.2f}', "[0.00 1.00 10000000.00 1000000000000.00 nan inf] kilogram * meter ** 2"),
-                             ('{0:.2f~P}', "[0.00 1.00 10000000.00 1000000000000.00 nan inf] kg·m²"),
-                             ('{0:g~P}', "[1e-16 1 1e+07 1e+12 nan inf] kg·m²"),
-                             ):
-            self.assertEqual(spec.format(x), result)
+        for spec, result in (
+            ('{}',  str(x)),
+            ('{.magnitude}', str(x.magnitude)),
+            ('{:e}', "[1.000000e-16 1.000000e+00 1.000000e+07 1.000000e+12 nan inf] kilogram * meter ** 2"),
+            ('{:E}', "[1.000000E-16 1.000000E+00 1.000000E+07 1.000000E+12 NAN INF] kilogram * meter ** 2"),
+            ('{:.2f}', "[0.00 1.00 10000000.00 1000000000000.00 nan inf] kilogram * meter ** 2"),
+            ('{:.2f~P}', "[0.00 1.00 10000000.00 1000000000000.00 nan inf] kg·m²"),
+            ('{:g~P}', "[1e-16 1 1e+07 1e+12 nan inf] kg·m²"),
+        ):
+            with self.subTest(spec):
+                self.assertEqual(spec.format(x), result)
 
     def test_format_compact(self):
         q1 = (200e-9 * self.ureg.s).to_compact()
@@ -161,22 +171,23 @@ class TestQuantity(QuantityTestCase):
         self.assertEqual('{0:#.1f}'.format(q2), '{0}'.format(q2b))
         self.assertEqual('{0:#.1f}'.format(q3), '{0}'.format(q3b))
 
-
     def test_default_formatting(self):
         ureg = UnitRegistry()
         x = ureg.Quantity(4.12345678, UnitsContainer(meter=2, kilogram=1, second=-1))
-        for spec, result in (('L', r'4.12345678\ \frac{\mathrm{kilogram} \cdot \mathrm{meter}^{2}}{\mathrm{second}}'),
-                             ('P', '4.12345678 kilogram·meter²/second'),
-                             ('H', '4.12345678 kilogram meter<sup>2</sup>/second'),
-                             ('C', '4.12345678 kilogram*meter**2/second'),
-                             ('~', '4.12345678 kg * m ** 2 / s'),
-                             ('L~', r'4.12345678\ \frac{\mathrm{kg} \cdot \mathrm{m}^{2}}{\mathrm{s}}'),
-                             ('P~', '4.12345678 kg·m²/s'),
-                             ('H~', '4.12345678 kg m<sup>2</sup>/s'),
-                             ('C~', '4.12345678 kg*m**2/s'),
-                             ):
-            ureg.default_format = spec
-            self.assertEqual('{0}'.format(x), result)
+        for spec, result in (
+            ('L', r'4.12345678\ \frac{\mathrm{kilogram} \cdot \mathrm{meter}^{2}}{\mathrm{second}}'),
+            ('P', '4.12345678 kilogram·meter²/second'),
+            ('H', '4.12345678 kilogram meter^2/second'),
+            ('C', '4.12345678 kilogram*meter**2/second'),
+            ('~', '4.12345678 kg * m ** 2 / s'),
+            ('L~', r'4.12345678\ \frac{\mathrm{kg} \cdot \mathrm{m}^{2}}{\mathrm{s}}'),
+            ('P~', '4.12345678 kg·m²/s'),
+            ('H~', '4.12345678 kg m^2/s'),
+            ('C~', '4.12345678 kg*m**2/s'),
+        ):
+            with self.subTest(spec):
+                ureg.default_format = spec
+                self.assertEqual(f'{x}', result)
 
     def test_exponent_formatting(self):
         ureg = UnitRegistry()
@@ -205,14 +216,14 @@ class TestQuantity(QuantityTestCase):
         ureg = UnitRegistry()
         x = 3.5 * ureg.Unit(UnitsContainer(meter=2, kilogram=1, second=-1))
         self.assertEqual(x._repr_html_(),
-                         "3.5 kilogram meter<sup>2</sup>/second")
+                         "3.5 kilogram meter^2/second")
         self.assertEqual(x._repr_latex_(),
                          r'$3.5\ \frac{\mathrm{kilogram} \cdot '
                          r'\mathrm{meter}^{2}}{\mathrm{second}}$')
         x._repr_pretty_(Pretty, False)
         self.assertEqual("".join(alltext), "3.5 kilogram·meter²/second")
         ureg.default_format = "~"
-        self.assertEqual(x._repr_html_(), "3.5 kg m<sup>2</sup>/s")
+        self.assertEqual(x._repr_html_(), "3.5 kg m^2/s")
         self.assertEqual(x._repr_latex_(),
                          r'$3.5\ \frac{\mathrm{kg} \cdot '
                          r'\mathrm{m}^{2}}{\mathrm{s}}$')
diff --git a/pint/testsuite/test_unit.py b/pint/testsuite/test_unit.py
index 1932117..30ccec0 100644
--- a/pint/testsuite/test_unit.py
+++ b/pint/testsuite/test_unit.py
@@ -33,37 +33,60 @@ class TestUnit(QuantityTestCase):
 
     def test_unit_formatting(self):
         x = self.U_(UnitsContainer(meter=2, kilogram=1, second=-1))
-        for spec, result in (('{0}', str(x)), ('{0!s}', str(x)),
-                             ('{0!r}', repr(x)),
-                             ('{0:L}', r'\frac{\mathrm{kilogram} \cdot \mathrm{meter}^{2}}{\mathrm{second}}'),
-                             ('{0:P}', 'kilogram·meter²/second'),
-                             ('{0:H}', 'kilogram meter<sup>2</sup>/second'),
-                             ('{0:C}', 'kilogram*meter**2/second'),
-                             ('{0:Lx}', r'\si[]{\kilo\gram\meter\squared\per\second}'),
-                             ('{0:~}', 'kg * m ** 2 / s'),
-                             ('{0:L~}', r'\frac{\mathrm{kg} \cdot \mathrm{m}^{2}}{\mathrm{s}}'),
-                             ('{0:P~}', 'kg·m²/s'),
-                             ('{0:H~}', 'kg m<sup>2</sup>/s'),
-                             ('{0:C~}', 'kg*m**2/s'),
-                             ):
-            self.assertEqual(spec.format(x), result)
+        for spec, result in (
+            ('{}', str(x)),
+            ('{!s}', str(x)),
+            ('{!r}', repr(x)),
+            ('{:L}', r'\frac{\mathrm{kilogram} \cdot \mathrm{meter}^{2}}{\mathrm{second}}'),
+            ('{:P}', 'kilogram·meter²/second'),
+            ('{:H}', 'kilogram meter^2/second'),
+            ('{:C}', 'kilogram*meter**2/second'),
+            ('{:Lx}', r'\si[]{\kilo\gram\meter\squared\per\second}'),
+            ('{:~}', 'kg * m ** 2 / s'),
+            ('{:L~}', r'\frac{\mathrm{kg} \cdot \mathrm{m}^{2}}{\mathrm{s}}'),
+            ('{:P~}', 'kg·m²/s'),
+            ('{:H~}', 'kg m^2/s'),
+            ('{:C~}', 'kg*m**2/s'),
+        ):
+            with self.subTest(spec):
+                self.assertEqual(spec.format(x), result)
 
     def test_unit_default_formatting(self):
         ureg = UnitRegistry()
         x = ureg.Unit(UnitsContainer(meter=2, kilogram=1, second=-1))
-        for spec, result in (('L', r'\frac{\mathrm{kilogram} \cdot \mathrm{meter}^{2}}{\mathrm{second}}'),
-                             ('P', 'kilogram·meter²/second'),
-                             ('H', 'kilogram meter<sup>2</sup>/second'),
-                             ('C', 'kilogram*meter**2/second'),
-                             ('~', 'kg * m ** 2 / s'),
-                             ('L~', r'\frac{\mathrm{kg} \cdot \mathrm{m}^{2}}{\mathrm{s}}'),
-                             ('P~', 'kg·m²/s'),
-                             ('H~', 'kg m<sup>2</sup>/s'),
-                             ('C~', 'kg*m**2/s'),
-                             ):
-            ureg.default_format = spec
-            self.assertEqual('{0}'.format(x), result,
-                             'Failed for {0}, {1}'.format(spec, result))
+        for spec, result in (
+            ('L', r'\frac{\mathrm{kilogram} \cdot \mathrm{meter}^{2}}{\mathrm{second}}'),
+            ('P', 'kilogram·meter²/second'),
+            ('H', 'kilogram meter^2/second'),
+            ('C', 'kilogram*meter**2/second'),
+            ('~', 'kg * m ** 2 / s'),
+            ('L~', r'\frac{\mathrm{kg} \cdot \mathrm{m}^{2}}{\mathrm{s}}'),
+            ('P~', 'kg·m²/s'),
+            ('H~', 'kg m^2/s'),
+            ('C~', 'kg*m**2/s'),
+        ):
+            with self.subTest(spec):
+                ureg.default_format = spec
+                self.assertEqual(f'{x}', result, f'Failed for {spec}, {result}')
+
+    def test_unit_formatting_snake_case(self):
+        # Test that snake_case units are escaped where appropriate
+        ureg = UnitRegistry()
+        x = ureg.Unit(UnitsContainer(oil_barrel=1))
+        for spec, result in (
+            ('L', r'\mathrm{oil\_barrel}'),
+            ('P', 'oil_barrel'),
+            ('H', 'oil\_barrel'),
+            ('C', 'oil_barrel'),
+            ('~', 'oil_bbl'),
+            ('L~', r'\mathrm{oil\_bbl}'),
+            ('P~', 'oil_bbl'),
+            ('H~', 'oil\_bbl'),
+            ('C~', 'oil_bbl'),
+        ):
+            with self.subTest(spec):
+                ureg.default_format = spec
+                self.assertEqual(f'{x}', result, f'Failed for {spec}, {result}')
 
     def test_ipython(self):
         alltext = []
@@ -75,13 +98,13 @@ class TestUnit(QuantityTestCase):
 
         ureg = UnitRegistry()
         x = ureg.Unit(UnitsContainer(meter=2, kilogram=1, second=-1))
-        self.assertEqual(x._repr_html_(), "kilogram meter<sup>2</sup>/second")
+        self.assertEqual(x._repr_html_(), "kilogram meter^2/second")
         self.assertEqual(x._repr_latex_(), r'$\frac{\mathrm{kilogram} \cdot '
                                            r'\mathrm{meter}^{2}}{\mathrm{second}}$')
         x._repr_pretty_(Pretty, False)
         self.assertEqual("".join(alltext), "kilogram·meter²/second")
         ureg.default_format = "~"
-        self.assertEqual(x._repr_html_(), "kg m<sup>2</sup>/s")
+        self.assertEqual(x._repr_html_(), "kg m^2/s")
         self.assertEqual(x._repr_latex_(),
                          r'$\frac{\mathrm{kg} \cdot \mathrm{m}^{2}}{\mathrm{s}}$')
         alltext = []

pip install -e .[test]
parse_log_pytest
requirements.txt
pytest pytest-cov pytest-mpl
3.7
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
certifi @ file:///croot/certifi_1671487769961/work/certifi
coverage==7.2.7
cycler==0.11.0
exceptiongroup==1.2.2
fonttools==4.38.0
importlib-metadata==6.7.0
importlib-resources==5.12.0
iniconfig==2.0.0
Jinja2==3.1.6
kiwisolver==1.4.5
MarkupSafe==2.1.5
matplotlib==3.5.3
numpy==1.21.6
packaging==24.0
Pillow==9.5.0
-e git+https://github.com/hgrecco/pint.git@5109e05fe89e18258a5cc88f444d80cfb7d18cce#egg=Pint
pluggy==1.2.0
pyparsing==3.1.4
pytest==7.4.4
pytest-cov==4.1.0
pytest-mpl==0.17.0
python-dateutil==2.9.0.post0
six==1.17.0
tomli==2.0.1
typing_extensions==4.7.1
zipp==3.15.0

name: pint
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2022.12.7=py37h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=22.3.1=py37h06a4308_0
  - python=3.7.16=h7a1cb2a_0
  - readline=8.2=h5eee18b_0
  - setuptools=65.6.3=py37h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.38.4=py37h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - coverage==7.2.7
      - cycler==0.11.0
      - exceptiongroup==1.2.2
      - fonttools==4.38.0
      - importlib-metadata==6.7.0
      - importlib-resources==5.12.0
      - iniconfig==2.0.0
      - jinja2==3.1.6
      - kiwisolver==1.4.5
      - markupsafe==2.1.5
      - matplotlib==3.5.3
      - numpy==1.21.6
      - packaging==24.0
      - pillow==9.5.0
      - pluggy==1.2.0
      - pyparsing==3.1.4
      - pytest==7.4.4
      - pytest-cov==4.1.0
      - pytest-mpl==0.17.0
      - python-dateutil==2.9.0.post0
      - six==1.17.0
      - tomli==2.0.1
      - typing-extensions==4.7.1
      - zipp==3.15.0
prefix: /opt/conda/envs/pint

pint/testsuite/test_quantity.py::TestQuantity::test_default_formatting pint/testsuite/test_quantity.py::TestQuantity::test_ipython pint/testsuite/test_quantity.py::TestQuantity::test_quantity_format pint/testsuite/test_unit.py::TestUnit::test_ipython pint/testsuite/test_unit.py::TestUnit::test_unit_default_formatting pint/testsuite/test_unit.py::TestUnit::test_unit_formatting pint/testsuite/test_unit.py::TestUnit::test_unit_formatting_snake_case
pint/testsuite/test_measurement.py::TestNotMeasurement::test_instantiate pint/testsuite/test_quantity.py::TestQuantity::test_array_function_warning_on_creation pint/testsuite/test_quantity.py::TestQuantity::test_both_symbol pint/testsuite/test_quantity.py::TestQuantity::test_context_attr pint/testsuite/test_quantity.py::TestQuantity::test_convert pint/testsuite/test_quantity.py::TestQuantity::test_convert_from pint/testsuite/test_quantity.py::TestQuantity::test_dimensionless_units pint/testsuite/test_quantity.py::TestQuantity::test_exponent_formatting pint/testsuite/test_quantity.py::TestQuantity::test_format_compact pint/testsuite/test_quantity.py::TestQuantity::test_from_sequence pint/testsuite/test_quantity.py::TestQuantity::test_iter pint/testsuite/test_quantity.py::TestQuantity::test_notiter pint/testsuite/test_quantity.py::TestQuantity::test_offset pint/testsuite/test_quantity.py::TestQuantity::test_offset_delta pint/testsuite/test_quantity.py::TestQuantity::test_pickle pint/testsuite/test_quantity.py::TestQuantity::test_quantity_array_format pint/testsuite/test_quantity.py::TestQuantity::test_quantity_bool pint/testsuite/test_quantity.py::TestQuantity::test_quantity_comparison pint/testsuite/test_quantity.py::TestQuantity::test_quantity_comparison_convert pint/testsuite/test_quantity.py::TestQuantity::test_quantity_creation pint/testsuite/test_quantity.py::TestQuantity::test_quantity_hash pint/testsuite/test_quantity.py::TestQuantity::test_quantity_repr pint/testsuite/test_quantity.py::TestQuantity::test_retain_unit pint/testsuite/test_quantity.py::TestQuantity::test_to_base_units pint/testsuite/test_quantity.py::TestQuantityToCompact::test_derived_units pint/testsuite/test_quantity.py::TestQuantityToCompact::test_dimensionally_simple_units pint/testsuite/test_quantity.py::TestQuantityToCompact::test_fractional_exponent_units pint/testsuite/test_quantity.py::TestQuantityToCompact::test_fractional_units pint/testsuite/test_quantity.py::TestQuantityToCompact::test_inverse_square_units pint/testsuite/test_quantity.py::TestQuantityToCompact::test_inverse_units pint/testsuite/test_quantity.py::TestQuantityToCompact::test_limits_magnitudes pint/testsuite/test_quantity.py::TestQuantityToCompact::test_nonnumeric_magnitudes pint/testsuite/test_quantity.py::TestQuantityToCompact::test_power_units pint/testsuite/test_quantity.py::TestQuantityToCompact::test_unit_parameter pint/testsuite/test_quantity.py::TestQuantityBasicMath::test_float pint/testsuite/test_quantity.py::TestQuantityBasicMath::test_fraction pint/testsuite/test_quantity.py::TestQuantityBasicMath::test_nparray pint/testsuite/test_quantity.py::TestQuantityBasicMath::test_quantity_abs_round pint/testsuite/test_quantity.py::TestQuantityBasicMath::test_quantity_float_complex pint/testsuite/test_quantity.py::TestDimensions::test_dimensionality pint/testsuite/test_quantity.py::TestDimensions::test_get_dimensionality pint/testsuite/test_quantity.py::TestDimensions::test_inclusion pint/testsuite/test_quantity.py::TestQuantityWithDefaultRegistry::test_dimensionality pint/testsuite/test_quantity.py::TestQuantityWithDefaultRegistry::test_get_dimensionality pint/testsuite/test_quantity.py::TestQuantityWithDefaultRegistry::test_inclusion pint/testsuite/test_quantity.py::TestDimensionsWithDefaultRegistry::test_dimensionality pint/testsuite/test_quantity.py::TestDimensionsWithDefaultRegistry::test_get_dimensionality pint/testsuite/test_quantity.py::TestDimensionsWithDefaultRegistry::test_inclusion pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00001 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00002 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00003 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00004 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00005 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00006 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00007 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00008 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00009 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00010 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00011 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00012 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00013 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00014 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00015 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00016 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00017 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00018 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00019 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00020 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00021 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00022 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00023 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00024 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00025 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00026 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00027 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00028 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00029 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00030 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00031 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00032 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00033 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00034 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00035 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_addition_00036 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_division_with_scalar_00001 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_division_with_scalar_00002 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_division_with_scalar_00003 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_division_with_scalar_00004 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_division_with_scalar_00005 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_division_with_scalar_00006 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_division_with_scalar_00007 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_division_with_scalar_00008 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_division_with_scalar_00009 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_exponentiation_00001 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_exponentiation_00002 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_exponentiation_00003 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_exponentiation_00004 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_exponentiation_00005 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_exponentiation_00006 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_exponentiation_00007 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_exponentiation_00008 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_exponentiation_00009 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_exponentiation_00010 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_exponentiation_00011 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_exponentiation_00012 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_exponentiation_00013 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00001 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00002 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00003 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00004 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00005 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00006 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00007 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00008 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00009 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00010 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00011 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00012 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00013 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00014 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00015 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00016 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00017 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00018 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00019 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00020 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00021 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00022 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00023 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00024 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00025 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00026 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00027 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00028 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00029 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00030 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00031 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00032 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00033 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00034 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00035 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_addition_00036 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00001 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00002 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00003 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00004 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00005 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00006 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00007 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00008 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00009 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00010 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00011 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00012 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00013 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00001 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00002 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00003 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00004 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00005 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00006 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00007 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00008 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00009 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00010 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00011 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00012 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00013 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00014 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00015 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00016 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00017 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00018 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00019 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00020 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00021 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00022 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00023 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00024 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00025 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00026 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00027 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00028 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00029 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00030 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00031 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00032 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00033 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00034 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00035 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_00036 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00001 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00002 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00003 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00004 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00005 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00006 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00007 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00008 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00009 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00010 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00011 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00012 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00013 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00014 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00015 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00016 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00017 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00018 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00019 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_multiplication_with_autoconvert_00020 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00001 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00002 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00003 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00004 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00005 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00006 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00007 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00008 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00009 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00010 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00011 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00012 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00013 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00014 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00015 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00016 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00017 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00018 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00019 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00020 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00021 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00022 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00023 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00024 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00025 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00026 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00027 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00028 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00029 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00030 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00031 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00032 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00033 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00034 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00035 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_subtraction_00036 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00001 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00002 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00003 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00004 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00005 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00006 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00007 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00008 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00009 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00010 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00011 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00012 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00013 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00014 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00015 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00016 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00017 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00018 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00019 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00020 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00021 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00022 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00023 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00024 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00025 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00026 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00027 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00028 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00029 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00030 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00031 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00032 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00033 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00034 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00035 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_truedivision_00036 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_matmul_with_numpy pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00001 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00002 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00003 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00004 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00005 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00006 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00007 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00008 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00009 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00010 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00011 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00012 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00013 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00014 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00015 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00016 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00017 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00018 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00019 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00020 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00021 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00022 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00023 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00024 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00025 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00026 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00027 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00028 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00029 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00030 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00031 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00032 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00033 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00034 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00035 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_00036 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00001 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00002 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00003 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00004 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00005 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00006 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00007 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00008 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00009 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00010 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00011 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00012 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00013 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00014 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00015 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00016 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00017 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00018 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00019 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_autoconvert_00020 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_scalar_00001 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_scalar_00002 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_scalar_00003 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_scalar_00004 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_scalar_00005 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_scalar_00006 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_multiplication_with_scalar_00007 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00001 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00002 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00003 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00004 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00005 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00006 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00007 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00008 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00009 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00010 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00011 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00012 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00013 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00014 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00015 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00016 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00017 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00018 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00019 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00020 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00021 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00022 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00023 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00024 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00025 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00026 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00027 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00028 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00029 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00030 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00031 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00032 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00033 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00034 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00035 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_subtraction_00036 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00001 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00002 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00003 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00004 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00005 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00006 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00007 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00008 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00009 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00010 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00011 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00012 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00013 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00014 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00015 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00016 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00017 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00018 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00019 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00020 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00021 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00022 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00023 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00024 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00025 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00026 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00027 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00028 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00029 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00030 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00031 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00032 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00033 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00034 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00035 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_truedivision_00036 pint/testsuite/test_quantity.py::TestDimensionReduction::test_imul_and_div_reduction pint/testsuite/test_quantity.py::TestDimensionReduction::test_mul_and_div_reduction pint/testsuite/test_quantity.py::TestDimensionReduction::test_nocoerce_creation pint/testsuite/test_quantity.py::TestDimensionReduction::test_reduction_to_dimensionless pint/testsuite/test_quantity.py::TestTimedelta::test_add_sub pint/testsuite/test_quantity.py::TestTimedelta::test_iadd_isub pint/testsuite/test_quantity.py::TestCompareZero::test_equal_zero pint/testsuite/test_quantity.py::TestCompareZero::test_equal_zero_NP pint/testsuite/test_quantity.py::TestCompareZero::test_gt_zero pint/testsuite/test_quantity.py::TestCompareZero::test_gt_zero_NP pint/testsuite/test_quantity.py::TestCompareZero::test_offset_autoconvert_equal_zero pint/testsuite/test_quantity.py::TestCompareZero::test_offset_autoconvert_gt_zero pint/testsuite/test_quantity.py::TestCompareZero::test_offset_equal_zero pint/testsuite/test_quantity.py::TestCompareZero::test_offset_gt_zero pint/testsuite/test_unit.py::TestUnit::test_array_interface pint/testsuite/test_unit.py::TestUnit::test_creation pint/testsuite/test_unit.py::TestUnit::test_deepcopy pint/testsuite/test_unit.py::TestUnit::test_dimensionality pint/testsuite/test_unit.py::TestUnit::test_dimensionless pint/testsuite/test_unit.py::TestUnit::test_unit_casting pint/testsuite/test_unit.py::TestUnit::test_unit_cmp pint/testsuite/test_unit.py::TestUnit::test_unit_div pint/testsuite/test_unit.py::TestUnit::test_unit_eqs pint/testsuite/test_unit.py::TestUnit::test_unit_hash pint/testsuite/test_unit.py::TestUnit::test_unit_mul pint/testsuite/test_unit.py::TestUnit::test_unit_pow pint/testsuite/test_unit.py::TestUnit::test_unit_rdiv pint/testsuite/test_unit.py::TestUnit::test_unit_repr pint/testsuite/test_unit.py::TestRegistry::test_as_delta pint/testsuite/test_unit.py::TestRegistry::test_base pint/testsuite/test_unit.py::TestRegistry::test_check pint/testsuite/test_unit.py::TestRegistry::test_convert_inplace pint/testsuite/test_unit.py::TestRegistry::test_convert_parse_str pint/testsuite/test_unit.py::TestRegistry::test_default_format pint/testsuite/test_unit.py::TestRegistry::test_define pint/testsuite/test_unit.py::TestRegistry::test_imperial_symbol pint/testsuite/test_unit.py::TestRegistry::test_load pint/testsuite/test_unit.py::TestRegistry::test_name pint/testsuite/test_unit.py::TestRegistry::test_parse_alias pint/testsuite/test_unit.py::TestRegistry::test_parse_complex pint/testsuite/test_unit.py::TestRegistry::test_parse_expression_with_preprocessor pint/testsuite/test_unit.py::TestRegistry::test_parse_factor pint/testsuite/test_unit.py::TestRegistry::test_parse_mul_div pint/testsuite/test_unit.py::TestRegistry::test_parse_number pint/testsuite/test_unit.py::TestRegistry::test_parse_plural pint/testsuite/test_unit.py::TestRegistry::test_parse_prefix pint/testsuite/test_unit.py::TestRegistry::test_parse_pretty pint/testsuite/test_unit.py::TestRegistry::test_parse_single pint/testsuite/test_unit.py::TestRegistry::test_parse_unit_with_preprocessor pint/testsuite/test_unit.py::TestRegistry::test_parse_units pint/testsuite/test_unit.py::TestRegistry::test_pint pint/testsuite/test_unit.py::TestRegistry::test_redefinition pint/testsuite/test_unit.py::TestRegistry::test_rep_and_parse pint/testsuite/test_unit.py::TestRegistry::test_repeated_convert pint/testsuite/test_unit.py::TestRegistry::test_singular_SI_prefix_convert pint/testsuite/test_unit.py::TestRegistry::test_symbol pint/testsuite/test_unit.py::TestRegistry::test_to_ref_vs_to pint/testsuite/test_unit.py::TestRegistry::test_wrap_referencing pint/testsuite/test_unit.py::TestRegistry::test_wraps pint/testsuite/test_unit.py::TestCompatibleUnits::test_context_sp pint/testsuite/test_unit.py::TestCompatibleUnits::test_get_base_units pint/testsuite/test_unit.py::TestCompatibleUnits::test_get_compatible_units pint/testsuite/test_unit.py::TestCompatibleUnits::test_many pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_as_delta pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_base pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_check pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_convert_inplace pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_convert_parse_str pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_default_format pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_define pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_imperial_symbol pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_lazy pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_load pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_name pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_parse_alias pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_parse_complex pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_parse_expression_with_preprocessor pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_parse_factor pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_parse_mul_div pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_parse_number pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_parse_plural pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_parse_prefix pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_parse_pretty pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_parse_single pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_parse_unit_with_preprocessor pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_parse_units pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_pint pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_redefinition pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_rep_and_parse pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_repeated_convert pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_singular_SI_prefix_convert pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_symbol pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_to_ref_vs_to pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_wrap_referencing pint/testsuite/test_unit.py::TestRegistryWithDefaultRegistry::test_wraps pint/testsuite/test_unit.py::TestConvertWithOffset::test_alias pint/testsuite/test_unit.py::TestConvertWithOffset::test_to_and_from_offset_units_00001 pint/testsuite/test_unit.py::TestConvertWithOffset::test_to_and_from_offset_units_00002 pint/testsuite/test_unit.py::TestConvertWithOffset::test_to_and_from_offset_units_00003 pint/testsuite/test_unit.py::TestConvertWithOffset::test_to_and_from_offset_units_00004 pint/testsuite/test_unit.py::TestConvertWithOffset::test_to_and_from_offset_units_00005 pint/testsuite/test_unit.py::TestConvertWithOffset::test_to_and_from_offset_units_00006 pint/testsuite/test_unit.py::TestConvertWithOffset::test_to_and_from_offset_units_00007 pint/testsuite/test_unit.py::TestConvertWithOffset::test_to_and_from_offset_units_00008 pint/testsuite/test_unit.py::TestConvertWithOffset::test_to_and_from_offset_units_00009 pint/testsuite/test_unit.py::TestConvertWithOffset::test_to_and_from_offset_units_00010 pint/testsuite/test_unit.py::TestConvertWithOffset::test_to_and_from_offset_units_00011 pint/testsuite/test_unit.py::TestConvertWithOffset::test_to_and_from_offset_units_00012 pint/testsuite/test_unit.py::TestConvertWithOffset::test_to_and_from_offset_units_00013 pint/testsuite/test_unit.py::TestConvertWithOffset::test_to_and_from_offset_units_00014 pint/testsuite/test_unit.py::TestConvertWithOffset::test_to_and_from_offset_units_00015 pint/testsuite/test_unit.py::TestConvertWithOffset::test_to_and_from_offset_units_00016 pint/testsuite/test_unit.py::TestConvertWithOffset::test_to_and_from_offset_units_00017 pint/testsuite/test_unit.py::TestConvertWithOffset::test_to_and_from_offset_units_00018 pint/testsuite/test_unit.py::TestConvertWithOffset::test_to_and_from_offset_units_00019
CHANGES pint/formatting.py
CHANGES pint/formatting.py