[pypy-dev] utest conversion

holger krekel hpk at trillke.net
Tue Jun 15 21:32:45 CEST 2004


[Laura Creighton Tue, Jun 15, 2004 at 09:23:40PM +0200]
> 
> Is it reasonable to simplyfy the solution so that people who write:
> 
> self.assertEquals(True,
> 	          self.assertEquals(0,0)
>                   )
> 
> get what they deserve, i.e. flogging with wet noodles until dawn?

actually the above statement doesn't make much sense as 
the 'assert*' methods of unittest.py usually return None. 
So yes, recursive assert constructions should not overly worry you.   

Something else: It would be good if you switched to working on
the trunk-version of PyPy. The branch/src-newobjectmodel is basically
out of order and has been merged back into the trunk on the sunday
before EuroPython 2004.  (You can see where you are via "svn info" 
in e.g. the src/ directory).

cheers,

    holger

P.S.: IIUC means If i understand correctly. 



More information about the Pypy-dev mailing list