mς %U²Ic@stdkZdklZdklZlZdklZdeifd„ƒYZd„Z e djo e ƒndS(N(s test_support(s transformersast(scompiletTestscBstZd„ZRS(NcBsρdddg}xΫ|D]Σ}ei|ƒ}e|eiƒpt‚|i ƒd}e|ei ƒpt‚|i ƒd}e|ei ƒpt‚e|ddƒ}h}||U|ddjpt‚|d d jpt‚qWd S( s. Test multiple targets on the left hand side. s a, b = 1, 2s (a, b) = 1, 2s((a, b), c) = (1, 2), 3istsingletaitbiN(tsnippetstst transformertparseRt isinstancetasttModuletAssertionErrort getChildNodestchild1tStmttchild2tAssigntcompiletctvals(tselfRR RRRRR((t2/data/zmath/lib/python2.4/test/test_transformer.pyttestMultipleLHSs(t__name__t __module__R(((RRscCstitƒdS(N(t test_supportt run_unittestR(((Rt test_mainst__main__( tunittestttestRtcompilerRR RtTestCaseRRR(RRR RRRR((Rt?s