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
6608bae8
Commit
6608bae8
authored
Dec 12, 2008
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test fixes after latest with transform changes
parent
eac2e5ff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
Cython/Compiler/Tests/TestParseTreeTransforms.py
Cython/Compiler/Tests/TestParseTreeTransforms.py
+19
-19
No files found.
Cython/Compiler/Tests/TestParseTreeTransforms.py
View file @
6608bae8
...
...
@@ -95,21 +95,21 @@ class TestWithTransform(TransformTest):
self
.
assertCode
(
u"""
$1_0 = x
$1_2 = $1_0.__exit__
$1_0.__enter__()
$1_1 = True
$0_0 = None
$0_0 = x
$0_2 = $0_0.__exit__
$0_0.__enter__()
$0_1 = True
try:
try:
$1_0 = None
y = z ** 3
except:
$
1
_1 = False
if (not $
1_2($0
_0)):
$
0
_1 = False
if (not $
0_2($1
_0)):
raise
finally:
if $
1
_1:
$
1
_2(None, None, None)
if $
0
_1:
$
0
_2(None, None, None)
"""
,
t
)
...
...
@@ -120,22 +120,22 @@ class TestWithTransform(TransformTest):
"""
)
self
.
assertCode
(
u"""
$1_0 = x
$1_2 = $1_0.__exit__
$1_3 = $1_0.__enter__()
$1_1 = True
$0_0 = None
$0_0 = x
$0_2 = $0_0.__exit__
$0_3 = $0_0.__enter__()
$0_1 = True
try:
try:
y = $1_3
$1_0 = None
y = $0_3
y = z ** 3
except:
$
1
_1 = False
if (not $
1_2($0
_0)):
$
0
_1 = False
if (not $
0_2($1
_0)):
raise
finally:
if $
1
_1:
$
1
_2(None, None, None)
if $
0
_1:
$
0
_2(None, None, None)
"""
,
t
)
...
...
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