Skip to content

Commit 6e443c8

Browse files
embrayjdemeyer
authored andcommitted
Make these doctests more flexible, since the actual number is system-dependent
1 parent af82e12 commit 6e443c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cypari2/pari_instance.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -956,13 +956,13 @@ cdef class Pari(Pari_auto):
956956
>>> import cypari2
957957
>>> pari = cypari2.Pari()
958958
>>> pari.allocatemem(10**7)
959-
PARI stack size set to 10000000 bytes, maximum size set to 10002432
959+
PARI stack size set to 10000000 bytes, maximum size set to 100...
960960
>>> pari.allocatemem() # Double the current size
961-
PARI stack size set to 20000000 bytes, maximum size set to 20000768
961+
PARI stack size set to 20000000 bytes, maximum size set to 200...
962962
>>> pari.stacksize()
963963
20000000
964964
>>> pari.allocatemem(10**6)
965-
PARI stack size set to 1000000 bytes, maximum size set to 20000768
965+
PARI stack size set to 1000000 bytes, maximum size set to 200...
966966
967967
The following computation will automatically increase the PARI
968968
stack size:

0 commit comments

Comments
 (0)