Skip to content

Commit 18192ea

Browse files
[Build] Fix pytest macro to allow --test_args to pass through
1 parent 2d5436c commit 18192ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/private/pytest.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if __name__ == "__main__":
1515
import sys
1616
import pytest
1717
18-
args = sys.argv[1:] + ["-ra"] + %s + %s
18+
args = ["-ra"] + %s + sys.argv[1:] + %s
1919
2020
sys.exit(pytest.main(args))""" % (_stringify(ctx.attr.args), _stringify([src.path for src in ctx.files.srcs])),
2121
is_executable = True,

0 commit comments

Comments
 (0)