Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Oct 25, 2021
1 parent ed48b24 commit 91b25a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _unittests/ut_test_modules/test_MODULE_pycuda.py
Expand Up @@ -26,7 +26,7 @@ def test_cuda(self):
try:
import pycuda.driver as drv # pylint: disable=C0415
except ImportError as e:
warnings.warn("No pycuda installed: {0}".format(e))
warnings.warn("No pycuda installed: {0}".format(e)) # pylint: disable=C0209
return
import numpy # pylint: disable=C0415

Expand Down
2 changes: 1 addition & 1 deletion _unittests/ut_test_modules/test_MODULE_pyopencl.py
Expand Up @@ -30,7 +30,7 @@ def test_opencl(self):
try:
import pyopencl as cl # pylint: disable=C0415
except ImportError as e:
warnings.warn("Unable to import opencl %r." % e)
warnings.warn("Unable to import opencl %r." % e) # pylint: disable=C0209
return
from pyopencl import get_platforms # pylint: disable=C0415
for plat in get_platforms():
Expand Down

0 comments on commit 91b25a3

Please sign in to comment.