I just noticed that the tests are failing on Zope3 HEAD on Windows,
when run with Python 2.4.2:

File "C:\Code\Zope3\src\zope\testing\profiling.txt", line 35, in profiling.txt
Failed example:
    testrunner.run(defaults)
Exception raised:
    Traceback (most recent call last):
      File "C:\Code\Zope3\src\zope\testing\doctest.py", line 1256, in __run
        compileflags, 1) in test.globs
      File "<doctest profiling.txt[8]>", line 1, in ?
        testrunner.run(defaults)
      File "C:\Code\Zope3\src\zope\testing\testrunner.py", line 186, in run
        os.unlink(file_name)
    OSError: [Errno 13] Permission denied: 'tests_profile.zn490l.prof'

This is because Zope3 is using a tag for zope.testing that baked in
some Windows-specific bugs.  Moving to a more recent version of
zope.testing would fix it (I fixed these things in zope.testing
yesterday).

Note that it doesn't show up under Python 2.4.1 or 2.4.0, because the
test runner takes a different path wrt profiling then.
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to