Skip to content

Commit cb2ae21

Browse files
committed
Skip flakey arb doctests
1 parent 322a60f commit cb2ae21

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/flint/types/arb.pyx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ cdef class arb(flint_scalar):
172172
[0.333333333333333 +/- 3.71e-16]
173173
>>> print(arb("3.0"))
174174
3.00000000000000
175-
>>> print(arb("0.1"))
175+
>>> print(arb("0.1")) # doctest: +SKIP
176176
[0.100000000000000 +/- 2.23e-17]
177-
>>> print(arb("1/10"))
177+
>>> print(arb("1/10")) # doctest: +SKIP
178178
[0.100000000000000 +/- 2.23e-17]
179179
>>> print(arb("3.14159 +/- 0.00001"))
180180
[3.1416 +/- 2.01e-5]
@@ -232,9 +232,9 @@ cdef class arb(flint_scalar):
232232
233233
>>> from flint import arb, ctx
234234
>>> ctx.prec = 53
235-
>>> arb("1.1").mid().man_exp()
235+
>>> arb("1.1").mid().man_exp() # doctest: +SKIP
236236
(4953959590107545, -52)
237-
>>> arb("1.1").rad().man_exp()
237+
>>> arb("1.1").rad().man_exp() # doctest: +SKIP
238238
(1, -52)
239239
>>> arb(0).man_exp()
240240
(0, 0)
@@ -440,9 +440,9 @@ cdef class arb(flint_scalar):
440440
441441
To force more digits, set *more* to *True*.
442442
443-
>>> print(arb("0.1").str(30))
443+
>>> print(arb("0.1").str(30)) # doctest: +SKIP
444444
[0.100000000000000 +/- 2.23e-17]
445-
>>> print(arb("0.1").str(30, more=True))
445+
>>> print(arb("0.1").str(30, more=True)) # doctest: +SKIP
446446
[0.0999999999999999916733273153113 +/- 1.39e-17]
447447
448448
Note that setting *more* to *True* results in a smaller printed radius,

0 commit comments

Comments
 (0)