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
7a610814
Commit
7a610814
authored
Apr 25, 2011
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Py compatibility test fixes
parent
0946dfdf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
runtests.py
runtests.py
+2
-1
tests/run/with_statement_module_level_T536.pyx
tests/run/with_statement_module_level_T536.pyx
+1
-1
No files found.
runtests.py
View file @
7a610814
...
...
@@ -98,10 +98,11 @@ VER_DEP_MODULES = {
]),
(
2
,
6
)
:
(
operator
.
lt
,
lambda
x
:
x
in
[
'run.print_function'
,
'run.cython3'
,
'run.withstat_py'
,
'run.generators_py'
,
# generators, with statement
'run.pure_py'
,
# decorators, with statement
]),
(
2
,
7
)
:
(
operator
.
lt
,
lambda
x
:
x
in
[
'run.withstat_py'
,
# multi context with statement
]),
# The next line should start (3,); but this is a dictionary, so
# we can only have one (3,) key. Since 2.7 is supposed to be the
# last 2.x release, things would have to change drastically for this
...
...
tests/run/with_statement_module_level_T536.pyx
View file @
7a610814
...
...
@@ -4,7 +4,7 @@ __doc__ = """
>>> inner_result
['ENTER']
>>> result # doctest: +ELLIPSIS
['ENTER',
"EXIT (<...ValueError...>,...ValueError..., <traceback object at ...)"
]
['ENTER',
...EXIT (<...ValueError...>,...ValueError..., <traceback object at ...)...
]
>>> inner_result_no_exc
['ENTER']
...
...
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