summaryrefslogtreecommitdiff
path: root/dev-python/fpylll/files/fpylll-0.6.1-testfix.patch
blob: 4160fef6cf841793749551103a1a01d2f94fd7a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From fc432b21fa7e4b9891f5b761b3539989eb958f2b Mon Sep 17 00:00:00 2001
From: "Martin R. Albrecht" <martinralbrecht@googlemail.com>
Date: Sun, 28 Jan 2024 17:19:42 +0000
Subject: [PATCH] we are not testing this code here

avoids side-effects from doctest order
---
 src/fpylll/fplll/gso.pyx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/fpylll/fplll/gso.pyx b/src/fpylll/fplll/gso.pyx
index 3879f29b..e42a00b2 100644
--- a/src/fpylll/fplll/gso.pyx
+++ b/src/fpylll/fplll/gso.pyx
@@ -568,8 +568,7 @@ cdef class MatGSO:
         >>> M = GSO.Mat(A)
         >>> M.float_type
         'double'
-        >>> FPLLL.set_precision(100)
-        53
+        >>> _ = FPLLL.set_precision(100)
         >>> M = GSO.Mat(A, float_type='mpfr')
         >>> M.float_type
         'mpfr'