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
b6a596cd
Commit
b6a596cd
authored
Sep 22, 2020
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pylint of test__contextvars.
parent
6fc38539
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
src/gevent/tests/test__contextvars.py
src/gevent/tests/test__contextvars.py
+7
-3
No files found.
src/gevent/tests/test__contextvars.py
View file @
b6a596cd
# gevent: copied from 3.7 to test our monkey-patch.
# gevent: copied from 3.7 to test our monkey-patch.
# Modified to work on all versions of Python.
# Modified to work on all versions of Python.
import
gevent.monkey
;
gevent
.
monkey
.
patch_all
()
from
gevent
import
monkey
monkey
.
patch_all
()
# pylint:disable=superfluous-parens,pointless-statement,not-callable
# pylint:disable=unused-argument,too-many-public-methods,unused-variable
# pylint:disable=too-many-branches,too-many-statements
import
sys
import
concurrent.futures
import
concurrent.futures
try
:
try
:
import
contextvars
import
contextvars
...
@@ -1083,5 +1087,5 @@ class HamtTest(unittest.TestCase):
...
@@ -1083,5 +1087,5 @@ class HamtTest(unittest.TestCase):
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
if
not
gevent
.
monkey
.
PY37
:
if
not
monkey
.
PY37
:
unittest
.
main
()
unittest
.
main
()
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