From 1d070fe946dba1d50f88cf2a89a90ffff8805afe Mon Sep 17 00:00:00 2001 From: Nikita Shulga <2453524+malfet@users.noreply.github.com> Date: Mon, 23 Jun 2025 10:38:18 -0700 Subject: [PATCH] [BE] Allow running test_ops with optional arguments This allows one to pass `-v` or `-k` flag when running tests locally --- test/test_ops.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_ops.py b/test/test_ops.py index 26d13bbe208..dae2745a166 100644 --- a/test/test_ops.py +++ b/test/test_ops.py @@ -2035,4 +2035,5 @@ def test_is_leaf_node(self, dim, p, block_size, inplace): if __name__ == "__main__": - pytest.main([__file__]) + import sys + pytest.main([__file__] + sys.argv)