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
Kirill Smelkov
cython
Commits
ba02026a
Commit
ba02026a
authored
May 22, 2008
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Py2.6 test fixes
parent
d85651f2
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
12 deletions
+12
-12
tests/run/classkwonlyargs.pyx
tests/run/classkwonlyargs.pyx
+2
-2
tests/run/extkwonlyargs.pyx
tests/run/extkwonlyargs.pyx
+1
-1
tests/run/extstarargs.pyx
tests/run/extstarargs.pyx
+2
-2
tests/run/kwonlyargs.pyx
tests/run/kwonlyargs.pyx
+1
-1
tests/run/kwonlyargscall.pyx
tests/run/kwonlyargscall.pyx
+1
-1
tests/run/r_docstrings.pyx
tests/run/r_docstrings.pyx
+1
-1
tests/run/r_toofewargs.pyx
tests/run/r_toofewargs.pyx
+1
-1
tests/run/simpcall.pyx
tests/run/simpcall.pyx
+1
-1
tests/run/starargs.pyx
tests/run/starargs.pyx
+2
-2
No files found.
tests/run/classkwonlyargs.pyx
View file @
ba02026a
...
...
@@ -85,11 +85,11 @@ __doc__ = u"""
"""
import
sys
,
re
if
sys
.
version_info
[
0
]
>=
3
:
if
sys
.
version_info
>=
(
2
,
6
)
:
__doc__
=
re
.
sub
(
u"Error: (.*)exactly(.*)"
,
u"Error:
\
\
1at most
\
\
2"
,
__doc__
)
import
sys
,
re
if
sys
.
version_info
[
0
]
>=
3
:
if
sys
.
version_info
>=
(
2
,
6
)
:
__doc__
=
re
.
sub
(
u"(ELLIPSIS[^>]*Error: )[^
\
n
]*
\
n
"
,
u"
\
\
1...
\
n
"
,
__doc__
,
re
.
M
)
class
Spam
:
...
...
tests/run/extkwonlyargs.pyx
View file @
ba02026a
...
...
@@ -85,7 +85,7 @@ __doc__ = u"""
"""
import
sys
,
re
if
sys
.
version_info
[
0
]
>=
3
:
if
sys
.
version_info
>=
(
2
,
6
)
:
__doc__
=
re
.
sub
(
u"Error: (.*)exactly(.*)"
,
u"Error:
\
\
1at most
\
\
2"
,
__doc__
)
cdef
class
Ext
:
...
...
tests/run/extstarargs.pyx
View file @
ba02026a
...
...
@@ -89,11 +89,11 @@ __doc__ = u"""
"""
import
sys
,
re
if
sys
.
version_info
[
0
]
>=
3
:
if
sys
.
version_info
>=
(
2
,
6
)
:
__doc__
=
re
.
sub
(
u"Error: (.*)exactly(.*)"
,
u"Error:
\
\
1at most
\
\
2"
,
__doc__
)
import
sys
,
re
if
sys
.
version_info
[
0
]
>=
3
:
if
sys
.
version_info
>=
(
2
,
6
)
:
__doc__
=
re
.
sub
(
u"(ELLIPSIS[^>]*Error: )[^
\
n
]*
\
n
"
,
u"
\
\
1...
\
n
"
,
__doc__
,
re
.
M
)
cdef
sorteditems
(
d
):
...
...
tests/run/kwonlyargs.pyx
View file @
ba02026a
...
...
@@ -82,7 +82,7 @@ __doc__ = u"""
"""
import
sys
,
re
if
sys
.
version_info
[
0
]
>=
3
:
if
sys
.
version_info
>=
(
2
,
6
)
:
__doc__
=
re
.
sub
(
u"Error: (.*)exactly(.*)"
,
u"Error:
\
\
1at most
\
\
2"
,
__doc__
)
def
b
(
a
,
b
,
c
):
...
...
tests/run/kwonlyargscall.pyx
View file @
ba02026a
...
...
@@ -82,7 +82,7 @@ __doc__ = u"""
"""
import
sys
,
re
if
sys
.
version_info
[
0
]
>=
3
:
if
sys
.
version_info
>=
(
2
,
6
)
:
__doc__
=
re
.
sub
(
u"Error: (.*)exactly(.*)"
,
u"Error:
\
\
1at most
\
\
2"
,
__doc__
)
# the calls:
...
...
tests/run/r_docstrings.pyx
View file @
ba02026a
__doc__
=
u"""
__doc__
=
u"""
# Python 3 gets all of these right ...
>>> f.__doc__
'This is a function docstring.'
...
...
tests/run/r_toofewargs.pyx
View file @
ba02026a
...
...
@@ -5,7 +5,7 @@ __doc__ = u"""
"""
import
sys
,
re
if
sys
.
version_info
[
0
]
>=
3
:
if
sys
.
version_info
>=
(
2
,
6
)
:
__doc__
=
re
.
sub
(
u"Error: .*"
,
u"Error: ..."
,
__doc__
)
cdef
class
Spam
:
...
...
tests/run/simpcall.pyx
View file @
ba02026a
...
...
@@ -14,7 +14,7 @@ __doc__ = u"""
"""
import
sys
,
re
if
sys
.
version_info
[
0
]
>=
3
:
if
sys
.
version_info
>=
(
2
,
6
)
:
__doc__
=
re
.
sub
(
u"Error: .*exactly.*"
,
u"Error: ..."
,
__doc__
)
import
sys
...
...
tests/run/starargs.pyx
View file @
ba02026a
...
...
@@ -85,11 +85,11 @@ __doc__ = u"""
"""
import
sys
,
re
if
sys
.
version_info
[
0
]
>=
3
:
if
sys
.
version_info
>=
(
2
,
6
)
:
__doc__
=
re
.
sub
(
u"Error: (.*)exactly(.*)"
,
u"Error:
\
\
1at most
\
\
2"
,
__doc__
)
import
sys
,
re
if
sys
.
version_info
[
0
]
>=
3
:
if
sys
.
version_info
>=
(
2
,
6
)
:
__doc__
=
re
.
sub
(
u"(ELLIPSIS[^>]*Error: )[^
\
n
]*
\
n
"
,
u"
\
\
1...
\
n
"
,
__doc__
,
re
.
M
)
cdef
sorteditems
(
d
):
...
...
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