Unsurprisingly, setting the random seed makes the random_expr() always return the same value:
sage: set_random_seed(0xdeadbeef) sage: random_expr(5) tanh(-pi^real_part(v1)*sin(log(pi)*imag_part(v1))) sage: set_random_seed(0xdeadbeef) sage: random_expr(5) tanh(-pi^real_part(v1)*sin(log(pi)*imag_part(v1))) sage: random_expr(5) v1 + arccos(e/golden_ratio) I suggest that the doctests for sage.symbolic.random_tests simply set the random seed to a fixed value. Volker -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org