def byte_compile(self, files):
if sys.dont_write_bytecode:
- self.warn('byte-compile not supported on this platform, skipping.')
+ self.warn('byte-compiling is disabled, skipping.')
return
from distutils.util import byte_compile
def byte_compile(self, files):
if sys.dont_write_bytecode:
- self.warn('byte-compile not supported on this platform, skipping.')
+ self.warn('byte-compiling is disabled, skipping.')
return
from distutils.util import byte_compile
finally:
sys.dont_write_bytecode = old_dont_write_bytecode
- self.assertTrue('byte-compile not supported ' in self.logs[0][1])
+ self.assertTrue('byte-compiling is disabled' in self.logs[0][1])
def test_suite():
return unittest.makeSuite(BuildPyTestCase)
finally:
sys.dont_write_bytecode = old_dont_write_bytecode
- self.assertTrue('byte-compile not supported ' in self.logs[0][1])
+ self.assertTrue('byte-compiling is disabled' in self.logs[0][1])
def test_suite():
return unittest.makeSuite(InstallLibTestCase)
"""
# nothing is done if sys.dont_write_bytecode is True
if sys.dont_write_bytecode:
- raise DistutilsByteCompileError('byte-compiling not supported.')
+ raise DistutilsByteCompileError('byte-compiling is disabled.')
# First, if the caller didn't force us into direct or indirect mode,
# figure out which mode we should be in. We take a conservative