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
fb4ea137
Commit
fb4ea137
authored
Dec 13, 2008
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doctests must set __doc__ in Py2.3
parent
a742e84d
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
13 additions
and
14 deletions
+13
-14
tests/run/and.pyx
tests/run/and.pyx
+1
-1
tests/run/bint.pyx
tests/run/bint.pyx
+1
-2
tests/run/dictcomp.pyx
tests/run/dictcomp.pyx
+1
-1
tests/run/funcexceptcypy.pyx
tests/run/funcexceptcypy.pyx
+1
-1
tests/run/inlinepxd.pyx
tests/run/inlinepxd.pyx
+1
-1
tests/run/listcomp.pyx
tests/run/listcomp.pyx
+1
-1
tests/run/nonecheck.pyx
tests/run/nonecheck.pyx
+1
-1
tests/run/or.pyx
tests/run/or.pyx
+1
-1
tests/run/r_typecast.pyx
tests/run/r_typecast.pyx
+1
-1
tests/run/set.pyx
tests/run/set.pyx
+1
-1
tests/run/setcomp.pyx
tests/run/setcomp.pyx
+1
-1
tests/run/ticket_124.pyx
tests/run/ticket_124.pyx
+1
-1
tests/run/tryfinally.pyx
tests/run/tryfinally.pyx
+1
-1
No files found.
tests/run/and.pyx
View file @
fb4ea137
u"""
__doc__
=
u"""
>>> a,b = 'a *','b *' # use non-interned strings
>>> and2_assign(2,3) == (2 and 3)
...
...
tests/run/bint.pyx
View file @
fb4ea137
"""
__doc__
=
u"""
>>> call_test()
False
True
...
...
tests/run/dictcomp.pyx
View file @
fb4ea137
u"""
__doc__
=
u"""
>>> type(smoketest()) is dict
True
...
...
tests/run/funcexceptcypy.pyx
View file @
fb4ea137
u"""
__doc__
=
u"""
>>> import sys
>>> if not IS_PY3: sys.exc_clear()
...
...
tests/run/inlinepxd.pyx
View file @
fb4ea137
"""
__doc__
=
u
"""
>>> f()
3
>>> g()
...
...
tests/run/listcomp.pyx
View file @
fb4ea137
u"""
__doc__
=
u"""
>>> smoketest()
[0, 4, 8]
>>> typed()
...
...
tests/run/nonecheck.pyx
View file @
fb4ea137
"""
__doc__
=
u
"""
Tests accessing attributes of extension type variables
set to None
...
...
tests/run/or.pyx
View file @
fb4ea137
u"""
__doc__
=
u"""
>>> a,b = 'a *','b *' # use non-interned strings
>>> or2_assign(2,3) == (2 or 3)
...
...
tests/run/r_typecast.pyx
View file @
fb4ea137
u"""
__doc__
=
u"""
>>> call_method( ExtType() ).method()
1
"""
...
...
tests/run/set.pyx
View file @
fb4ea137
u"""
__doc__
=
u"""
>>> type(test_set_literal()) is _set
True
>>> sorted(test_set_literal())
...
...
tests/run/setcomp.pyx
View file @
fb4ea137
u"""
__doc__
=
u"""
>>> type(smoketest()) is not list
True
>>> type(smoketest()) is _set
...
...
tests/run/ticket_124.pyx
View file @
fb4ea137
"""
__doc__
=
u
"""
>>> spam(dict(test=2))
False
"""
...
...
tests/run/tryfinally.pyx
View file @
fb4ea137
u"""
__doc__
=
u"""
>>> try:
... raise ValueError
... finally:
...
...
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