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
e0fd20ee
Commit
e0fd20ee
authored
Dec 30, 2008
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
0ed84521
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
tests/run/charencoding.pyx
tests/run/charencoding.pyx
+6
-4
No files found.
tests/run/charencoding.pyx
View file @
e0fd20ee
...
@@ -3,19 +3,21 @@
...
@@ -3,19 +3,21 @@
import
sys
import
sys
if
sys
.
version_info
[
0
]
<
3
:
if
sys
.
version_info
[
0
]
<
3
:
__doc__
=
u"""
__doc__
=
u"""
>>> expected = b''.join([chr(i) for i in range(0x10,0xFF,0x11)] + [chr(0xFF)])
>>> s = test_assign()
>>> s = test_assign()
>>> assert s ==
b''.join([chr(i) for i in range(0x10,0xFF,0x11)] + [chr(0xFF)])
, repr(s)
>>> assert s ==
expected
, repr(s)
>>> s = test_array()
>>> s = test_array()
>>> assert s ==
b''.join([chr(i) for i in range(0x10,0xFF,0x11)] + [chr(0xFF)])
, repr(s)
>>> assert s ==
expected
, repr(s)
"""
"""
else
:
else
:
__doc__
=
u"""
__doc__
=
u"""
>>> s = test_assign()
>>> s = test_assign()
>>> assert s == bytes(
[i for i in range(0x10,0xFF,0x11)]
+ [0xFF]), repr(s)
>>> assert s == bytes(
list(range(0x10,0xFF,0x11))
+ [0xFF]), repr(s)
>>> s = test_array()
>>> s = test_array()
>>> assert s == bytes(
[i for i in range(0x10,0xFF,0x11)]
+ [0xFF]), repr(s)
>>> assert s == bytes(
list(range(0x10,0xFF,0x11))
+ [0xFF]), repr(s)
"""
"""
def
test_assign
():
def
test_assign
():
...
...
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