From 7d3306ab542fffb691eb397d46649df9b2af4903 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sat, 1 Nov 2025 11:27:18 +0100 Subject: [PATCH 1/2] Fix Pylint issue Assigning result of a function call, where the function has no return --- tests/ndarray/test_lazyexpr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ndarray/test_lazyexpr.py b/tests/ndarray/test_lazyexpr.py index 85e145b8..7b236cfd 100644 --- a/tests/ndarray/test_lazyexpr.py +++ b/tests/ndarray/test_lazyexpr.py @@ -1397,7 +1397,7 @@ def test_missing_operator(): a = blosc2.arange(10, urlpath="a.b2nd", mode="w") b = blosc2.arange(10, urlpath="b.b2nd", mode="w") expr = blosc2.lazyexpr("a + b") - c = expr.save("expr.b2nd", mode="w") + expr.save("expr.b2nd", mode="w") # Remove the file for operand b blosc2.remove_urlpath("b.b2nd") # Re-open the lazy expression From 49816eec0b7a8d04c4d998219607e5bb322642ae Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sat, 1 Nov 2025 11:27:57 +0100 Subject: [PATCH 2/2] Remove extra char --- tests/ndarray/test_lazyexpr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ndarray/test_lazyexpr.py b/tests/ndarray/test_lazyexpr.py index 7b236cfd..693a43ef 100644 --- a/tests/ndarray/test_lazyexpr.py +++ b/tests/ndarray/test_lazyexpr.py @@ -1404,7 +1404,7 @@ def test_missing_operator(): with pytest.raises(blosc2.exceptions.MissingOperands) as excinfo: blosc2.open("expr.b2nd") - # Check that some operand is missing" + # Check that some operand is missing assert "a" not in excinfo.value.missing_ops assert excinfo.value.missing_ops["b"] == pathlib.Path("b.b2nd") assert excinfo.value.expr == "a + b"