[Python-Dev] bz2module.c breaks regression tests (original) (raw)

Gustavo Niemeyer niemeyer@conectiva.com
Tue, 5 Nov 2002 16:29:47 -0200


But it's always good to run the tests before checking in. :-)

Of course I've tested before checking in. I wrote the tests, after all. :-)

[niemeyer@ibook ..python/dist/src]% ./python Lib/test/regrtest.py test_bz2 test_grammar test_bz2 /home/niemeyer/src/python/dist/src/Lib/test/test_bz2.py:30: RuntimeWarning: mktemp is a potential security risk to your program self.filename = tempfile.mktemp("bz2") test_grammar All 2 tests OK.

I have no idea why it is not breaking here. I should have run valdgrind over it.

I was just running the tests and ran into the same problem. Fix checked in. I still need to do a code review.

Thank you very much!

-- Gustavo Niemeyer

[ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]