Package: python-pulp / 2.7.0+dfsg-4

skip_test_on_armel.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Desccription: Skip test on armel which fails due to slow execution time
Author: Andreas Tille <tille@debian.org>
Last-Update: Sat, 06 Jan 2024 12:27:55 +0100

--- a/pulp/tests/test_pulp.py
+++ b/pulp/tests/test_pulp.py
@@ -3,6 +3,7 @@ Tests for pulp
 """
 import os
 import tempfile
+import platform
 
 from pulp.constants import PulpError
 from pulp.apis import *
@@ -1205,6 +1206,7 @@ class BaseSolverTest:
 
             self.assertRaises(TypeError, add_const, prob=prob)
 
+        @unittest.skipIf(platform.machine().startswith('arm'), reason="test known to fail on armel")
         def test_measuring_solving_time(self):
             print("\t Testing measuring optimization time")