summaryrefslogtreecommitdiff
path: root/pint
diff options
context:
space:
mode:
authorKeewis <keewis@posteo.de>2021-08-18 02:07:13 +0200
committerKeewis <keewis@posteo.de>2021-08-18 02:07:13 +0200
commit60bcc66e666db06f1aac38e9058d8444c55a695d (patch)
tree9af422ab3abc9475e061aafeac0a1a51a846f351 /pint
parent09e5f514c15be85972b76b55e6ab0ad3afea0382 (diff)
downloadpint-60bcc66e666db06f1aac38e9058d8444c55a695d.tar.gz
fix the expected result
Diffstat (limited to 'pint')
-rw-r--r--pint/formatting.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pint/formatting.py b/pint/formatting.py
index ca03221..e9b9c3a 100644
--- a/pint/formatting.py
+++ b/pint/formatting.py
@@ -147,7 +147,7 @@ def register_unit_format(name):
>>> ureg = pint.UnitRegistry()
>>> u = ureg.m / ureg.s ** 2
>>> f"{u:custom}"
- <formatted unit>
+ '<formatted unit>'
"""
def wrapper(func):