Skip to content

Commit

Permalink
Remove redundant test for measurement
Browse files Browse the repository at this point in the history
  • Loading branch information
hgrecco committed Jan 20, 2024
1 parent d562040 commit 96d8eb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pint/testsuite/test_measurement.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def test_format_perce(self, func_registry, spec, expected):
"spec, expected",
[
("", "(4.00 +/- 0.10)e+20 second ** 2"),
("!r", "<Measurement(4e+20, 1e+19, second ** 2)>"),
# ("!r", "<Measurement(4e+20, 1e+19, second ** 2)>"),
("P", "(4.00 ± 0.10)×10²⁰ second²"),
("L", r"\left(4.00 \pm 0.10\right) \times 10^{20}\ \mathrm{second}^{2}"),
("H", "(4.00 &plusmn; 0.10)×10<sup>20</sup> second<sup>2</sup>"),
Expand All @@ -157,7 +157,7 @@ def test_format_exponential_pos(self, func_registry, spec, expected):
"spec, expected",
[
("", "(4.00 +/- 0.10)e-20 second ** 2"),
("!r", "<Measurement(4e-20, 1e-21, second ** 2)>"),
# ("!r", "<Measurement(4e-20, 1e-21, second ** 2)>"),
("P", "(4.00 ± 0.10)×10⁻²⁰ second²"),
(
"L",
Expand Down

0 comments on commit 96d8eb3

Please sign in to comment.