Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
trac 21887 one missing case
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric Chapoton committed Nov 17, 2016
1 parent 1eb9e08 commit e62142d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sage/rings/polynomial/polynomial_element.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -8990,6 +8990,7 @@ cdef class Polynomial_generic_dense(Polynomial):
sage: class BrokenRational(Rational):
....: def __bool__(self):
....: raise NotImplementedError("cannot check whether number is non-zero")
....: __nonzero__ = __bool__
sage: z = BrokenRational()
sage: R.<x> = QQ[]
sage: from sage.rings.polynomial.polynomial_element import Polynomial_generic_dense
Expand Down

0 comments on commit e62142d

Please sign in to comment.