Skip to content

Commit 93798ac

Browse files
authored
fix tests
1 parent c24815f commit 93798ac

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/sage/libs/gap/element.pyx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2483,7 +2483,12 @@ cdef class GapElement_Function(GapElement):
24832483
sage: rnd=[1,2,3]
24842484
sage: libgap.Sum(rnd)
24852485
6
2486-
2486+
2487+
sage: for i in range(100):
2488+
....: rnd = [ randint(-10,10) for i in range(randint(0,7)) ]
2489+
....: # compute the sum in GAP
2490+
....: _ = libgap.Sum(rnd)
2491+
24872492
sage: libgap_exec = libgap.eval("Exec")
24882493
sage: libgap_exec('echo hello from the shell')
24892494
hello from the shell

0 commit comments

Comments
 (0)