SVN: zope.testing/trunk/ fix test of broken symlink handling to not break on Windows
Fred Drake <[email protected]> Tue, 30 Nov 2010 06:02:30 -0500 (EST)
| Newsgroups | gmane.comp.web.zope.zope3.cvs |
|---|---|
| Message-ID | <20101130110230.950BC6B0003__4306.61738287217$1291114959$gmane$org@cvs.zope.org> |
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: