Ticket #4306: trac_4306-doctest.patch

File trac_4306-doctest.patch, 891 bytes (added by AlexGhitza, 8 years ago)
  • sage/modular/ssmod/ssmod.py

    # HG changeset patch
    # User Alexandru Ghitza <aghitza@alum.mit.edu>
    # Date 1374479437 -36000
    #      Mon Jul 22 17:50:37 2013 +1000
    # Node ID 25f758f6d8c2ac32b9a9d011f5c1e17f093510a1
    # Parent  b6c9519f79b152ac440c3d57b688b86d9392cffe
    [mq]: trac_4306-doctest.patch
    
    diff --git a/sage/modular/ssmod/ssmod.py b/sage/modular/ssmod/ssmod.py
    a b  
    703703            sage: X = SupersingularModule(37)
    704704            sage: X.free_module()
    705705            Ambient free module of rank 3 over the principal ideal domain Integer Ring
     706
     707        This illustrates the fix at :trac:`4306`::
     708       
     709            sage: X = SupersingularModule(389)
     710            sage: X.basis()
     711            Traceback (most recent call last):
     712            ...
     713            NotImplementedError
    706714        """
    707715        return rings.ZZ**self.dimension()
    708716