[pypy-dev] A very easy bug for newcomers

Armin Rigo arigo at tunes.org
Mon Jun 18 23:00:08 CEST 2012


Hi,

On Mon, Jun 18, 2012 at 10:54 PM, Maciej Fijalkowski <fijall at gmail.com> wrote:
> It seems that you should make simpler tests (as
> in there is no need for self.s and self.b I think, why not use str and bool
> builtins?)

Ah, it came from the other tests of test_newformat.py; but these use
"self.s" instead of "str or unicode".  "self.b()" is superflous, as
you can use "bool()".


A bientôt,

Armin.


More information about the pypy-dev mailing list