[Zope3-checkins] SVN: zope.testing/trunk/ fix test of broken symlink handling to not break on Windows
Fred Drake
fdrake at gmail.com
Tue Nov 30 06:02:30 EST 2010
Log message for revision 118640:
fix test of broken symlink handling to not break on Windows
Changed:
U zope.testing/trunk/CHANGES.txt
U zope.testing/trunk/src/zope/testing/setupstack.txt
-=-
Modified: zope.testing/trunk/CHANGES.txt
===================================================================
--- zope.testing/trunk/CHANGES.txt 2010-11-29 21:38:36 UTC (rev 118639)
+++ zope.testing/trunk/CHANGES.txt 2010-11-30 11:02:29 UTC (rev 118640)
@@ -1,10 +1,10 @@
zope.testing Changelog
**********************
-3.10.2 (unreleased)
+3.10.2 (2010-11-30)
===================
-- ...
+- Fix test of broken symlink handling to not break on Windows.
3.10.1 (2010-11-29)
Modified: zope.testing/trunk/src/zope/testing/setupstack.txt
===================================================================
--- zope.testing/trunk/src/zope/testing/setupstack.txt 2010-11-29 21:38:36 UTC (rev 118639)
+++ zope.testing/trunk/src/zope/testing/setupstack.txt 2010-11-30 11:02:29 UTC (rev 118640)
@@ -91,7 +91,8 @@
attempt by the teardown hook will fail; let's set up a broken symlink as
well, and verify the teardown doesn't break because of that:
- >>> os.symlink('NotThere', 'BrokenLink')
+ >>> if hasattr(os, 'symlink'):
+ ... os.symlink('NotThere', 'BrokenLink')
When tearDown is called:
More information about the Zope3-Checkins
mailing list