diff options
| author | Keewis <keewis@posteo.de> | 2022-04-09 17:13:10 +0200 |
|---|---|---|
| committer | Keewis <keewis@posteo.de> | 2022-04-09 17:13:10 +0200 |
| commit | fad6139045523072232f17bc994ba2e71da419b3 (patch) | |
| tree | cf29a0befd7a8cf2e45bdb76a645130f276c8065 | |
| parent | 50acf13d1643a5f55ed5f385d7aff350f981ddea (diff) | |
| download | pint-fad6139045523072232f17bc994ba2e71da419b3.tar.gz | |
get the tests to pass
| -rw-r--r-- | pint/formatting.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pint/formatting.py b/pint/formatting.py index fa0cd82..a4ddfb0 100644 --- a/pint/formatting.py +++ b/pint/formatting.py @@ -506,7 +506,7 @@ def split_format(spec, default, separate_format_defaults=True): ), DeprecationWarning, ) - else: + elif not spec: mspec, uspec = default_mspec, default_uspec else: mspec = mspec if mspec else default_mspec |
