From ad491f6553da621800f13b48370b7636c16452e6 Mon Sep 17 00:00:00 2001 From: Dave Witte Morris Date: Mon, 20 Dec 2021 23:17:48 -0700 Subject: [PATCH] trac 33057 fix doctest --- src/sage/quadratic_forms/binary_qf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sage/quadratic_forms/binary_qf.py b/src/sage/quadratic_forms/binary_qf.py index adac2bc920d..6f54b0c074d 100755 --- a/src/sage/quadratic_forms/binary_qf.py +++ b/src/sage/quadratic_forms/binary_qf.py @@ -1495,7 +1495,7 @@ def solve_integer(self, n): sage: Q = BinaryQF([randrange(-10^3, 10^3) for _ in 'abc']) sage: n = randrange(-10^9, 10^9) sage: xy = Q.solve_integer(n) - sage: xy is None or Q(*xy) == 0 + sage: xy is None or Q(*xy) == n True """ n = ZZ(n)