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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
8d722faf
Commit
8d722faf
authored
Nov 04, 2010
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix doctests.
parent
14b9d6f0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
Cython/Build/Inline.py
Cython/Build/Inline.py
+1
-0
runtests.py
runtests.py
+4
-1
tests/build/basic_cythonize.srctree
tests/build/basic_cythonize.srctree
+1
-1
tests/build/inline_distutils.srctree
tests/build/inline_distutils.srctree
+1
-1
No files found.
Cython/Build/Inline.py
View file @
8d722faf
#no doctest
print
"Warning: Using prototype cython.inline code..."
import
tempfile
...
...
runtests.py
View file @
8d722faf
...
...
@@ -655,7 +655,10 @@ def collect_doctests(path, module_prefix, suite, selectors):
for
f
in
filenames
:
if
file_matches
(
f
):
if
not
f
.
endswith
(
'.py'
):
continue
filepath
=
os
.
path
.
join
(
dirpath
,
f
)[:
-
len
(
".py"
)]
filepath
=
os
.
path
.
join
(
dirpath
,
f
)
if
os
.
path
.
getsize
(
filepath
)
==
0
:
continue
if
'no doctest'
in
open
(
filepath
).
next
():
continue
filepath
=
filepath
[:
-
len
(
".py"
)]
modulename
=
module_prefix
+
filepath
[
len
(
path
)
+
1
:].
replace
(
os
.
path
.
sep
,
'.'
)
if
not
[
1
for
match
in
selectors
if
match
(
modulename
)
]:
continue
...
...
tests/build/basic_cythonize.srctree
View file @
8d722faf
...
...
@@ -5,7 +5,7 @@ PYTHON -c "import a"
# TODO: Better interface...
from Cython.
Compiler
.Dependencies import cythonize
from Cython.
Build
.Dependencies import cythonize
from distutils.core import setup
...
...
tests/build/inline_distutils.srctree
View file @
8d722faf
...
...
@@ -5,7 +5,7 @@ PYTHON -c "import a"
# TODO: Better interface...
from Cython.
Compiler
.Dependencies import cythonize
from Cython.
Build
.Dependencies import cythonize
from distutils.core import setup
...
...
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