From b8f4209b836fb7a2820edc283e11a8d69cf603b5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 6 Sep 2023 20:58:56 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- unit_test/oci_container_test.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/unit_test/oci_container_test.py b/unit_test/oci_container_test.py index 00f6dcc9b..75e302b0a 100644 --- a/unit_test/oci_container_test.py +++ b/unit_test/oci_container_test.py @@ -86,16 +86,9 @@ def test_environment(container_engine): ) == "1\n" ) + assert container.call(["sh", "-c", "echo $CIBUILDWHEEL"], capture_output=True) == "1\n" assert ( - container.call( - ["sh", "-c", "echo $CIBUILDWHEEL"], capture_output=True - ) - == "1\n" - ) - assert ( - container.call( - ["sh", "-c", "echo $SOURCE_DATE_EPOCH"], capture_output=True - ) + container.call(["sh", "-c", "echo $SOURCE_DATE_EPOCH"], capture_output=True) == "42\n" )