diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 244447c..444d3d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.11] + python-version: [3.12] poetry-version: [1.8.3] os: [ubuntu-latest] runs-on: ${{ matrix.os }} diff --git a/tests/unit/layouts/utils.py b/tests/unit/layouts/utils.py index 76138d7..251aa14 100644 --- a/tests/unit/layouts/utils.py +++ b/tests/unit/layouts/utils.py @@ -36,7 +36,7 @@ def layout_test(layout_func: LayoutFunc, dimensions, resp, data_dir): out_array = np.array(out) expected_array = np.array(Image.open(data_dir / filename)) - print(np.argwhere(out_array != expected_array)) + print((out_array != expected_array).any(axis=-1).sum()) assert ( np.allclose(np.array(out), np.array(Image.open(data_dir / filename))) or UPDATE_REF_PLOTS