r87561 - python/branches/py3k/Lib/test/support.py

Dec. 29, 2010
2:04 a.m.
Author: brian.curtin Date: Wed Dec 29 03:04:28 2010 New Revision: 87561 Log: Fix #9333 on Windows XP, where os.symlink is not a possibility. Modified: python/branches/py3k/Lib/test/support.py Modified: python/branches/py3k/Lib/test/support.py ============================================================================== --- python/branches/py3k/Lib/test/support.py (original) +++ python/branches/py3k/Lib/test/support.py Wed Dec 29 03:04:28 2010 @@ -1422,7 +1422,7 @@ try: os.symlink(TESTFN, TESTFN + "can_symlink") can = True - except OSError: + except (OSError, NotImplementedError): can = False _can_symlink = can return can
5198
Age (days ago)
5198
Last active (days ago)
0 comments
1 participants
participants (1)
-
brian.curtin