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
9da676a8
Commit
9da676a8
authored
May 28, 2011
by
Vitja Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Uninitialized test Py3k fix
parent
fdc3d3c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
tests/run/uninitialized.py
tests/run/uninitialized.py
+4
-4
No files found.
tests/run/uninitialized.py
View file @
9da676a8
...
@@ -118,8 +118,8 @@ def test_inner(cond):
...
@@ -118,8 +118,8 @@ def test_inner(cond):
def
test_class
(
cond
):
def
test_class
(
cond
):
"""
"""
>>> test_class(True)
#doctest: +ELLIPSIS
>>> test_class(True)
<class ...A at 0x...>
1
>>> test_class(False)
>>> test_class(False)
Traceback (most recent call last):
Traceback (most recent call last):
...
...
...
@@ -127,5 +127,5 @@ def test_class(cond):
...
@@ -127,5 +127,5 @@ def test_class(cond):
"""
"""
if
cond
:
if
cond
:
class
A
:
class
A
:
pass
x
=
1
return
A
return
A
.
x
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