Ticket #9944: trac-9944-poly-cat-review.patch

File trac-9944-poly-cat-review.patch, 798 bytes (added by mraum, 9 years ago)
  • sage/structure/element.pyx

    # HG changeset patch
    # User Martin Raum <Martin.Raum@matha.rwth-aachen.de>
    # Date 1300906464 -3600
    # Node ID 22bc20630644dcd9e06426329b63cd1df7cebd60
    # Parent  fd9c80b98180fbd27bddf175298f88ef823e87e7
    #9944: categories for polynomial rings
    
    diff -r fd9c80b98180 -r 22bc20630644 sage/structure/element.pyx
    a b  
    311311        We test that "private" attributes are not requested from the element class
    312312        of the category (trac ticket #10467)::
    313313
    314             sage: C = CommutativeRings()
     314            sage: C = EuclideanDomains()
    315315            sage: P.<x> = QQ[]
    316316            sage: C.element_class.__foo = 'bar'
    317317            sage: x.parent().category() is C