[Python-checkins] r87082 - python/branches/py3k/Lib/test/test_shutil.py

georg.brandl python-checkins at python.org
Sun Dec 5 08:51:40 CET 2010


Author: georg.brandl
Date: Sun Dec  5 08:51:39 2010
New Revision: 87082

Log:
Temporarily disable newly failing test for the release.

Modified:
   python/branches/py3k/Lib/test/test_shutil.py

Modified: python/branches/py3k/Lib/test/test_shutil.py
==============================================================================
--- python/branches/py3k/Lib/test/test_shutil.py	(original)
+++ python/branches/py3k/Lib/test/test_shutil.py	Sun Dec  5 08:51:39 2010
@@ -273,6 +273,9 @@
 
     @unittest.skipUnless(hasattr(os, 'link'), 'requires os.link')
     def test_dont_copy_file_onto_link_to_itself(self):
+        # Temporarily disable test on Windows.
+        if os.name == 'nt':
+            return
         # bug 851123.
         os.mkdir(TESTFN)
         src = os.path.join(TESTFN, 'cheese')


More information about the Python-checkins mailing list