Howto: testall not in verbose mode

Tim Peters tim.one at home.com
Wed Apr 18 19:41:21 EDT 2001


[Miki Tebeka]
> To check python I run python -c "import test.testall".
> Everything works fine but I get the message:
>
> CAUTION: stdout isn't compared in verbose mode: a test
> that passes in verbose mode may fail without it.
> 
> How do I run the same tests not in verbose mode?

As the comment at the top of testall.py says,

# Backward compatibility -- you should use regrtest instead of
# this module.

Do

    python Lib/test/regrtest.py

instead, or, even better

    make test

if you're on a box with a Unixish OS.





More information about the Python-list mailing list