Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
97a061cf
Commit
97a061cf
authored
Jul 15, 2015
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #710 from kmod/fix_707
Add sre_compile_test.expected
parents
b0db3e65
b2256729
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
test/tests/sre_compile_test.expected
test/tests/sre_compile_test.expected
+14
-0
test/tests/sre_compile_test.py
test/tests/sre_compile_test.py
+3
-0
No files found.
test/tests/sre_compile_test.expected
0 → 100644
View file @
97a061cf
None
None
('b',)
0
10000
20000
30000
40000
50000
60000
70000
80000
90000
[('bigcharset', [2, 16843008L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 16843009L, 0L, 0L, 0L, 0L, 4294967295L, 4294967295L, 4294967295L, 4294967295L, 4294967295L, 4294967295L, 4294967295L, 4294967295L, 4294967295L, 4294967295L, 4294967295L, 4294967295L])]
test/tests/sre_compile_test.py
View file @
97a061cf
...
...
@@ -15,4 +15,7 @@ def identity(o):
charset
=
[(
sre_constants
.
RANGE
,
(
128
,
65535
))]
# Note: _optimize_charset changed behavior + interface some time
# between 2.7.7 (our stdlib) and 2.7.9 (current cpython latest),
# so this test has a .expected file to avoid running cpython.
print
sre_compile
.
_optimize_charset
(
charset
,
identity
)
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