Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
gevent
Commits
b7bda102
Commit
b7bda102
authored
Mar 03, 2018
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The SystemError: BytecodeCorruption issue is back on pypy. Try running that test by itself.
parent
6fe67be8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
.travis.yml
.travis.yml
+0
-2
src/greentest/greentest/testrunner.py
src/greentest/greentest/testrunner.py
+7
-0
src/greentest/test__pywsgi.py
src/greentest/test__pywsgi.py
+2
-1
No files found.
.travis.yml
View file @
b7bda102
...
...
@@ -13,8 +13,6 @@ env:
-
CCACHE_SLOPPINESS=file_macro,time_macros,include_file_ctime,include_file_mtime
-
CCACHE_NOHASHDIR=true
-
CFLAGS="-Ofast -pipe -fomit-frame-pointer -march=native"
-
PYTHONTRACEMALLOC=10
-
PYTHONFAULTHANDLER=1
matrix
:
# These are ordered to get as much diversity in the
...
...
src/greentest/greentest/testrunner.py
View file @
b7bda102
...
...
@@ -15,6 +15,7 @@ from greentest.util import log
from
greentest.sysinfo
import
RUNNING_ON_CI
from
greentest.sysinfo
import
PYPY
from
greentest.sysinfo
import
RESOLVER_ARES
from
greentest.sysinfo
import
LIBUV
from
greentest
import
six
...
...
@@ -35,6 +36,12 @@ RUN_ALONE = [
'test__examples.py'
,
]
if
RUNNING_ON_CI
and
PYPY
and
LIBUV
:
RUN_ALONE
+=
[
# https://bitbucket.org/pypy/pypy/issues/2769/systemerror-unexpected-internal-exception
'test__pywsgi.py'
,
]
# tests that can't be run when coverage is enabled
IGNORE_COVERAGE
=
[
# Hangs forever
...
...
src/greentest/test__pywsgi.py
View file @
b7bda102
...
...
@@ -1562,16 +1562,17 @@ class TestInputRaw(greentest.BaseTestCase):
i
=
self
.
make_input
(
"2
\
r
\
n
1"
,
chunked_input
=
True
)
self
.
assertRaises
(
IOError
,
i
.
readline
)
@
greentest
.
skipOnLibuvOnCIOnPyPy
(
"Crashes. See https://github.com/gevent/gevent/issues/1130"
)
def
test_32bit_overflow
(
self
):
# https://github.com/gevent/gevent/issues/289
# Should not raise an OverflowError on Python 2
print
(
"BEGIN 32bit"
)
data
=
b'asdf
\
n
ghij
\
n
'
long_data
=
b'a'
*
(
pywsgi
.
MAX_REQUEST_LINE
+
10
)
long_data
+=
b'
\
n
'
data
=
data
+
long_data
partial_data
=
b'qjk
\
n
'
# Note terminating \n
n
=
25
*
1000000000
print
(
"N"
,
n
,
"Data len"
,
len
(
data
))
if
hasattr
(
n
,
'bit_length'
):
self
.
assertEqual
(
n
.
bit_length
(),
35
)
if
not
PY3
and
not
PYPY
:
...
...
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