[Python-Dev] Misc. warnings

Brett Cannon bac@OCF.Berkeley.EDU
Tue, 7 Jan 2003 15:34:30 -0800 (PST)


[M.-A. Lemburg]

<snip>
> test_bsddb3 skipped -- Use of the `bsddb' resource not enabled
> test_ossaudiodev skipped -- No module named ossaudiodev
> 2 skips unexpected on linux2:
>      test_ossaudiodev test_bsddb3
>
> Why would ossaudiodev be expected to work on Linux ?
> Dito for BSD DB 3 ?
>

Because they *can* work on Linux.

The only way around this would be to come up with some way to either
figure out from introspection that a module is dependent on a third-party
module or have it explicitly listed in regrtest.py; neither sound
foolproof.

If you don't want to be warned about it, then you could apply my patch
(#658316) that implements the skips.txt functionality and just list the
tests to be expected to be skipped on your computer <wink, wink, nudge,
nudge>.

-Brett