Ticket #7968: trac_7968.patch

File trac_7968.patch, 864 bytes (added by was, 11 years ago)
  • sage/schemes/elliptic_curves/heegner.py

    # HG changeset patch
    # User wstein@pdlc424.local
    # Date 1263768033 28800
    # Node ID 0ed7e963cbbe4570f71df1090e3116016be6c130
    # Parent  33c04bb5aea0255c4fac02782a9974deaf33f1ce
    trac 7968 -- doctest failure in heegner.py
    
    diff -r 33c04bb5aea0 -r 0ed7e963cbbe sage/schemes/elliptic_curves/heegner.py
    a b  
    14831483            sage: H = heegner_points(389,-20,3); s = H.ring_class_field().galois_group(H.quadratic_field())[0]
    14841484            sage: s.__cmp__(s)
    14851485            0
    1486             sage: s.__cmp__(0)
    1487             -1
     1486            sage: s.__cmp__(0) != 0
     1487            True
    14881488        """
    14891489        if not isinstance(right, GaloisAutomorphismQuadraticForm):
    14901490            return cmp(type(self), type(right))