File: 0005-Prevent-testing-babel-support.patch

package info (click to toggle)
python-pint 0.25-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,916 kB
  • sloc: python: 20,307; makefile: 149
file content (22 lines) | stat: -rw-r--r-- 659 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Bastian Germann <bage@debian.org>
Date: Mon, 30 Jan 2023 00:21:37 +0000
Subject: Prevent testing babel support

Forwarded: not-needed
---
 pint/testsuite/helpers.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pint/testsuite/helpers.py b/pint/testsuite/helpers.py
index d317e07..1449340 100644
--- a/pint/testsuite/helpers.py
+++ b/pint/testsuite/helpers.py
@@ -131,6 +131,8 @@ def requires_numpy_at_least(version):
 def requires_babel(tested_locales=[]):
     if not HAS_BABEL:
         return pytest.mark.skip("Requires Babel with units support")
+    if True:
+        return pytest.mark.skip("Requires Babel <= 2.8")
 
     import locale