On Wed, Jul 1, 2009 at 3:34 AM, Toon Verstraelen<toon.verstrae...@ugent.be> wrote: > Luke wrote: >> The goal of the documentation day will to get people working together >> at the same time to update docstrings, work on Wiki pages, and write >> example pieces of code that clearly demonstrate how to use one or more >> cool Sympy features. > > My (humble) contribution to the doc day can be found here: > http://github.com/tovrstra/sympy/commits/docday
thanks the patches look good. Could you please fix them to pass the doctests too? $ bin/doctest ============================= test process starts ============================== executable: /usr/bin/python (2.6.2-final-0) sympy/__init__.py[0] [OK] sympy/abc.py[0] [OK] sympy/concrete/__init__.py[0] [OK] [..] sympy/utilities/runtests.py[0] [OK] sympy/utilities/source.py[1] . [OK] ================== tests finished: 236 passed in 5.54 seconds ================== Testing doc/src/guide.txt Failed 0, tested 0 Testing doc/src/aboutus.txt Failed 0, tested 0 Testing doc/src/sympy-patches-tutorial.txt Failed 0, tested 0 Testing doc/src/python-comparisons.txt Failed 0, tested 0 Testing doc/src/index.txt Failed 0, tested 0 Testing doc/src/modules.txt Failed 0, tested 0 Testing doc/src/tutorial.txt Failed 0, tested 116 Testing doc/src/install.txt Failed 0, tested 0 Testing doc/src/outreach.txt Failed 0, tested 0 Testing doc/src/wiki.txt Failed 0, tested 0 Testing doc/src/modules/functions.txt Failed 0, tested 25 Testing doc/src/modules/rewriting.txt Failed 0, tested 8 Testing doc/src/modules/geometry.txt Failed 0, tested 46 Testing doc/src/modules/statistics.txt Failed 0, tested 23 Testing doc/src/modules/matrices.txt Failed 0, tested 93 Testing doc/src/modules/core.txt Failed 0, tested 0 ********************************************************************** File "doc/src/modules/printing.txt", line 86, in printing.txt Failed example: print_python(5*x**3 + sin(x)) Expected: x = Symbol('x') e = sin(x) + 5*x**3 Got: x = Symbol('x') e = sin(x) + 5*x**3 None ********************************************************************** File "doc/src/modules/printing.txt", line 100, in printing.txt Failed example: print_ccode(3**x - pi/2) Exception raised: Traceback (most recent call last): File "/usr/lib/python2.6/doctest.py", line 1241, in __run compileflags, 1) in test.globs File "<doctest printing.txt[4]>", line 1, in <module> print_ccode(3**x - pi/2) NameError: name 'print_ccode' is not defined ********************************************************************** 1 items had failures: 2 of 5 in printing.txt ***Test Failed*** 2 failures. Testing doc/src/modules/printing.txt Failed 2, tested 5 Testing doc/src/modules/polynomials.txt Failed 0, tested 56 Testing doc/src/modules/integrals.txt Failed 0, tested 6 Testing doc/src/modules/series.txt Failed 0, tested 3 Testing doc/src/modules/logic.txt Failed 0, tested 14 Testing doc/src/modules/codegen.txt Failed 0, tested 0 Testing doc/src/modules/solvers.txt Failed 0, tested 4 Testing doc/src/modules/concrete.txt Failed 0, tested 22 Testing doc/src/modules/evalf.txt Failed 0, tested 71 I think it didn't work a week ago, so you didn't notice. Thanks for the contribution. Ondrej --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---