[Zope-dev] zope.testing tests failing on trunk (using Python 2.4.6 and 2.5.4)
Gary Poster
gary.poster at gmail.com
Mon Feb 16 15:22:54 EST 2009
On Feb 16, 2009, at 3:11 PM, Marius Gedminas wrote:
> On Mon, Feb 16, 2009 at 10:17:06AM -0500, Gary Poster wrote:
>> zope.testing trunk has five tests failing in Python 2.4.6 and four
>> failing in Python 2.5.4 (on self-compiled versions on Mac OS X).
>>
>> Anyone know what the story is here?
>
> No clue, especially since you haven't shown us what the failures are
>
> (Hint, hint.)
:-) They were rather long.
I tracked the majority of them down to Theuni, who graciously and
quickly fixed them up. (r96602)
He said there were some other failures when he started, in Py 2.4 and
Py 2.5. I verified this. I corrected the errors in Py 2.5 and did a
bit of other cleanup (r96603).
One error remains in Py 2.4. I'll include the traceback below. Some
paths are not included in Py2.4 for some reason. The cause was not
immediately obvious, and I have day-off-and-I-have-a-cold laziness, so
I didn't look further.
As an aside, in Py 2.6, you get at least two deprecation warnings, and
the tests appear to hang. Again, lazy. Didn't bother.
Gary
File "/Users/gary/dev/zope.testing/src/zope/testing/testrunner/
testrunner-coverage.txt", line 18, in testrunner-coverage.txt
Failed example:
testrunner.run(defaults)
Expected:
Running samplelayers.Layer1 tests:
Set up samplelayers.Layer1 in N.NNN seconds.
Ran 9 tests with 0 failures and 0 errors in N.NNN seconds.
Running samplelayers.Layer11 tests:
Set up samplelayers.Layer11 in N.NNN seconds.
Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
Running samplelayers.Layer111 tests:
Set up samplelayers.Layerx in N.NNN seconds.
Set up samplelayers.Layer111 in N.NNN seconds.
Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
Running samplelayers.Layer112 tests:
Tear down samplelayers.Layer111 in N.NNN seconds.
Set up samplelayers.Layer112 in N.NNN seconds.
Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
Running samplelayers.Layer12 tests:
Tear down samplelayers.Layer112 in N.NNN seconds.
Tear down samplelayers.Layerx in N.NNN seconds.
Tear down samplelayers.Layer11 in N.NNN seconds.
Set up samplelayers.Layer12 in N.NNN seconds.
Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
Running samplelayers.Layer121 tests:
Set up samplelayers.Layer121 in N.NNN seconds.
Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
Running samplelayers.Layer122 tests:
Tear down samplelayers.Layer121 in N.NNN seconds.
Set up samplelayers.Layer122 in N.NNN seconds.
Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
Tear down samplelayers.Layer122 in N.NNN seconds.
Tear down samplelayers.Layer12 in N.NNN seconds.
Tear down samplelayers.Layer1 in N.NNN seconds.
Set up zope.testing.testrunner.layer.UnitTests in N.NNN seconds.
Ran 192 tests with 0 failures and 0 errors in N.NNN seconds.
Tearing down left over layers:
Tear down zope.testing.testrunner.layer.UnitTests in N.NNN
seconds.
lines cov% module (path)
testrunner-ex/sample1/__init__.py)
testrunner-ex/sample1/sample11/__init__.py)
testrunner-ex/sample1/sample11/sampletests.py)
testrunner-ex/sample1/sample13/__init__.py)
testrunner-ex/sample1/sample13/sampletests.py)
testrunner-ex/sample1/sampletests/__init__.py)
testrunner-ex/sample1/sampletests/test1.py)
testrunner-ex/sample1/sampletests/test11.py)
testrunner-ex/sample1/sampletests/test111.py)
testrunner-ex/sample1/sampletests/test112.py)
testrunner-ex/sample1/sampletests/test12.py)
testrunner-ex/sample1/sampletests/test121.py)
testrunner-ex/sample1/sampletests/test122.py)
testrunner-ex/sample1/sampletests/test_one.py)
testrunner-ex/sample1/sampletestsf.py)
testrunner-ex/sample2/__init__.py)
testrunner-ex/sample2/sample21/__init__.py)
testrunner-ex/sample2/sample21/sampletests.py)
testrunner-ex/sample2/sampletests/__init__.py)
testrunner-ex/sample2/sampletests/test_1.py)
testrunner-ex/sample2/sampletests/testone.py)
testrunner-ex/sample3/__init__.py)
testrunner-ex/sample3/sampletests.py)
testrunner-ex/samplelayers.py)
testrunner-ex/sampletests/__init__.py)
testrunner-ex/sampletests/test1.py)
testrunner-ex/sampletests/test11.py)
testrunner-ex/sampletests/test111.py)
testrunner-ex/sampletests/test112.py)
testrunner-ex/sampletests/test12.py)
testrunner-ex/sampletests/test121.py)
testrunner-ex/sampletests/test122.py)
testrunner-ex/sampletests/test_one.py)
testrunner-ex/sampletestsf.py)
Total: 405 tests, 0 failures, 0 errors in N.NNN seconds.
False
Got:
Running samplelayers.Layer1 tests:
Set up samplelayers.Layer1 in N.NNN seconds.
Ran 9 tests with 0 failures and 0 errors in N.NNN seconds.
Running samplelayers.Layer11 tests:
Set up samplelayers.Layer11 in N.NNN seconds.
Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
Running samplelayers.Layer111 tests:
Set up samplelayers.Layerx in N.NNN seconds.
Set up samplelayers.Layer111 in N.NNN seconds.
Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
Running samplelayers.Layer112 tests:
Tear down samplelayers.Layer111 in N.NNN seconds.
Set up samplelayers.Layer112 in N.NNN seconds.
Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
Running samplelayers.Layer12 tests:
Tear down samplelayers.Layer112 in N.NNN seconds.
Tear down samplelayers.Layerx in N.NNN seconds.
Tear down samplelayers.Layer11 in N.NNN seconds.
Set up samplelayers.Layer12 in N.NNN seconds.
Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
Running samplelayers.Layer121 tests:
Set up samplelayers.Layer121 in N.NNN seconds.
Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
Running samplelayers.Layer122 tests:
Tear down samplelayers.Layer121 in N.NNN seconds.
Set up samplelayers.Layer122 in N.NNN seconds.
Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
Tear down samplelayers.Layer122 in N.NNN seconds.
Tear down samplelayers.Layer12 in N.NNN seconds.
Tear down samplelayers.Layer1 in N.NNN seconds.
Set up zope.testing.testrunner.layer.UnitTests in N.NNN seconds.
Ran 192 tests with 0 failures and 0 errors in N.NNN seconds.
Tearing down left over layers:
Tear down zope.testing.testrunner.layer.UnitTests in N.NNN
seconds.
lines cov% module (path)
testrunner-ex/sample1/sample11/sampletests.py)
testrunner-ex/sample1/sample13/sampletests.py)
testrunner-ex/sample1/sampletests/test1.py)
testrunner-ex/sample1/sampletests/test11.py)
testrunner-ex/sample1/sampletests/test111.py)
testrunner-ex/sample1/sampletests/test112.py)
testrunner-ex/sample1/sampletests/test12.py)
testrunner-ex/sample1/sampletests/test121.py)
testrunner-ex/sample1/sampletests/test122.py)
testrunner-ex/sample1/sampletests/test_one.py)
testrunner-ex/sample1/sampletestsf.py)
testrunner-ex/sample2/sample21/sampletests.py)
testrunner-ex/sample2/sampletests/test_1.py)
testrunner-ex/sample2/sampletests/testone.py)
testrunner-ex/sample3/sampletests.py)
testrunner-ex/samplelayers.py)
testrunner-ex/sampletests/test1.py)
testrunner-ex/sampletests/test11.py)
testrunner-ex/sampletests/test111.py)
testrunner-ex/sampletests/test112.py)
testrunner-ex/sampletests/test12.py)
testrunner-ex/sampletests/test121.py)
testrunner-ex/sampletests/test122.py)
testrunner-ex/sampletests/test_one.py)
testrunner-ex/sampletestsf.py)
Total: 405 tests, 0 failures, 0 errors in N.NNN seconds.
False
More information about the Zope-Dev
mailing list