diff options
author | Hernan Grecco <hernan.grecco@gmail.com> | 2020-02-21 23:41:43 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-21 23:41:43 -0300 |
commit | 78b1e52958a326cba4983c3ef84016756274c92c (patch) | |
tree | dfcaa026318ffb0c06fc82729955da8479c581c2 /pint/testsuite/helpers.py | |
parent | 36ebb0f0e280bbb5b1cd32475e4b13d0222a371c (diff) | |
parent | 92dc58e7b1de6a7ad0aaaad48f63490a80e1d82d (diff) | |
download | pint-_decimal.tar.gz |
Merge branch 'master' into _decimal_decimal
Diffstat (limited to 'pint/testsuite/helpers.py')
-rw-r--r-- | pint/testsuite/helpers.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pint/testsuite/helpers.py b/pint/testsuite/helpers.py index 5a91391..2bf743c 100644 --- a/pint/testsuite/helpers.py +++ b/pint/testsuite/helpers.py @@ -67,6 +67,10 @@ def requires_babel(): return unittest.skipUnless(HAS_BABEL, "Requires Babel with units support") +def requires_not_babel(): + return unittest.skipIf(HAS_BABEL, "Requires Babel is not installed") + + def requires_uncertainties(): return unittest.skipUnless(HAS_UNCERTAINTIES, "Requires Uncertainties") |