On 9/23/21 02:16, John Snow wrote:
We can drop the sys.path hacking in various places by doing
this. Additionally, by doing it in one place right up top, we can print
interesting warnings in case the environment does not look correct.

If we ever decide to change how the environment is crafted, all of the
"help me find my python packages" goop is all in one place, right in one
function.

Signed-off-by: John Snow <js...@redhat.com>
---
  tests/qemu-iotests/235                    |  2 --
  tests/qemu-iotests/297                    |  6 ------
  tests/qemu-iotests/300                    |  7 +++----
  tests/qemu-iotests/iotests.py             |  2 --
  tests/qemu-iotests/testenv.py             | 14 +++++++++-----
  tests/qemu-iotests/tests/mirror-top-perms |  7 +++----
  6 files changed, 15 insertions(+), 23 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>


Reply via email to