Movatterモバイル変換
[0]ホーム
[Python-Dev] Re: Testing the 2.2.2 email pkg
Tim Peterstim.one@comcast.net
Sun, 06 Oct 2002 11:06:28 -0400
This gets too confusing too fast. test_email fails under 2.3 CVS for methis morning too, no matter how I run it -- via regrtest, by itself, doesn'tmatter.STRAIGHT REGREST>python ../lib/test/regrtest.py test_emailtest_emailtest test_email failed -- errors occurred; run in verbose mode for details1 test failed: test_emailDITTO BUT VERBOSE>python ../lib/test/regrtest.py -v test_email... lots of error output ...Ran 164 tests in 1.150sFAILED (failures=33, errors=4)test test_email failed -- errors occurred; run in verbose mode for details1 test failed: test_emailBY ITSELF>python ../lib/test/test_email.py... lots of error output ...Ran 164 tests in 1.150sFAILED (failures=33, errors=4)Traceback (most recent call last): File "../lib/test/test_email.py", line 13, in ? test_main() File "../lib/test/test_email.py", line 10, in test_main run_suite(suite()) File "C:\CODE\PYTHON\lib\test\test_support.py", line 187, in run_suite raise TestFailed(msg)test.test_support.TestFailed: errors occurred; run in verbose mode fordetailsWhy I'm getting a traceback from test_support despite not using regrtestseems a bit of a mystery.SKIPPING THE TEST DIRECTORY ENTIRELY>python ../lib/email/test/test_email.py... lots of error output ...Ran 164 tests in 0.770sFAILED (failures=33, errors=4)> Another thought just struck me. Are we certain that the email test> suite is run when you use regrtest? I think not!As above, it certainly is for me, under current 2.3 CVS.> ...> So the email regression test (or the email package!) probably has a> severe Unix dependency (or Windows deficiency :-) that has never been> detected before.Barry knows he has cross-platform line-end problems in his test data, buthasn't wanted to "do something" about that so far. I'm most unclear now onwhy test_email ever worked on Windows; *something* changed very recently,but don't know what.... lots of error output ...
[8]ページ先頭