diff --git a/test/test_fortran.py b/test/test_fortran.py index f237ec7934347b949db53b3d4031016b496a8c50..949f3ac115792c3fd048012c67d9d589f90f7b19 100644 --- a/test/test_fortran.py +++ b/test/test_fortran.py @@ -373,8 +373,6 @@ def test_matmul(ctx_factory, buffer_inames): ctx.devices[0].platform.name == "Portable Computing Language"): pytest.skip("crashes on pocl") - logging.basicConfig(level=logging.INFO) - fortran_src = """ subroutine dgemm(m,n,ell,a,b,c) implicit none diff --git a/test/test_linalg.py b/test/test_linalg.py index 6990889baacb137c78169c363af15d8b379688cb..6d56ae01836bae194f1fba91fd96b72a98196853 100644 --- a/test/test_linalg.py +++ b/test/test_linalg.py @@ -38,6 +38,9 @@ import loopy as lp from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2 # noqa: F401 +logger = logging.getLogger(__name__) + + DEBUG_PREAMBLE = r""" #pragma OPENCL EXTENSION cl_amd_printf: enable #define MY_J (j_outer*64+j_inner_outer*16+j_inner_inner) @@ -64,7 +67,6 @@ def check_float4(result, ref_result): def test_axpy(ctx_factory): - logging.basicConfig(level="INFO") ctx = ctx_factory() n = 3145182 diff --git a/test/test_loopy.py b/test/test_loopy.py index 3412238c620704bd8d9a77de424afda671a436b6..8952c5adb8fa98fc3ea6a95fabbda0707e52f68b 100644 --- a/test/test_loopy.py +++ b/test/test_loopy.py @@ -597,7 +597,6 @@ def test_vector_types(ctx_factory, vec_len): def test_conditional(ctx_factory): - # logging.basicConfig(level=logging.DEBUG) ctx = ctx_factory() knl = lp.make_kernel( diff --git a/test/test_reduction.py b/test/test_reduction.py index eef8ffa6e7c1603482e4400ebe8d851cbbddac1d..09c09a04b5f4bf9d30c90a28338b6649b6d535d6 100644 --- a/test/test_reduction.py +++ b/test/test_reduction.py @@ -281,8 +281,6 @@ def test_global_mc_parallel_reduction(ctx_factory, size): def test_argmax(ctx_factory): - logging.basicConfig(level=logging.INFO) - ctx = ctx_factory() queue = cl.CommandQueue(ctx) rng = np.random.default_rng(seed=42)