File: disable-test-with-pari-bug.patch

package info (click to toggle)
cypari2 2.1.2-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 11,500 kB
  • sloc: python: 146,244; makefile: 35; ansic: 5
file content (17 lines) | stat: -rw-r--r-- 736 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Disable test which triggers a pari bug
 This test fails on mips, mipsel and mips64el due to a
 bug in pari.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=889674
Author: Tobias Hansen <thansen@debian.org>

--- a/cypari2/gen.pyx
+++ b/cypari2/gen.pyx
@@ -3662,8 +3662,6 @@
         >>> G.galoissubfields(flag=1)
         [x, x^2 + 972, x^3 + 54, x^3 + 864, x^3 - 54, x^6 + 108]
         >>> G = pari('x^4 + 1').galoisinit()
-        >>> G.galoissubfields(flag=2, v='z')[3]
-        [...^2 + 2, Mod(x^3 + x, x^4 + 1), [x^2 - z*x - 1, x^2 + z*x - 1]]
 
         .. _galoissubfields: http://pari.math.u-bordeaux.fr/dochtml/html.stable/Functions_related_to_general_number_fields.html#galoissubfields
         """