commit | 6d1555ddaa5bd6da49b80fbf4b46f88e82e52ebb | [log] [tgz] |
---|---|---|
author | Anthony DiGirolamo <tonymd@google.com> | Thu Jan 20 13:11:53 2022 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 20 22:16:56 2022 +0000 |
tree | b781a4541904955aa96d3e8780387c9795db91ea | |
parent | f6522afd39b8a199d2240c123701fd9a5b9286f3 [diff] |
pw_build: Fix Python Tree Tests There was a problem with this test if the setuptools-scm package was installed inside the Pigweed virtualenv. An exception gets raised if the fake pyproject.toml does not have a valid syntax: tomli.TOMLDecodeError: Expected "=" after a key in a key/value pair The exception doesn't occur if setuptools-scm is not installed. It can't hurt to use valid file contents for these tests so this change does that. Change-Id: I555297a21f42dd41bd962db51a556bcb6d42ed6e Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/80222 Reviewed-by: Joe Ethier <jethier@google.com> Commit-Queue: Anthony DiGirolamo <tonymd@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/