Skip to content

Commit f9e1082

Browse files
committed
chore: fix warnings and imports
1 parent 88202d1 commit f9e1082

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

numba_cuda/numba/cuda/tests/cudadrv/test_nvvm_driver.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55

66
from llvmlite import ir
77
from numba.cuda.cudadrv import nvrtc, nvvm, runtime
8+
from numba.cuda.cudadrv.error import NvvmWarning
89
from numba.cuda.testing import unittest
9-
from numba.cuda.cudadrv.nvvm import LibDevice, NvvmError, NVVM, NvvmWarning
10+
from numba.cuda.cudadrv.nvvm import LibDevice, NvvmError, NVVM
1011
from numba.cuda.testing import skip_on_cudasim
1112

1213

testing/pytest.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ addopts = --benchmark-disable --pyargs numba.cuda.tests
99

1010
filterwarnings =
1111
error
12-
ignore:Grid size 1 will likely result in GPU under-utilization due to low occupancy.:numba.core.errors.NumbaPerformanceWarning
13-
ignore:.+dynamic initialization is not supported for a function-scope static __shared__.+:UserWarning
12+
ignore:.*Grid size 1 will likely result in GPU under-utilization.+:numba.core.errors.NumbaPerformanceWarning
13+
ignore:.*dynamic initialization is not supported for a function-scope static __shared__.*:UserWarning
14+
ignore:.*The keyword argument .nopython=False. was supplied.+:NumbaDeprecationWarning

0 commit comments

Comments
 (0)