nose-devs/nose — Issue #266: IronPython support
Author: jpellerin
Created: 2011-12-14 16:05:57+00:00
State: open

nose SVN mostly works with IronPython 1.1.1, except for this detail. Just
as in Windows, IronPython cannot check for executable bits of files,
inherting this problem from .NET. So nose.config.includeExe needs to be True.

Index: nose/config.py
===================================================================
--- nose/config.py	(revision 483)
+++ nose/config.py	(working copy)
@@ -146,7 +146,7 @@
self.exclude = None
self.getTestCaseNamesCompat = False
self.includeExe = env.get('NOSE_INCLUDE_EXE',
- sys.platform == 'win32')
+ sys.platform == ('win32', 'cli'))
self.ignoreFiles = (re.compile(r'^\.'),
re.compile(r'^_'),
re.compile(r'^setup\.py$')
@@ -180,7 +180,7 @@
self.exclude = None
self.getTestCaseNamesCompat = False
self.includeExe = env.get('NOSE_INCLUDE_EXE',
- sys.platform == 'win32')
+ sys.platform in ('win32', 'cli'))
self.ignoreFiles = (re.compile(r'^\.'),
re.compile(r'^_'),
re.compile(r'^setup\.py$')

Google Code Info:
Issue #: 183
Author: sanx...@gmail.com
Created On: 2008-04-29T01:23:23.000Z
Closed On: 2008-04-29T18:22:33.000Z