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
6966479f
Commit
6966479f
authored
May 29, 2020
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run more tests on 3.9; fix an ExpectedError leaking in PURE_PYTHON mode.
parent
33b6bc9d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
16 deletions
+18
-16
.travis.yml
.travis.yml
+10
-11
scripts/releases/make-manylinux
scripts/releases/make-manylinux
+1
-1
src/gevent/tests/test__issue607.py
src/gevent/tests/test__issue607.py
+7
-4
No files found.
.travis.yml
View file @
6966479f
...
...
@@ -329,26 +329,25 @@ jobs:
# For the CPython interpreters, unless we have reason to expect
# different behaviour across the versions (e.g., as measured by coverage)
# it's sufficient to run the full suite on the current version.
# XXX: Move these to 3.9 once the basic tests get worked out.
# it's sufficient to run the full suite on the current version
# and oldest version.
# 3.8
-
<<
:
*test-libuv-jobs
env
:
TRAVIS_PYTHON_VERSION=3.
8
env
:
TRAVIS_PYTHON_VERSION=3.
9
name
:
libuv38
-
<<
:
*test-libev-jobs
env
:
TRAVIS_PYTHON_VERSION=3.
8
env
:
TRAVIS_PYTHON_VERSION=3.
9
name
:
libev-cffi38
-
<<
:
*test-ares-jobs
env
:
TRAVIS_PYTHON_VERSION=3.
8
name
:
c-ares resolver on Python
3.
8
env
:
TRAVIS_PYTHON_VERSION=3.
9
name
:
c-ares resolver on Python
3.
9
-
<<
:
*test-dnspython-jobs
env
:
TRAVIS_PYTHON_VERSION=3.
8
name
:
dnspython resolver on Python
3.
8
env
:
TRAVIS_PYTHON_VERSION=3.
9
name
:
dnspython resolver on Python
3.
9
-
<<
:
*test-pure-jobs
env
:
TRAVIS_PYTHON_VERSION=3.
8
name
:
pure-Python on Python
3.
8
env
:
TRAVIS_PYTHON_VERSION=3.
9
name
:
pure-Python on Python
3.
9
# 2.7, no-embed. Run the tests that exercise the libraries we
# linked to.
...
...
scripts/releases/make-manylinux
View file @
6966479f
...
...
@@ -21,7 +21,7 @@ if [ -d /gevent -a -d /opt/python ]; then
cd
/gevent
rm
-rf
wheelhouse
mkdir
wheelhouse
for
variant
in
`
ls
-d
/opt/python/cp
{
27,35,36,37,38
}
*
`
;
do
for
variant
in
`
ls
-d
/opt/python/cp
{
27,35,36,37,38
,39
}
*
`
;
do
echo
"Building
$variant
"
mkdir
/tmp/build
cd
/tmp/build
...
...
src/gevent/tests/test__issue607.py
View file @
6966479f
...
...
@@ -22,11 +22,14 @@ class TestKillWithException(greentest.TestCase):
def
test_kill_with_exception
(
self
):
# issue-607 pointed this case.
g
=
gevent
.
spawn
(
f
)
g
.
kill
(
ExpectedError
)
assert
not
g
.
successful
()
with
gevent
.
get_hub
().
ignoring_expected_test_error
():
# Hmm, this only needs the `with ignoring...` in
# PURE_PYTHON mode (or PyPy).
g
.
kill
(
ExpectedError
)
self
.
assertFalse
(
g
.
successful
())
self
.
assertRaises
(
ExpectedError
,
g
.
get
)
assert
g
.
value
is
None
assert
isi
nstance
(
g
.
exception
,
ExpectedError
)
self
.
assertIsNone
(
g
.
value
)
self
.
assertIsI
nstance
(
g
.
exception
,
ExpectedError
)
def
test_kill_with_exception_after_started
(
self
):
with
gevent
.
get_hub
().
ignoring_expected_test_error
():
...
...
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