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
4b5ecb7f
Commit
4b5ecb7f
authored
Nov 12, 2011
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanups in test runner
--HG-- extra : rebase_source : 0c6236abf15330b12721c83937bdc07f495d52f0
parent
695f906c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
runtests.py
runtests.py
+2
-4
No files found.
runtests.py
View file @
4b5ecb7f
...
...
@@ -5,7 +5,6 @@ import sys
import
re
import
gc
import
locale
import
codecs
import
shutil
import
time
import
unittest
...
...
@@ -975,7 +974,7 @@ def collect_doctests(path, module_prefix, suite, selectors):
'#' in filename and not
filename.startswith('.') and not
filename in blacklist)
import doctest
, types
import doctest
for dirpath, dirnames, filenames in os.walk(path):
for dir in list(dirnames):
if not package_matches(dir):
...
...
@@ -1269,8 +1268,8 @@ def get_version():
full_version = cython_version
top = os.path.dirname(os.path.abspath(__file__))
if os.path.exists(os.path.join(top, '.git')):
old_dir = os.getcwd()
try:
old_dir = os.getcwd()
os.chdir(top)
head_commit = subprocess_output(['git', 'rev-parse', 'HEAD']).strip()
version_commit = subprocess_output(['git', 'rev-parse', cython_version]).strip()
...
...
@@ -1481,7 +1480,6 @@ def main():
if
selector
.
startswith
(
'bugs'
):
test_bugs
=
True
import
re
selectors
=
[
string_selector
(
r
)
for
r
in
cmd_args
]
if
not
selectors
:
selectors
=
[
lambda
x
,
tags
=
None
:
True
]
...
...
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