Salman Haq added the comment:
Hope everyone had a good new year's. I've attached an updated patch which adds
a new unittest, test_loadTestsFromNames__badimport.
Both the new unittests can use better documentation, hopefully one of you can
help me with that.
--
Added
Salman Haq added the comment:
I'm attaching a patch (against trunk) which I think is a step in the
right direction but I could use some feedback.
This patch modifies 'loadTestsFromName()' so that it saves and re-raises
an ImportError.
Further this patch introduces
Salman Haq added the comment:
Line 348 in trunk/Lib/test/test_unittest.py has a test case to
specifically test that in the described situation, the test returns an
AttributeError. Should this test be changed so that it passes if the
exception is in fact an ImportError?
def
Salman Haq added the comment:
Only the argument with one decimal place precision does NOT overflow.
Python 2.7a1+ (trunk:76872, Dec 21 2009, 09:54:29)
[GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin
Type "help", "copyright", "credits" or "license&q
Salman Haq added the comment:
Confirming that the test fails on r77044.
Tested on Mac OS X 10.4.11 (Intel).
running build_scripts
test_cmd_line
test_directories (test.test_cmd_line.CmdLineTest) ... ok
test_large_PYTHONPATH (test.test_cmd_line.CmdLineTest) ... ok
test_optimize
New submission from Salman Haq :
See output of regrtest below. It was run on an Intel Mac OS X 10.4
A similar failure is observed on the py3k branch.
./python.exe Lib/test/regrtest.py -v test_math
test_math
testAcos (test.test_math.MathTests) ... ok
testAcosh (test.test_math.MathTests) ... ok