On Sat, Jul 20, 2013 at 3:31 PM, Mary Clark <[email protected]> wrote: > Okay, I still get the same problem when running doctests: > _______________________________________________________________________________ > _____________ /users/maryclark/sympy/sympy/liealgebras/type_a.py > ______________ > File > "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", > line 203, in _normalize_module > ImportError: No module named type_a > > == tests finished: 2401 passed, 10 skipped, 1 exceptions, in 150.13 seconds > === > DO *NOT* COMMIT! > > The hash is: > (null):sympy maryclark$ git log > commit 8afd72682a924195f94f76cd25e70ac00d28ac27 > Author: Mary Clark <[email protected]> > Date: Fri Jul 19 23:31:40 2013 +0100 > > Changed class name, fixed doctests >
In case you read this later, the problem here is that again you are testing your old code which has none of the fixes that we talked about. Your latest patch (on github) is: commit 215bf5204144a5609cf43cdb49be3a5499335ecf Merge: 0529dc8 1982bb5 Author: Mary Clark <[email protected]> Date: Sat Jul 20 20:41:28 2013 +0100 Fixing the last doctests error and for this commit, I am getting: ondrej@eagle:~/repos/sympy(liealgebras_1)$ bin/test sympy/liealgebras/ ============================= test process starts ============================== executable: /usr/bin/python (2.7.3-final-0) [CPython] architecture: 64-bit cache: yes ground types: python random seed: 99609347 hash randomization: on (PYTHONHASHSEED=1547464233) sympy/liealgebras/tests/test_cartan_type.py[1] . [OK] sympy/liealgebras/tests/test_type_A.py[1] . [OK] ================== tests finished: 2 passed, in 0.02 seconds =================== ondrej@eagle:~/repos/sympy(liealgebras_1)$ bin/doctest sympy/liealgebras/ ============================= test process starts ============================== executable: /usr/bin/python (2.7.3-final-0) [CPython] architecture: 64-bit cache: yes ground types: python hash randomization: on (PYTHONHASHSEED=83112358) sympy/liealgebras/type_A.py[3] ... [OK] ================== tests finished: 3 passed, in 0.01 seconds =================== In other words, it all works! Let's wait for Travis' results here (for the latest commit): https://github.com/sympy/sympy/pull/2237 and if all passes, I am going to merge it. The code is not perfect and Upabjojr has great suggestions there, but you can implement those as a new PR later. Ondrej -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.
