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
4a8062bd
Commit
4a8062bd
authored
Jul 08, 2021
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More Appveyor fixes
Plus a PyPy fix, now that the tests are running again.
parent
273c3207
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
src/gevent/libev/corecffi.py
src/gevent/libev/corecffi.py
+6
-1
src/gevent/testing/patched_tests_setup.py
src/gevent/testing/patched_tests_setup.py
+2
-0
src/gevent/testing/testrunner.py
src/gevent/testing/testrunner.py
+4
-0
No files found.
src/gevent/libev/corecffi.py
View file @
4a8062bd
...
...
@@ -56,7 +56,12 @@ class _Callbacks(AbstractCallbacks):
# pylint:disable=arguments-differ,arguments-renamed
def
python_check_callback
(
self
,
*
args
):
pass
# There's a pylint bug (pylint 2.9.3, astroid 2.6.2) that causes pylint to crash
# with an AttributeError on certain types of arguments-differ errors
# But code in _ffi/loop depends on being able to find the watcher_ptr
# argument is the local frame.
# pylint:disable=unused-variable
_loop
,
watcher_ptr
,
_events
=
args
def
python_prepare_callback
(
self
,
_loop_ptr
,
watcher_ptr
,
_events
):
AbstractCallbacks
.
python_prepare_callback
(
self
,
watcher_ptr
)
...
...
src/gevent/testing/patched_tests_setup.py
View file @
4a8062bd
...
...
@@ -1352,6 +1352,8 @@ if PY39:
'test_httplib.BasicTest.test_dir_with_added_behavior_on_status'
,
'test_httplib.TunnelTests.test_tunnel_connect_single_send_connection_setup'
,
'test_ssl.TestSSLDebug.test_msg_callback_deadlock_bpo43577'
,
# This one fails with the updated certs
'test_ssl.ContextTests.test_load_verify_cadata'
,
# This one times out on 3.7.1 on Appveyor
'test_ftplib.TestTLS_FTPClassMixin.test_retrbinary_rest'
,
]
...
...
src/gevent/testing/testrunner.py
View file @
4a8062bd
...
...
@@ -536,12 +536,16 @@ class Discovery(object):
self
.
__add_test
(
qualified_name
,
filename
,
contents
)
def
visit_files
(
self
,
filenames
):
print
(
"
\
t
Begin visit"
)
for
filename
in
filenames
:
print
(
"
\
t
Visiting"
,
filename
)
self
.
visit_file
(
filename
)
with
Discovery
.
_in_dir
(
self
.
orig_dir
):
self
.
__expand_imports
()
self
.
__combine_commands
(
self
.
std_monkey_patch_files
)
self
.
__combine_commands
(
self
.
no_monkey_patch_files
)
print
(
"
\
t
Commands"
,
self
.
commands
)
print
(
"
\
t
End visit"
)
@
staticmethod
@
contextmanager
...
...
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