Skip to content

Commit 1d070fe

Browse files
authored
[BE] Allow running test_ops with optional arguments
This allows one to pass `-v` or `-k` flag when running tests locally
1 parent 7b283c2 commit 1d070fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_ops.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2035,4 +2035,5 @@ def test_is_leaf_node(self, dim, p, block_size, inplace):
20352035

20362036

20372037
if __name__ == "__main__":
2038-
pytest.main([__file__])
2038+
import sys
2039+
pytest.main([__file__] + sys.argv)

0 commit comments

Comments
 (0)