The failed assertion X<Y<Z should simply be removed. It fails because of the platform-dependent hash, and is not relevant any more.
It used to be relevant when I tried to use the relation [[A,B],C] + [[C,A],B] + [[B,C],A] = 0 to enforce a canonical nesting of commutators. I couldn't get it to work properly, so I removed it but forgot to remove that test. Some sort of canonical nesting of Commutators would be cool... Øyvind ma., 23.11.2009 kl. 13.54 -0800, skrev Ondrej Certik: > On Mon, Nov 23, 2009 at 1:50 PM, Ondrej Certik <ond...@certik.cz> wrote: > > On Mon, Nov 23, 2009 at 1:47 PM, Ondrej Certik <ond...@certik.cz> wrote: > >> On Tue, Nov 17, 2009 at 2:10 PM, jegerjensen <jensen.oyv...@gmail.com> > >> wrote: > >>> Hi, > >>> > >>> I know you guys are busy... But do you have an approximate schedule > >>> for when the patches may go into trunk? > >>> > >>> Ondrej, do you disagree with the previous posts? > >> > >> I agree with previous posts. The patches can go in immediately once > >> someone writes the docstrings for the rest of the methods. > >> Unfortunately I can't find time to do so myself now. I rebased the > >> patches on top of the latest master and pushed into wick4 branch at > >> > >> git://github.com/certik/sympy.git > >> > >> The current status is: > >> > >> $ bin/coverage_doctest.py sympy/physics/secondquant.py > >> ---------------------------------------------------------------------- > >> sympy/physics/secondquant.py > >> > >> Missing documentation: > >> * canonize(cls, arg) > >> * eval(cls, arg) > >> * wrap_tuples(*args, **kw_args) > >> * symbol(self) > >> * upper(self) > >> * lower(self) > >> * doit(self, **kw_args) > >> * eval(cls, i, j) > >> * indices_contain_equal_information(self) > >> * is_symbolic(self) > >> * apply_operator(self, state) > >> * apply_operator(self, state) > >> * apply_operator(self, state) > >> * apply_operator(self, state) > >> * apply_operator(self, state) > >> * up(self, i) > >> * down(self, i) > >> * split_commutative_parts(m) > >> * canonize(cls, bra, ket) > >> * eval(cls, bra, ket) > >> * bra(self) > >> * ket(self) > >> * index(self, state) > >> * state(self, i) > >> * index(self, state) > >> * state(self, i) > >> * doit(self,**hints) > >> * doit(self, **kw_args) > >> * iter_q_annihilators(self) > >> * iter_q_creators(self) > >> > >> > >> Missing doctests: > >> * eval(cls,symbol, upper, lower) > >> * doit(self,**kw_args) > >> * apply_Mul(m) > >> * apply_operators(e) > >> * matrix_rep(op, basis) > >> * move(e, i, d) > >> * eval(cls, a,b) > >> * eval(cls,arg) > >> > >> SCORE sympy/physics/secondquant.py: 44% (31 of 69) > >> ---------------------------------------------------------------------- > >> > >> > >> Since nobody wants to work on this and I really want this code to be > >> in, let me commit myself to finish the docstrings myself by the end of > >> this week. > > > > I also got the following two failures: > > > > ________________________________________________________________________________ > > _________________ sympy/core/tests/test_functions.py:test_doit > > _________________ > > File "/home/ondrej/repos/sympy/sympy/core/tests/test_functions.py", > > line 342, in test_doit > > assert d.doit() == 12 > > AssertionError > > ________________________________________________________________________________ > > ___________ sympy/physics/tests/test_secondquant.py:test_commutation > > ___________ > > File "/home/ondrej/repos/sympy/sympy/physics/tests/test_secondquant.py", > > line 270, in test_commutation > > assert X<Y<Z > > AssertionError > > > > tests finished: 1686 passed, 2 failed, 9 skipped, 39 xfailed, 1 > > xpassed in 123.85 seconds > > DO *NOT* COMMIT! > > > > so those will have to be fixed as well. > > E.g. I might have introduced that by rebasing your patches, there were > some conflicts in the Derivative.doit(). > > In any case, so the plan is: > > 1) the above two failures have to be fixed > 2) docstrings finished > > Once this is done, we'll push the patches in. The 2) is not a big deal > and I will do so myself, all you have to do is to run it in a terminal > and write a few examples. First of course you have to figure out how > to actually use the code in the first place, but I think that will not > be a big deal either hopefully. So I'll do 2). Any help with 1) is > appreciated. > > Ondrej > > -- > > You received this message because you are subscribed to the Google Groups > "sympy-patches" group. > To post to this group, send email to sympy-patc...@googlegroups.com. > To unsubscribe from this group, send email to > sympy-patches+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sympy-patches?hl=. > > -- You received this message because you are subscribed to the Google Groups "sympy-patches" group. To post to this group, send email to sympy-patc...@googlegroups.com. To unsubscribe from this group, send email to sympy-patches+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-patches?hl=.