Commit b6a596cd authored by Jason Madden's avatar Jason Madden

Fix pylint of test__contextvars.

parent 6fc38539
# gevent: copied from 3.7 to test our monkey-patch.
# 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
try:
import contextvars
......@@ -1083,5 +1087,5 @@ class HamtTest(unittest.TestCase):
if __name__ == "__main__":
if not gevent.monkey.PY37:
if not monkey.PY37:
unittest.main()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment