File: skip_wall-clock_test.patch

package info (click to toggle)
dipy 1.11.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 17,144 kB
  • sloc: python: 92,240; makefile: 272; pascal: 183; sh: 162; ansic: 106
file content (22 lines) | stat: -rw-r--r-- 748 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: "Rebecca N. Palmer" <rebecca_palmer@zoho.com>
Date: Tue, 24 Jan 2023 20:12:43 +0100
Subject: Do not measure wall-clock time

Bug-Debian: https://bugs.debian.org/1029533
Last-Update: Mon, 23 Jan 2023 21:47:58 +0000
Forwarded: not-needed
---
 dipy/reconst/tests/test_mapmri.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- dipy.orig/dipy/reconst/tests/test_mapmri.py
+++ dipy/dipy/reconst/tests/test_mapmri.py
@@ -402,7 +402,7 @@
     assert_equal(np.all(mapf_scale_stat_reg_stat.mu == mu), True)
 
     # test if computation time is shorter (except on Windows):
-    if not platform.system() == "Windows":
+    if False:
         assert_equal(
             time_scale_stat_reg_stat < time_scale_adapt_reg_stat,
             True,