Skip to content

Commit

Permalink
Fix pylint of test__contextvars.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Sep 22, 2020
1 parent 6fc3853 commit b6a596c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/gevent/tests/test__contextvars.py
@@ -1,8 +1,12 @@
# 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
Expand Down Expand Up @@ -1083,5 +1087,5 @@ def test_hamt_getitem_1(self):


if __name__ == "__main__":
if not gevent.monkey.PY37:
if not monkey.PY37:
unittest.main()

0 comments on commit b6a596c

Please sign in to comment.