diff options
author | David 'Digit' Turner <digit+github@google.com> | 2024-03-14 14:29:54 (GMT) |
---|---|---|
committer | David 'Digit' Turner <digit+github@google.com> | 2024-03-14 14:32:48 (GMT) |
commit | 58851eb9eb9c5c177cf299deb4c03efea00d2051 (patch) | |
tree | faf4f273bd544623421051d3c64bde3aa28d3012 /.clang-format | |
parent | ab510c7a8cccbea0ea2c82531dc23893b551d55e (diff) | |
download | Ninja-58851eb9eb9c5c177cf299deb4c03efea00d2051.zip Ninja-58851eb9eb9c5c177cf299deb4c03efea00d2051.tar.gz Ninja-58851eb9eb9c5c177cf299deb4c03efea00d2051.tar.bz2 |
Minor fix to output_test.py
Do not use os.chdir() to change the current directory inside
the run() function, as doing this prevents the temporary directory
from being removed.
Moreover, this breaks pytest invocations when adding new regression
test scripts in this directory (as done in other forks).
+ Use dict.pop() to undefine environment variables in `default_env`
dictionary.
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions