Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
b42255e4
Commit
b42255e4
authored
Feb 21, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify coverage test exclusion by depending on successful plugin import
parent
6c317fa1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
runtests.py
runtests.py
+1
-11
No files found.
runtests.py
View file @
b42255e4
...
@@ -102,7 +102,7 @@ EXT_DEP_MODULES = {
...
@@ -102,7 +102,7 @@ EXT_DEP_MODULES = {
'tag:pstats'
:
'pstats'
,
'tag:pstats'
:
'pstats'
,
'tag:posix'
:
'posix'
,
'tag:posix'
:
'posix'
,
'tag:array'
:
'array'
,
'tag:array'
:
'array'
,
'tag:coverage'
:
'
c
overage'
,
'tag:coverage'
:
'
Cython.C
overage'
,
'tag:ipython'
:
'IPython'
,
'tag:ipython'
:
'IPython'
,
'tag:jedi'
:
'jedi'
,
'tag:jedi'
:
'jedi'
,
}
}
...
@@ -1937,16 +1937,6 @@ def runtests(options, cmd_args, coverage=None):
...
@@ -1937,16 +1937,6 @@ def runtests(options, cmd_args, coverage=None):
except (ImportError, AttributeError, TypeError):
except (ImportError, AttributeError, TypeError):
exclude_selectors.append(RegExSelector('Jedi'))
exclude_selectors.append(RegExSelector('Jedi'))
try:
if coverage is not None:
# cannot run coverage tests while collecting coverage data for Cython
raise ImportError("excluding coverage tests")
import coverage as coverage_module
if list(map(int, re.findall('[0-9]+', coverage_module.__version__ or '0'))) < [4, 0]:
raise ImportError("excluding coverage tests: version too old")
except (ImportError, AttributeError, TypeError):
exclude_selectors.append(RegExSelector('coverage'))
if options.exclude:
if options.exclude:
exclude_selectors += [ string_selector(r) for r in options.exclude ]
exclude_selectors += [ string_selector(r) for r in options.exclude ]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment