[Python-checkins] r88603 - python/branches/py3k/Lib/test/test_os.py

giampaolo.rodola python-checkins at python.org
Fri Feb 25 21:01:05 CET 2011


Author: giampaolo.rodola
Date: Fri Feb 25 21:01:05 2011
New Revision: 88603

Log:
Skip os.sendfile() test if threading module is not available.

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

Modified: python/branches/py3k/Lib/test/test_os.py
==============================================================================
--- python/branches/py3k/Lib/test/test_os.py	(original)
+++ python/branches/py3k/Lib/test/test_os.py	Fri Feb 25 21:01:05 2011
@@ -1352,6 +1352,7 @@
         raise
 
 
+ at unittest.skipUnless(threading is not None, "test needs threading module")
 @unittest.skipUnless(hasattr(os, 'sendfile'), "test needs os.sendfile()")
 class TestSendfile(unittest.TestCase):
 


More information about the Python-checkins mailing list