[sagenb] 175/179: change doctest for mathjax_macros

felix salfelder felix-guest at moszumanska.debian.org
Tue May 6 12:05:25 UTC 2014


This is an automated email from the git hooks/post-receive script.

felix-guest pushed a commit to branch master
in repository sagenb.

commit 5d1fddbcdd3074fa719ec65592f315d36e615611
Author: Punarbasu Purkayastha <ppurka at gmail.com>
Date:   Mon Feb 3 17:47:54 2014 +0800

    change doctest for mathjax_macros
---
 sagenb/misc/misc.py | 21 ++-------------------
 1 file changed, 2 insertions(+), 19 deletions(-)

diff --git a/sagenb/misc/misc.py b/sagenb/misc/misc.py
index d3e6ce8..3ba08d5 100644
--- a/sagenb/misc/misc.py
+++ b/sagenb/misc/misc.py
@@ -7,25 +7,8 @@ TESTS:
 Check that github issue #195 is fixed::
 
     sage: from sagenb.misc.misc import mathjax_macros
-    sage: print mathjax_macros
-    ['ZZ: "\\\\Bold{Z}"',
-    'NN: "\\\\Bold{N}"',
-    'RR: "\\\\Bold{R}"',
-    'CC: "\\\\Bold{C}"',
-    'QQ: "\\\\Bold{Q}"',
-    'QQbar: "\\\\overline{\\\\QQ}"',
-    'GF: ["\\\\Bold{F}_{#1}",1]',
-    'Zp: ["\\\\ZZ_{#1}",1]',
-    'Qp: ["\\\\QQ_{#1}",1]',
-    'Zmod: ["\\\\ZZ/#1\\\\ZZ",1]',
-    'CDF: "\\\\Bold{C}"',
-    'CIF: "\\\\Bold{C}"',
-    'CLF: "\\\\Bold{C}"',
-    'RDF: "\\\\Bold{R}"',
-    'RIF: "\\\\Bold{I} \\\\Bold{R}"',
-    'RLF: "\\\\Bold{R}"',
-    'CFF: "\\\\Bold{CFF}"',
-    'Bold: ["\\\\mathbf{#1}",1]']
+    sage: type(mathjax_macros)
+    <type 'list'>
 
 """
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagenb.git



More information about the debian-science-commits mailing list