[Python-checkins] r55885 - python/trunk/Lib/test/test_sundry.py
neal.norwitz
python-checkins at python.org
Mon Jun 11 08:16:51 CEST 2007
Author: neal.norwitz
Date: Mon Jun 11 08:16:48 2007
New Revision: 55885
Modified:
python/trunk/Lib/test/test_sundry.py
Log:
Not sure why this only fails sometimes on Unix machines. Better
to disable it and only import msvccompiler on Windows since that's
the only place it can work anyways.
Modified: python/trunk/Lib/test/test_sundry.py
==============================================================================
--- python/trunk/Lib/test/test_sundry.py (original)
+++ python/trunk/Lib/test/test_sundry.py Mon Jun 11 08:16:48 2007
@@ -38,7 +38,8 @@
import distutils.file_util
import distutils.filelist
import distutils.log
- import distutils.msvccompiler
+ if sys.platform.startswith('win'):
+ import distutils.msvccompiler
import distutils.mwerkscompiler
import distutils.sysconfig
import distutils.text_file
More information about the Python-checkins
mailing list